6d4ee3de0d
fix: force flag works for upgrade
continuous-integration/drone/push Build is passing
2021-10-21 11:44:47 +02:00
63318fb6ff
fix: handle chaos mode correctly for deploy
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#210 .
2021-10-21 10:19:30 +02:00
0e5e7490b3
docs: some rewording and clarifying
continuous-integration/drone/push Build is passing
2021-10-20 17:52:54 +02:00
aec1e4520d
fix: handle missing containers
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#198 .
2021-10-19 22:50:43 +02:00
9526d1fde6
fix: ensure we have version checked out on deploy
continuous-integration/drone/push Build is passing
2021-10-18 09:30:43 +02:00
62cc7ef92d
feat: upgrade/downgrade support chaos mode
continuous-integration/drone/push Build is passing
2021-10-18 08:57:25 +02:00
c5a7a831d2
docs: chaos mode flag docs
2021-10-18 08:35:59 +02:00
2f9b11f389
feat: support deploying with chaos mode
continuous-integration/drone/push Build is failing
2021-10-18 08:14:06 +02:00
c1390f232e
fix: show "local" instead of "default"
2021-10-17 23:50:12 +02:00
0615c3f745
fix: support downgrade/upgrade for unknown versions
continuous-integration/drone/push Build is passing
2021-10-15 09:58:45 +02:00
0d500b636d
feat: more info on version changing deployments
continuous-integration/drone/push Build is passing
2021-10-14 13:30:33 +02:00
5dd97cace0
docs: expand deploy/upgrade/downgrade docs
continuous-integration/drone/push Build is passing
2021-10-14 12:26:07 +02:00
113bdf9e86
feat: add stats to app list
continuous-integration/drone/push Build is passing
2021-10-14 12:02:12 +02:00
d4d4da19b7
feat: first steps towards watchable ps output
...
See coop-cloud/organising#178 .
2021-10-14 11:51:40 +02:00
454ee696d6
fix: make ps a bit more useful and less verbose
2021-10-14 11:36:03 +02:00
ca16c002ba
docs: add more description for versions command
2021-10-14 11:32:32 +02:00
91cc8b00b3
fix: avoid alias conflict
2021-10-14 11:32:25 +02:00
d0828c4d8d
fix: teach app version command to read new versions
continuous-integration/drone/push Build is passing
2021-10-14 11:29:57 +02:00
b69aed3bcf
feat: add rollback command
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#127 .
2021-10-14 01:52:55 +02:00
875255fd8c
feat: add upgrade command
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2021-10-14 01:23:04 +02:00
2dca602c0b
fix: error handling in deploy
2021-10-14 01:22:54 +02:00
37022bf0c8
feat: make deploy only deploy
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#127 .
2021-10-13 16:51:04 +02:00
d804276cf2
feat: add pre-deploy overview
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-12 13:25:23 +02:00
ca3c5fef0f
refactor: better wording [ci skip]
2021-10-12 08:49:38 +02:00
4a01e411be
refactor: handle STACK_NAME override in one place
continuous-integration/drone/push Build is passing
2021-10-12 01:14:14 +02:00
777d49ac1d
fix: handle STACK_NAME for the ps command
2021-10-12 01:11:34 +02:00
ff4b978876
fix: only list new versions
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#192 .
2021-10-11 01:17:52 +02:00
c764243f3a
fix: manage multiple version showing edge cases
continuous-integration/drone/push Build is passing
2021-10-08 10:50:48 +02:00
dde8afcd43
feat: support version/upgrade listing
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#130 .
2021-10-08 09:51:47 +02:00
e9113500d8
feat: allow to override STACK_NAME
continuous-integration/drone/push Build is passing
2021-10-05 20:40:16 +02:00
6f43778691
fix: better UI/UX for app creation
...
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#145 .
2021-09-22 08:59:00 +02:00
9783563fa6
fix: drop version checking while churning
2021-09-22 08:47:49 +02:00
fdd46a4d98
chore: run formatter
continuous-integration/drone/push Build is passing
2021-09-17 07:38:38 +02:00
754fe81e01
feat: add templating during .. app new
...
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#168
2021-09-16 15:09:35 +02:00
bece2e8351
fix: recovering debug logging [ci skip]
...
Follows 31edbbd32e
.
2021-09-16 13:10:17 +02:00
31edbbd32e
fix: git metadata not removed in merge
continuous-integration/drone/push Build is passing
2021-09-16 11:35:18 +01:00
0a1c73bf00
refactor: use cli context vs creating new one
continuous-integration/drone/push Build is failing
2021-09-16 11:21:38 +01:00
f87aad4688
fix: list all servers
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#166 .
2021-09-16 09:26:12 +02:00
6794236b77
feat: support service completion
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#165 .
2021-09-16 09:10:05 +02:00
66aeeee768
fix: completion doesn't fail silently now
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#161 .
2021-09-16 08:45:38 +02:00
59c55c0a2f
fix: add complete for app run command
continuous-integration/drone/push Build is failing
2021-09-11 11:51:25 +02:00
9fcdc45851
feat: debug logging
...
Closes coop-cloud/organising#164 .
2021-09-11 11:45:26 +02:00
3c3d8dc0e7
WIP: add first run at app rollback command
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#146 .
2021-09-10 11:49:29 +02:00
855e9ea26d
fix: dont output secrets table if nothing there
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#162 .
2021-09-10 10:36:46 +02:00
50d663ff6e
fix: use correct var for storing server var
...
See coop-cloud/organising#162 .
2021-09-10 10:36:39 +02:00
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
511619722f
feat: autocomplete recipe names for more abra commands
continuous-integration/drone/pr Build is passing
2021-09-08 13:59:55 +02:00
cf2653fef8
refactor: drop unused function, rename GetAppsNames
continuous-integration/drone/pr Build is passing
2021-09-08 13:43:55 +02:00
4c216fdf40
feat: auto-complete app and recipe names
continuous-integration/drone/pr Build is passing
2021-09-07 16:57:39 +02:00
a06870f5cb
fix: generating secrets works again again
...
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is failing
2021-09-05 23:17:35 +02:00
ec40d88134
refactor: centralise app name validation
continuous-integration/drone/push Build is passing
2021-09-05 22:04:48 +02:00
cc249e8187
fix: check for deployment of app before removing
...
continuous-integration/drone/push Build is passing
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
...
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is passing
2021-09-05 00:41:31 +02:00
ff21237a21
refactor: clear up app/recipe usage
...
continuous-integration/drone/push Build is passing
See coop-cloud/go-abra#36 .
2021-09-05 00:14:27 +02:00
e68c7fc71c
fix: respect COMPOSE_FILE when loading compose files
...
continuous-integration/drone/push Build is passing
Final part of coop-cloud/go-abra#57 .
2021-09-04 22:02:49 +02:00
da049ad69a
fix: drop swarmkit/etcd dep
...
continuous-integration/drone/push Build is passing
Part of coop-cloud/go-abra#57 .
2021-09-04 21:08:14 +02:00
836420e369
docs: add app remove description
continuous-integration/drone/pr Build is passing
2021-09-03 14:22:40 +02:00
612fc5a531
feat: final round of hacks for deploy command
continuous-integration/drone/push Build is passing
2021-09-03 11:46:40 +02:00
92c8e9aab9
fix: pass in stack name when deploying
continuous-integration/drone/push Build is passing
2021-09-02 19:49:41 +02:00
c150856a66
fix: app rm quitting when there are no secrets/volumes to remove
continuous-integration/drone/pr Build is passing
2021-09-02 17:52:42 +02:00
063fa66af9
WIP heinous appEnv threading for env var loading
continuous-integration/drone/push Build is passing
2021-09-01 15:01:20 +02:00
09873b42ce
WIP making a mess for stack deploy
continuous-integration/drone/push Build is passing
2021-09-01 14:03:39 +02:00
ac86912ead
WIP chaos integrate deploy/deploy_composefile
...
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is passing
2021-08-31 17:08:25 +01:00
7835c1f91d
fix: defers after checking for err
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is passing
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)
continuous-integration/drone/push Build is passing
2021-08-31 11:59:07 +02:00
d68f2f5686
feat: add app secret insert
continuous-integration/drone/push Build is passing
2021-08-31 10:50:02 +02:00
f9ae9c9a56
feat: add app secret rm
continuous-integration/drone/push Build is passing
2021-08-31 10:31:54 +02:00
15651822f1
feat: implement secret ls
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/go-abra#54 .
2021-08-30 17:02:08 +02:00
66a8630101
feat: implement undeploy command
continuous-integration/drone/push Build is passing
2021-08-30 01:36:42 +02:00
440911f983
feat: finish app run command
continuous-integration/drone/push Build is passing
2021-08-29 21:20:21 +02:00
8cc691ab52
WIP app run command
continuous-integration/drone/push Build is failing
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
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is passing
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
continuous-integration/drone/push Build is passing
2021-08-28 19:10:19 +02:00
ff0b0b5ad8
feat: finish ps command
continuous-integration/drone/push Build was killed
2021-08-28 16:00:16 +02:00
de5169ea24
fix: support trimming library is version listing
continuous-integration/drone/push Build is passing
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
c5bb680fed
refactor: making app version command async
2021-08-25 13:30:55 +02:00
ed11634abf
WIP abra app version <app> implementation
2021-08-25 13:06:49 +02:00
c3088a5158
refactor: create functions in client for removing and listing volumes
continuous-integration/drone/pr Build is passing
2021-08-17 20:39:07 +02:00
5663659d23
feat: initial commit for abra app volume ls/rm
2021-08-17 20:39:06 +02:00
8f9ffa0667
style: correct error formatting ST1005
continuous-integration/drone/push Build is passing
2021-08-12 14:41:39 +01:00
cefad74e22
fix: app rm removing secrets and volumes twice
continuous-integration/drone/pr Build is passing
2021-08-12 12:59:11 +02:00
a18a9493f2
fix: add missing error handling
2021-08-09 16:17:31 +02:00
36af302d5f
refactor: dangling else, Sprintf formatting, printing
2021-08-06 12:20:14 +02:00
6732edf8db
feat: implement app remove
...
See coop-cloud/go-abra#43 .
2021-08-06 12:00:24 +02:00
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
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
a3f574a8fa
refactor: app new cmd to be easier to read
2021-08-02 04:18:20 +01:00
30d11f48a7
refactor: break up cli pkg into nice small chunks
2021-08-02 02:10:41 +01:00