Commit Graph

45 Commits

Author SHA1 Message Date
dac2489e6d chore(deps): update module github.com/hetznercloud/hcloud-go to v1.33.0
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2021-11-15 08:01:39 +00:00
edb427a7ae
feat: implement host key checking
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#237.
2021-11-08 15:37:23 +01:00
08aca28d9d
chore: upgrade tagcmp + run mod tidy 2021-11-03 06:29:06 +01:00
e37b49201f
fix: use IdleConnTimeout/ConnectTimeout
All checks were successful
continuous-integration/drone/push Build is passing
This is an attempt to set sensible timeouts on abra connections. This
might not be the last word on this but it seems that SSH connections now
bail out correctly and other kinds of commands don't explode (e.g.
logs).

Closes coop-cloud/organising#222.
Closes coop-cloud/organising#218.
2021-11-02 15:49:11 +01:00
9a0e12258a
feat: provision docker installation
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-24 23:15:38 +02:00
313e3beb1e
refactor!: abra server interface more coherent
This follows our app new UX and interactive mode design.
2021-10-22 10:31:33 +02:00
5261d1a033
chore: drop unused dep [ci skip] 2021-10-21 20:17:48 +02:00
07613f5163
fix: devendor capsul code
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#155.
2021-10-20 17:34:01 +02:00
597b4b586e
WIP: domain listing with Gandi
All checks were successful
continuous-integration/drone/push Build is passing
Rethinking the interface already.
2021-10-18 22:16:29 +02:00
7ea3df45d4
WIP: dns support via libdns
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 20:35:43 +02:00
d1e42752e2
fix: set connection timeouts + clean up bad contexts
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#205.
2021-10-18 10:48:43 +02:00
1dca8a1067
chore: set 1.16 as requirement now
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#201.
2021-10-13 16:55:58 +02:00
6db1fdcfba refactor!: recipe upgrade: use new tagcmp version
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-11 14:43:06 +00:00
ff4b978876
fix: only list new versions
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#192.
2021-10-11 01:17:52 +02:00
74a70edb03 feat: upgrade an app with no user input with --minor/major/patch flag 2021-10-05 09:55:25 +00:00
6f9120b59c
chore: run mod tidy 2021-09-28 21:27:31 +02:00
857d12d23c
feat: print stack traces for errors when debugging
All checks were successful
continuous-integration/drone/pr Build is passing
2021-09-27 12:24:02 +02:00
b1147cd136
feat: add x-platform progress bars for long loads
Some checks failed
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#150.
2021-09-22 07:48:17 +02:00
f39c8cbe21
fix: use our godotenv fork
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-09 21:26:10 +02:00
76372bb8cb
chore: update to golang 1.17
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/go-abra#70.
2021-09-07 07:21:52 +02:00
f4d8b45859
fix: sort tags in descending order
Update tagcmp dep also.
2021-09-06 12:22:45 +02:00
da049ad69a
fix: drop swarmkit/etcd dep
All checks were successful
continuous-integration/drone/push Build is passing
Part of coop-cloud/go-abra#57.
2021-09-04 21:08:14 +02:00
7dce352366
deps: just updating deps to not err out on my end
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-31 15:53:50 +01:00
66a8630101
feat: implement undeploy command
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-30 01:36:42 +02:00
440911f983
feat: finish app run command
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-29 21:20:21 +02:00
451c3d772d
docs: updated go env steps fo install our pgks
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-13 13:23:54 +01:00
98ec23761f
refactor: de-vendor tagcmp into its own repo 2021-08-13 12:49:46 +01:00
532bb8a336
WIP: recipe lint command 2021-08-03 19:25:32 +02:00
239c925d66
WIP: foundations for app deploy 2021-08-03 08:49:16 +01:00
c2f53e493e
deps: upgraded hcloud-go to direct dep 2021-08-02 01:10:19 +01:00
d74b7636a1
WIP make a start on the hetzner command 2021-08-02 01:54:16 +02:00
bf7de84c66
chore: upgrade godotenv fork for multiline support
Also ran `go mod tidy`.
2021-07-31 19:03:31 +02:00
932803453e
WIP: still hacking on the app new command
Finally had to fork godotenv because it strips comments and we need
those to parse length values (e.g. "FOO=v1  # length=10") (or in other
words, motivation to move to the YAML format).

There is a new secret module now, with functionality for dealing with
generation and parsing of secrets.

The final output needs some work and there is also the final step of
implementing the sending of secrets to the docker daemon. Coming Soon
™️.
2021-07-31 12:49:22 +02:00
ac6b8ab147
chore(deps): upgrade containerd 1.5.3 -> 1.5.5 2021-07-30 16:34:06 +01:00
064a0f271f
WIP: further process on app new command 2021-07-30 13:16:28 +02:00
13028db287
chore: go mod tidy for new deps (go-git) 2021-07-26 15:38:33 +02:00
359b07b562
WIP: recipe create 2021-07-25 00:07:35 +02:00
0242dfcb0f
fix: multiline vars can now be read using fork
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-21 12:05:50 +01:00
f7059dbe98
refactor: filesystem io 2021-07-19 07:04:37 +01:00
38f610bdec
feat: abra server ls
All checks were successful
continuous-integration/drone/push Build is passing
WE DID IT! The first actual command to be ported.

Code is still a mess in terms of UX but its a milestone!
2021-07-18 04:21:26 +01:00
b9e06f2310
feat: added util formatting for the cil 2021-07-17 09:27:52 +01:00
ae68f3aa95
chore: go mod tidy for dependancy
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-17 04:35:43 +01:00
5e1b076bf9
feat: very basic context management
All checks were successful
continuous-integration/drone/push Build is passing
Taken from this gist by github.com/agbaraka

https://gist.github.com/agbaraka/654a218f8ea13b3da8a47d47595f5d05

There is no in-built way of dealing with contexts using the golang sdk.

This means we have to make our own Dial helper borrowing from Docker CLI

This means all Docker API calls are made within the ssh connection

This uses `docker system dial-stdio`
2021-07-16 09:32:24 +01:00
881ccfd820
chore: added libs i plan to use in future 2021-07-15 08:06:12 +01:00
9e52e9f676
Initial Commit
Added some cli commands
2021-07-13 22:34:32 +01:00