Commit Graph

158 Commits

Author SHA1 Message Date
decentral1se 7ed37547a5
docs: add FIXME [ci skip] 2021-09-06 01:51:04 +02:00
decentral1se d4333c2dc0
refactor: use app getting instead of boilerplate 2021-09-05 23:17:35 +02:00
decentral1se ec40d88134
refactor: centralise app name validation 2021-09-05 22:04:48 +02:00
decentral1se cc249e8187
fix: check for deployment of app before removing
Closes coop-cloud/go-abra#61.

Fix thanks to @knoflook!
2021-09-05 21:54:52 +02:00
decentral1se 273db078b0
fix: bail out if app doesn't exist
Closes coop-cloud/go-abra#67.
Closes coop-cloud/go-abra#69.

Fix lifted from approach in
coop-cloud/go-abra#69. Thanks for
@knoflook!
2021-09-05 21:46:36 +02:00
decentral1se b7742d5e18
refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00
decentral1se c99f0fc908
refactor: recipe validation 2021-09-05 01:55:10 +02:00
decentral1se 317be4cc01
docs: short aliases [ci skip] 2021-09-05 01:34:56 +02:00
decentral1se a3a66ef972
docs: short aliases, short descriptions [ci skip] 2021-09-05 01:21:16 +02:00
decentral1se d5f49594a9
docs: attempt to simplify app/server/recipe CLI docs [ci skip] 2021-09-05 01:01:31 +02:00
decentral1se 0727223009
docs: place <app> in args usage [ci skip] 2021-09-05 00:44:45 +02:00
decentral1se 07a43cb314
refactor: NewClientWithContext -> New, and use server only 2021-09-05 00:41:31 +02:00
decentral1se ff21237a21
refactor: clear up app/recipe usage
See coop-cloud/go-abra#36.
2021-09-05 00:14:27 +02:00
decentral1se e68c7fc71c
fix: respect COMPOSE_FILE when loading compose files
Final part of coop-cloud/go-abra#57.
2021-09-04 22:02:49 +02:00
decentral1se da049ad69a
fix: drop swarmkit/etcd dep
Part of coop-cloud/go-abra#57.
2021-09-04 21:08:14 +02:00
knoflook 836420e369
docs: add app remove description 2021-09-03 14:22:40 +02:00
decentral1se 612fc5a531
feat: final round of hacks for deploy command 2021-09-03 11:46:40 +02:00
decentral1se 92c8e9aab9
fix: pass in stack name when deploying 2021-09-02 19:49:41 +02:00
knoflook c150856a66
fix: app rm quitting when there are no secrets/volumes to remove 2021-09-02 17:52:42 +02:00
decentral1se 063fa66af9
WIP heinous appEnv threading for env var loading 2021-09-01 15:01:20 +02:00
decentral1se 09873b42ce
WIP making a mess for stack deploy 2021-09-01 14:03:39 +02:00
decentral1se ac86912ead
WIP chaos integrate deploy/deploy_composefile
The best in copy/pasta technology.

See https://github.com/docker/cli/tree/master/cli/command/stack/swarm
for more.
2021-09-01 13:08:42 +02:00
Roxie Gibson 45c6be02b1
refactor: check for errors on secret rm 2021-08-31 17:08:25 +01:00
Roxie Gibson 7835c1f91d
fix: defers after checking for err 2021-08-31 16:47:38 +01:00
Roxie Gibson 542e9eea5c
refactor: rm unneeded sprintf 2021-08-31 16:47:16 +01:00
Roxie Gibson 32b2bf245b
refactor: simplfiy for...range loops 2021-08-31 16:17:08 +01:00
Roxie Gibson 3b93f893fd
refactor: fix defer and handle error 2021-08-31 16:02:38 +01:00
decentral1se 57e641689a
feat: add secret generate (untested, moving fast) 2021-08-31 11:59:07 +02:00
decentral1se d68f2f5686
feat: add app secret insert 2021-08-31 10:50:02 +02:00
decentral1se f9ae9c9a56
feat: add app secret rm 2021-08-31 10:31:54 +02:00
decentral1se 15651822f1
feat: implement secret ls
Closes coop-cloud/go-abra#54.
2021-08-30 17:02:08 +02:00
decentral1se 66a8630101
feat: implement undeploy command 2021-08-30 01:36:42 +02:00
decentral1se 440911f983
feat: finish app run command 2021-08-29 21:20:21 +02:00
decentral1se 8cc691ab52
WIP app run command 2021-08-29 18:21:30 +02:00
decentral1se db4908c3ae
feat: add restore command 2021-08-29 16:25:31 +02:00
decentral1se 8651e22441
feat: implement app logs command 2021-08-29 14:13:35 +02:00
decentral1se 45e2442e83
fix: more robust length check 2021-08-29 14:13:07 +02:00
decentral1se 547f785da5
feat: add app cp command 2021-08-29 13:41:29 +02:00
decentral1se acca710a5a
feat: add app config command 2021-08-29 10:45:49 +02:00
decentral1se 8ad51c1fd5
feat: implement check command 2021-08-28 20:13:56 +02:00
decentral1se 3a8296a8fe
feat: implement backup command 2021-08-28 19:10:19 +02:00
decentral1se ff0b0b5ad8
feat: finish ps command 2021-08-28 16:00:16 +02:00
decentral1se de5169ea24
fix: support trimming library is version listing 2021-08-25 14:22:31 +02:00
decentral1se 62ceca798c
refactor: sort output of version command 2021-08-25 14:16:33 +02:00
decentral1se b34acefa21
refactor: support listing unknown versions 2021-08-25 14:06:42 +02:00
decentral1se c5bb680fed
refactor: making app version command async 2021-08-25 13:30:55 +02:00
decentral1se ed11634abf
WIP abra app version <app> implementation 2021-08-25 13:06:49 +02:00
knoflook c3088a5158
refactor: create functions in client for removing and listing volumes 2021-08-17 20:39:07 +02:00
knoflook 5663659d23
feat: initial commit for abra app volume ls/rm 2021-08-17 20:39:06 +02:00
Roxie Gibson 8f9ffa0667
style: correct error formatting ST1005 2021-08-12 14:41:39 +01:00
knoflook cefad74e22
fix: app rm removing secrets and volumes twice 2021-08-12 12:59:11 +02:00
decentral1se a18a9493f2
fix: add missing error handling 2021-08-09 16:17:31 +02:00
decentral1se 36af302d5f
refactor: dangling else, Sprintf formatting, printing 2021-08-06 12:20:14 +02:00
knoflook 6732edf8db
feat: implement app remove
See coop-cloud/go-abra#43.
2021-08-06 12:00:24 +02:00
Roxie Gibson 38d8b51bd5
refactor: moved a lot of flags & added comments
Comments added to fix the golint errors on exported things need comments
2021-08-02 07:36:35 +01:00
Roxie Gibson bb1eb372ef
refactor: stack func to client, mv app to new file
Stack interaction is now under client.

App types and functions moved from env to app under config
2021-08-02 05:51:58 +01:00
Roxie Gibson a3f574a8fa
refactor: app new cmd to be easier to read 2021-08-02 04:18:20 +01:00
Roxie Gibson 30d11f48a7
refactor: break up cli pkg into nice small chunks 2021-08-02 02:10:41 +01:00