0
0
forked from toolshed/abra
Commit Graph

48 Commits

Author SHA1 Message Date
d5ac3958a4 feat: add retries to app volume remove 2024-03-27 05:38:24 +00:00
4920dfedb3 fix: retry docker volume remove (!399)
Closes coop-cloud/organising#509

Reviewed-on: coop-cloud/abra#399
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2024-01-19 15:09:00 +00:00
0be532692d test: moar integration tests [ci skip] 2023-09-20 13:51:06 +02:00
3dc5662821 fix: improved offline support
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
6025ab443f Update volume list options. 2023-07-15 08:15:46 +00:00
ee4315adb3 fix(rm): remove volumes correctly during app removal 2023-03-30 13:40:44 +02:00
a93786c6be fix!: make "app rm" more explicit & simpler
We point users to "app volume/secret remove" for more specific deletion
of other app data resources now. The idea is that if you lose the env
file locally, then you can't clean up anything after. So it is handy to
have a sort of WARNING barrier to deleting that file. This flow is the
only way to get Abra to delete your local env file. It now feels more
documented and sufficiently scary in the UI/UX to merit that. Hopefully
addresses the ticket sufficiently.

Closes coop-cloud/organising#335.
2023-01-23 13:29:46 +01:00
323f4467c8 fix: filtering requires case-by-case handling
See https://github.com/moby/moby/issues/32985.
2022-03-30 16:25:38 +02:00
6aa23a76a1 fix: more precise filtering
Closes coop-cloud/organising#305.
2022-03-27 19:30:36 +00:00
f39e186b66 fix: match Force/NoInput where needed 2022-03-12 16:15:20 +01:00
16fc5ee54b fix: can't force remove if it is already deployed 2022-03-12 16:08:26 +01:00
37a1fcc4af fix: delete all secrets if force/noinput 2022-03-12 16:01:42 +01:00
ce70932a1c feat: single char short flag for volumes removal 2022-03-12 16:01:14 +01:00
d0945aa09d fix: handle NoInput for app removal 2022-03-11 16:39:20 +01:00
e670844b56 refactor!: app name -> domain 2022-01-27 10:33:21 +00:00
0e688f1407 refactor!: migrate to urfave/cli v1
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
b22b63c2ba fix: only output if volumes selected for removal 2022-01-05 19:00:09 +01:00
b61b8f0d2a fix: always check for deployed status when removing
You can't delete regardless of -f if an app is deployed, the runtime
will error out. Best just deal with this for all cases then on our side.
2022-01-04 11:38:07 +01:00
763e7b5bff fix: use StackName for querying via Docker 2022-01-04 11:37:45 +01:00
d5ab9aedbf docs: match other abort command outputs 2022-01-04 11:37:35 +01:00
2ebb00c9d4 docs: confirm prompt matches language of command 2022-01-04 11:37:04 +01:00
3b5354b2a5 refactor: less quotes 2021-12-25 02:03:09 +01:00
29a4d05944 fix: more info on multiselect
See coop-cloud/organising#265.
2021-12-22 00:07:49 +01:00
ae6adace50 refactor: autocomplete package 2021-12-12 00:17:39 +01:00
930c29f4a2 fix: switch order of command 2021-11-26 22:24:55 +01:00
1d6c3e98e4 fix: only query deployed app
Closes coop-cloud/organising#266.
2021-11-26 22:24:41 +01:00
dde8afcd43 feat: support version/upgrade listing
Closes coop-cloud/organising#130.
2021-10-08 09:51:47 +02:00
0a1c73bf00 refactor: use cli context vs creating new one 2021-09-16 11:21:38 +01:00
66aeeee768 fix: completion doesn't fail silently now
Closes coop-cloud/organising#161.
2021-09-16 08:45:38 +02:00
9fcdc45851 feat: debug logging
Closes coop-cloud/organising#164.
2021-09-11 11:45:26 +02:00
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
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
b7742d5e18 refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00
317be4cc01 docs: short aliases [ci skip] 2021-09-05 01:34:56 +02:00
07a43cb314 refactor: NewClientWithContext -> New, and use server only 2021-09-05 00:41:31 +02:00
836420e369 docs: add app remove description 2021-09-03 14:22:40 +02:00
c150856a66 fix: app rm quitting when there are no secrets/volumes to remove 2021-09-02 17:52:42 +02:00
8f9ffa0667 style: correct error formatting ST1005 2021-08-12 14:41:39 +01:00
cefad74e22 fix: app rm removing secrets and volumes twice 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
30d11f48a7 refactor: break up cli pkg into nice small chunks 2021-08-02 02:10:41 +01:00