Commit Graph

263 Commits

Author SHA1 Message Date
decentral1se 3d1aa55587
Merge commit 'd999ced' into main 2021-12-19 23:24:40 +01:00
Comrade Renovate Bot b603069514 chore(deps): update module github.com/docker/docker to v20.10.12
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2021-12-14 08:01:21 +00:00
Comrade Renovate Bot d999cedd97 chore(deps): update module github.com/docker/cli to v20.10.12
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2021-12-14 08:01:10 +00:00
decentral1se cb32e88cde
fix: support retryable http clients
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#257.
2021-11-22 18:28:18 +01:00
Comrade Renovate Bot 9c3a06a7d9
chore(deps): update module github.com/docker/docker to v20.10.11 2021-11-18 09:49:25 +01:00
Comrade Renovate Bot cdef8b5ea5
chore(deps): update module github.com/docker/cli to v20.10.11 2021-11-18 09:49:25 +01:00
Comrade Renovate Bot cba261b18c
chore(deps): update module github.com/hetznercloud/hcloud-go to v1.33.1 2021-11-18 09:49:25 +01:00
decentral1se 704e773a16
chore(deps): run go mod tidy
continuous-integration/drone Build is passing Details
2021-11-15 09:20:04 +01:00
decentral1se 7143d09fd4
Merge remote-tracking branch 'origin/renovate/main-github.com-docker-cli-20.x' into main 2021-11-15 09:19:40 +01:00
decentral1se 4e76d49c80
Merge remote-tracking branch 'origin/renovate/main-github.com-docker-docker-20.x' into main 2021-11-15 09:19:30 +01:00
decentral1se c9dff0c3bd
Merge remote-tracking branch 'origin/renovate/main-github.com-gliderlabs-ssh-0.x' into main 2021-11-15 09:19:19 +01:00
decentral1se e77e72a9e6
Merge remote-tracking branch 'origin/renovate/main-github.com-hetznercloud-hcloud-go-1.x' into main 2021-11-15 09:19:05 +01:00
Comrade Renovate Bot af6f759c92 chore(deps): update module github.com/moby/sys/signal to v0.6.0 2021-11-15 08:16:57 +00:00
Comrade Renovate Bot 034295332c chore(deps): update module github.com/kevinburke/ssh_config to v1 2021-11-15 08:16:33 +00:00
Comrade Renovate Bot dac2489e6d chore(deps): update module github.com/hetznercloud/hcloud-go to v1.33.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2021-11-15 08:01:39 +00:00
Comrade Renovate Bot 7bdc1946a2 chore(deps): update module github.com/gliderlabs/ssh to v0.3.3
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2021-11-15 08:01:30 +00:00
Comrade Renovate Bot 2439643895 chore(deps): update module github.com/docker/docker to v20.10.10
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2021-11-15 08:01:22 +00:00
Comrade Renovate Bot 0876f677d1 chore(deps): update module github.com/docker/cli to v20.10.10
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2021-11-15 08:01:17 +00:00
Comrade Renovate Bot 31dafb3ae4 chore(deps): update module github.com/alecaivazis/survey/v2 to v2.3.2
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2021-11-15 08:01:13 +00:00
decentral1se edb427a7ae
feat: implement host key checking
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
Closes coop-cloud/organising#237.
2021-11-08 15:37:23 +01:00
decentral1se 08aca28d9d
chore: upgrade tagcmp + run mod tidy 2021-11-03 06:29:06 +01:00
decentral1se e37b49201f
fix: use IdleConnTimeout/ConnectTimeout
continuous-integration/drone/push Build is passing Details
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
decentral1se 9a0e12258a
feat: provision docker installation
continuous-integration/drone/push Build is failing Details
2021-10-24 23:15:38 +02:00
decentral1se 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
decentral1se 5261d1a033
chore: drop unused dep [ci skip] 2021-10-21 20:17:48 +02:00
decentral1se 07613f5163
fix: devendor capsul code
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#155.
2021-10-20 17:34:01 +02:00
decentral1se 597b4b586e
WIP: domain listing with Gandi
continuous-integration/drone/push Build is passing Details
Rethinking the interface already.
2021-10-18 22:16:29 +02:00
decentral1se 7ea3df45d4
WIP: dns support via libdns
continuous-integration/drone/push Build is passing Details
2021-10-18 20:35:43 +02:00
decentral1se d1e42752e2
fix: set connection timeouts + clean up bad contexts
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#205.
2021-10-18 10:48:43 +02:00
decentral1se 1dca8a1067
chore: set 1.16 as requirement now
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#201.
2021-10-13 16:55:58 +02:00
knoflook 6db1fdcfba refactor!: recipe upgrade: use new tagcmp version
continuous-integration/drone/push Build is passing Details
2021-10-11 14:43:06 +00:00
decentral1se ff4b978876
fix: only list new versions
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#192.
2021-10-11 01:17:52 +02:00
knoflook 74a70edb03 feat: upgrade an app with no user input with --minor/major/patch flag 2021-10-05 09:55:25 +00:00
decentral1se 6f9120b59c
chore: run mod tidy 2021-09-28 21:27:31 +02:00
knoflook 857d12d23c
feat: print stack traces for errors when debugging
continuous-integration/drone/pr Build is passing Details
2021-09-27 12:24:02 +02:00
decentral1se b1147cd136
feat: add x-platform progress bars for long loads
continuous-integration/drone/push Build is failing Details
Closes coop-cloud/organising#150.
2021-09-22 07:48:17 +02:00
decentral1se f39c8cbe21
fix: use our godotenv fork
continuous-integration/drone/push Build is passing Details
2021-09-09 21:26:10 +02:00
decentral1se 76372bb8cb
chore: update to golang 1.17
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/go-abra#70.
2021-09-07 07:21:52 +02:00
decentral1se f4d8b45859
fix: sort tags in descending order
Update tagcmp dep also.
2021-09-06 12:22:45 +02:00
decentral1se da049ad69a
fix: drop swarmkit/etcd dep
continuous-integration/drone/push Build is passing Details
Part of coop-cloud/go-abra#57.
2021-09-04 21:08:14 +02:00
Roxie Gibson 7dce352366
deps: just updating deps to not err out on my end
continuous-integration/drone/push Build is passing Details
2021-08-31 15:53:50 +01:00
decentral1se 66a8630101
feat: implement undeploy command
continuous-integration/drone/push Build is passing Details
2021-08-30 01:36:42 +02:00
decentral1se 440911f983
feat: finish app run command
continuous-integration/drone/push Build is passing Details
2021-08-29 21:20:21 +02:00
Roxie Gibson 451c3d772d
docs: updated go env steps fo install our pgks
continuous-integration/drone/push Build is passing Details
2021-08-13 13:23:54 +01:00
Roxie Gibson 98ec23761f
refactor: de-vendor tagcmp into its own repo 2021-08-13 12:49:46 +01:00
decentral1se 532bb8a336
WIP: recipe lint command 2021-08-03 19:25:32 +02:00
Roxie Gibson 239c925d66
WIP: foundations for app deploy 2021-08-03 08:49:16 +01:00
Roxie Gibson c2f53e493e
deps: upgraded hcloud-go to direct dep 2021-08-02 01:10:19 +01:00
decentral1se d74b7636a1
WIP make a start on the hetzner command 2021-08-02 01:54:16 +02:00
decentral1se bf7de84c66
chore: upgrade godotenv fork for multiline support
Also ran `go mod tidy`.
2021-07-31 19:03:31 +02:00
decentral1se 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
Roxie Gibson ac6b8ab147
chore(deps): upgrade containerd 1.5.3 -> 1.5.5 2021-07-30 16:34:06 +01:00
decentral1se 064a0f271f
WIP: further process on app new command 2021-07-30 13:16:28 +02:00
decentral1se 13028db287
chore: go mod tidy for new deps (go-git) 2021-07-26 15:38:33 +02:00
decentral1se 359b07b562
WIP: recipe create 2021-07-25 00:07:35 +02:00
Roxie Gibson 0242dfcb0f
fix: multiline vars can now be read using fork
continuous-integration/drone/push Build is passing Details
2021-07-21 12:05:50 +01:00
Roxie Gibson f7059dbe98
refactor: filesystem io 2021-07-19 07:04:37 +01:00
Roxie Gibson 38f610bdec
feat: abra server ls
continuous-integration/drone/push Build is passing Details
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
Roxie Gibson b9e06f2310
feat: added util formatting for the cil 2021-07-17 09:27:52 +01:00
Roxie Gibson ae68f3aa95
chore: go mod tidy for dependancy
continuous-integration/drone/push Build is passing Details
2021-07-17 04:35:43 +01:00
Roxie Gibson 5e1b076bf9
feat: very basic context management
continuous-integration/drone/push Build is passing Details
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
Roxie Gibson 881ccfd820
chore: added libs i plan to use in future 2021-07-15 08:06:12 +01:00
Roxie Gibson 9e52e9f676
Initial Commit
Added some cli commands
2021-07-13 22:34:32 +01:00