Commit Graph

113 Commits

Author SHA1 Message Date
cf2653fef8 refactor: drop unused function, rename GetAppsNames 2021-09-08 13:43:55 +02:00
4c216fdf40 feat: auto-complete app and recipe names 2021-09-07 16:57:39 +02:00
a06870f5cb fix: generating secrets works again again
Closes coop-cloud/go-abra#68.
2021-09-07 08:28:20 +02:00
b477bf8ece fix: get app new working again 2021-09-07 08:12:37 +02:00
8aaedee39e fix: use new RecipeMeta struct 2021-09-06 12:24:23 +02:00
7ed37547a5 docs: add FIXME [ci skip] 2021-09-06 01:51:04 +02:00
d4333c2dc0 refactor: use app getting instead of boilerplate 2021-09-05 23:17:35 +02:00
ec40d88134 refactor: centralise app name validation 2021-09-05 22:04:48 +02:00
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
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
b7742d5e18 refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00
c99f0fc908 refactor: recipe validation 2021-09-05 01:55:10 +02:00
317be4cc01 docs: short aliases [ci skip] 2021-09-05 01:34:56 +02:00
a3a66ef972 docs: short aliases, short descriptions [ci skip] 2021-09-05 01:21:16 +02:00
d5f49594a9 docs: attempt to simplify app/server/recipe CLI docs [ci skip] 2021-09-05 01:01:31 +02:00
0727223009 docs: place <app> in args usage [ci skip] 2021-09-05 00:44:45 +02:00
07a43cb314 refactor: NewClientWithContext -> New, and use server only 2021-09-05 00:41:31 +02:00
ff21237a21 refactor: clear up app/recipe usage
See coop-cloud/go-abra#36.
2021-09-05 00:14:27 +02:00
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
da049ad69a fix: drop swarmkit/etcd dep
Part of coop-cloud/go-abra#57.
2021-09-04 21:08:14 +02:00
836420e369 docs: add app remove description 2021-09-03 14:22:40 +02:00
612fc5a531 feat: final round of hacks for deploy command 2021-09-03 11:46:40 +02:00
92c8e9aab9 fix: pass in stack name when deploying 2021-09-02 19:49:41 +02:00
c150856a66 fix: app rm quitting when there are no secrets/volumes to remove 2021-09-02 17:52:42 +02:00
063fa66af9 WIP heinous appEnv threading for env var loading 2021-09-01 15:01:20 +02:00
09873b42ce WIP making a mess for stack deploy 2021-09-01 14:03:39 +02:00
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
45c6be02b1 refactor: check for errors on secret rm 2021-08-31 17:08:25 +01:00
7835c1f91d fix: defers after checking for err 2021-08-31 16:47:38 +01:00
542e9eea5c refactor: rm unneeded sprintf 2021-08-31 16:47:16 +01:00
32b2bf245b refactor: simplfiy for...range loops 2021-08-31 16:17:08 +01:00
3b93f893fd refactor: fix defer and handle error 2021-08-31 16:02:38 +01:00
57e641689a feat: add secret generate (untested, moving fast) 2021-08-31 11:59:07 +02:00
d68f2f5686 feat: add app secret insert 2021-08-31 10:50:02 +02:00
f9ae9c9a56 feat: add app secret rm 2021-08-31 10:31:54 +02:00
15651822f1 feat: implement secret ls
Closes coop-cloud/go-abra#54.
2021-08-30 17:02:08 +02:00
66a8630101 feat: implement undeploy command 2021-08-30 01:36:42 +02:00
440911f983 feat: finish app run command 2021-08-29 21:20:21 +02:00
8cc691ab52 WIP app run command 2021-08-29 18:21:30 +02:00
db4908c3ae feat: add restore command 2021-08-29 16:25:31 +02:00
8651e22441 feat: implement app logs command 2021-08-29 14:13:35 +02:00
45e2442e83 fix: more robust length check 2021-08-29 14:13:07 +02:00
547f785da5 feat: add app cp command 2021-08-29 13:41:29 +02:00
acca710a5a feat: add app config command 2021-08-29 10:45:49 +02:00
8ad51c1fd5 feat: implement check command 2021-08-28 20:13:56 +02:00
3a8296a8fe feat: implement backup command 2021-08-28 19:10:19 +02:00
ff0b0b5ad8 feat: finish ps command 2021-08-28 16:00:16 +02:00
de5169ea24 fix: support trimming library is version listing 2021-08-25 14:22:31 +02:00
62ceca798c refactor: sort output of version command 2021-08-25 14:16:33 +02:00
b34acefa21 refactor: support listing unknown versions 2021-08-25 14:06:42 +02:00