Commit Graph

146 Commits

Author SHA1 Message Date
decentral1se 454ee696d6
fix: make ps a bit more useful and less verbose 2021-10-14 11:36:03 +02:00
decentral1se ca16c002ba
docs: add more description for versions command 2021-10-14 11:32:32 +02:00
decentral1se 91cc8b00b3
fix: avoid alias conflict 2021-10-14 11:32:25 +02:00
decentral1se d0828c4d8d
fix: teach app version command to read new versions 2021-10-14 11:29:57 +02:00
decentral1se b69aed3bcf
feat: add rollback command
Closes coop-cloud/organising#127.
2021-10-14 01:52:55 +02:00
decentral1se 875255fd8c
feat: add upgrade command 2021-10-14 01:23:04 +02:00
decentral1se 2dca602c0b
fix: error handling in deploy 2021-10-14 01:22:54 +02:00
decentral1se 37022bf0c8
feat: make deploy only deploy
See coop-cloud/organising#127.
2021-10-13 16:51:04 +02:00
decentral1se d804276cf2
feat: add pre-deploy overview 2021-10-12 13:25:23 +02:00
decentral1se ca3c5fef0f
refactor: better wording [ci skip] 2021-10-12 08:49:38 +02:00
decentral1se 4a01e411be
refactor: handle STACK_NAME override in one place 2021-10-12 01:14:14 +02:00
decentral1se 777d49ac1d
fix: handle STACK_NAME for the ps command 2021-10-12 01:11:34 +02:00
decentral1se ff4b978876
fix: only list new versions
Closes coop-cloud/organising#192.
2021-10-11 01:17:52 +02:00
decentral1se c764243f3a
fix: manage multiple version showing edge cases 2021-10-08 10:50:48 +02:00
decentral1se dde8afcd43
feat: support version/upgrade listing
Closes coop-cloud/organising#130.
2021-10-08 09:51:47 +02:00
decentral1se e9113500d8
feat: allow to override STACK_NAME 2021-10-05 20:40:16 +02:00
decentral1se 6f43778691
fix: better UI/UX for app creation
Closes coop-cloud/organising#145.
2021-09-22 08:59:00 +02:00
decentral1se 9783563fa6
fix: drop version checking while churning 2021-09-22 08:47:49 +02:00
decentral1se fdd46a4d98
chore: run formatter 2021-09-17 07:38:38 +02:00
3wc 754fe81e01 feat: add templating during `.. app new`
Closes coop-cloud/organising#168
2021-09-16 15:09:35 +02:00
decentral1se bece2e8351
fix: recovering debug logging [ci skip]
Follows 31edbbd32e.
2021-09-16 13:10:17 +02:00
Roxie Gibson 31edbbd32e
fix: git metadata not removed in merge 2021-09-16 11:35:18 +01:00
Roxie Gibson 0a1c73bf00
refactor: use cli context vs creating new one 2021-09-16 11:21:38 +01:00
decentral1se f87aad4688
fix: list all servers
Closes coop-cloud/organising#166.
2021-09-16 09:26:12 +02:00
decentral1se 6794236b77
feat: support service completion
Closes coop-cloud/organising#165.
2021-09-16 09:10:05 +02:00
decentral1se 66aeeee768
fix: completion doesn't fail silently now
Closes coop-cloud/organising#161.
2021-09-16 08:45:38 +02:00
decentral1se 59c55c0a2f
fix: add complete for app run command 2021-09-11 11:51:25 +02:00
decentral1se 9fcdc45851
feat: debug logging
Closes coop-cloud/organising#164.
2021-09-11 11:45:26 +02:00
decentral1se 3c3d8dc0e7
WIP: add first run at app rollback command
See coop-cloud/organising#146.
2021-09-10 11:49:29 +02:00
decentral1se 855e9ea26d
fix: dont output secrets table if nothing there
See coop-cloud/organising#162.
2021-09-10 10:36:46 +02:00
decentral1se 50d663ff6e
fix: use correct var for storing server var
See coop-cloud/organising#162.
2021-09-10 10:36:39 +02:00
decentral1se 39ad6e8aa8
fix: use recipeName instead of recipe.Name
This provides a correctly formatted recipe name for machine reading
(i.e. with `-` and such) instead of the more human readable version
(i.e. with spaces).

Closes coop-cloud/organising#162.
2021-09-10 09:56:58 +02:00
knoflook 511619722f
feat: autocomplete recipe names for more abra commands 2021-09-08 13:59:55 +02:00
knoflook cf2653fef8
refactor: drop unused function, rename GetAppsNames 2021-09-08 13:43:55 +02:00
knoflook 4c216fdf40
feat: auto-complete app and recipe names 2021-09-07 16:57:39 +02:00
decentral1se a06870f5cb
fix: generating secrets works again again
Closes coop-cloud/go-abra#68.
2021-09-07 08:28:20 +02:00
decentral1se b477bf8ece
fix: get app new working again 2021-09-07 08:12:37 +02:00
decentral1se 8aaedee39e
fix: use new RecipeMeta struct 2021-09-06 12:24:23 +02:00
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