282 Commits

Author SHA1 Message Date
philippr d789830ce4 feat: adds --since flag for abra app logs 2023-02-14 00:19:38 +01:00
decentral1se e4b4084dfd fix: stream logs without hitting git.coopcloud.tech
Medium-sized options refactor in here too!

See coop-cloud/organising#292.
2023-02-13 16:46:43 +01:00
decentral1se 7c1a97be72 refactor!: consolidate SSH handling
Closes coop-cloud/organising#389.
Closes coop-cloud/organising#341.
Closes coop-cloud/organising#326.
Closes coop-cloud/organising#380.
Closes coop-cloud/organising#360.
2023-02-02 08:37:14 +00:00
moritz 6774893412 add env ENABLE_AUTO_UPDATE as label to enable/disable the auto update process 2023-01-31 16:12:02 +01:00
moritz ebb86391af add a label to signal that a deploy is a chaos deploy (!265)
Resolves coop-cloud/organising#390 by adding the following label `coop-cloud.${STACK_NAME}.chaos=true` (according to the version label).
This is required for the auto updater coop-cloud/organising#236 (comment)

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#265
2023-01-31 15:06:35 +00:00
moritz 50db39424c add a label to signal that a deploy is connected with a recipe (!264)
Resolves coop-cloud/organising#391 by adding the following label `coop-cloud.${STACK_NAME}.recipe=${RECIPE}` (according to the version label).
This is required for the auto updater coop-cloud/organising#236 (comment)

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#264
2023-01-31 14:35:43 +00:00
moritz ca1ea32c46 Expose all env vars to app container. (!263)
Resolves coop-cloud/organising#393 and is required for the auto updater coop-cloud/organising#236 (comment)

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#263
2023-01-31 14:13:43 +00:00
decentral1se c47aa49373 fix: improved missing context message 2023-01-24 10:48:53 +01:00
decentral1se b089109c94 fix: more robust docker context problem handling
See coop-cloud/organising#325
See coop-cloud/organising#340
2023-01-23 14:56:34 +01:00
decentral1se 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
decentral1se 521570224b Merge branch 'filter-servers-by-recipe' 2023-01-23 09:33:31 +01:00
decentral1se 49865c6a97 feat: app services command
Closes coop-cloud/organising#372
2023-01-23 08:25:17 +00:00
decentral1se a694c8c20e feat: filter server by recipe
Closes coop-cloud/organising#363
2023-01-23 00:54:22 +01:00
decentral1se d4a42d8378 fix: error out if no backup configs found 2023-01-22 18:50:45 +01:00
decentral1se e16ca45fa7 fix!: better backup file names
Closes coop-cloud/organising#366
2023-01-22 18:50:27 +01:00
decentral1se 6fe5aed408 fix!: remove digest handling
Closes coop-cloud/organising#379
2023-01-22 08:54:13 +01:00
3wordchant b204b289d1 fix: disable progress bar with machine-readable output 2022-12-16 10:20:51 -08:00
cas 09048ee223 Done did make format 2022-12-05 18:03:13 +00:00
cas 1b28a07e17 Minor stylistic improvements to MR output in list. 2022-12-05 18:03:13 +00:00
cas 82866cd213 Partial implementation of machine readable output.
- Implement global flag for machine readable output.
- Add machine readable output (as JSON) to list command.
2022-12-05 18:03:13 +00:00
moritz 7f745ff19f feat(cmd)!: run abra.sh commands with /bin/bash if available.
BREAKING CHANGE: abra.sh commands that depend on /bin/sh will break

Closes coop-cloud/organising#357.

See coop-cloud/abra#229.
2022-11-15 23:01:57 +01:00
moritz 9591e91ed6 feat(cmd): make env variables accessible for local abra.sh commands 2022-11-10 11:12:35 +00:00
decentral1se 42a6818ff4 fix: app cmd parsing, usage & tests
Note: the integration tests don't work due to ValidateApp still
attempting to validate the host key for the test app which doesn't
exist. This will be fixed in a future commit.
2022-08-14 16:18:58 +02:00
decentral1se 3b8893502a docs: re-word on docstrings [ci skip] 2022-05-13 16:44:49 +02:00
decentral1se 16fe1b68c6 fix: thread app name & stack name correctly 2022-05-10 12:10:36 +02:00
knoflook 5721b357a2 fix: per service logs 2022-04-21 15:40:23 +02:00
decentral1se a1190f1352 fix: show which service is getting backed up [ci skip] 2022-04-19 13:50:23 +02:00
decentral1se e421922f5b fix: restore uses absolute paths & better docs 2022-04-19 13:21:12 +02:00
decentral1se 10d5705d1a docs: better backup docs 2022-04-19 13:20:48 +02:00
decentral1se a4f1634b24 fix: backups get gzip, absolute paths, single archive file 2022-04-19 12:52:30 +02:00
decentral1se b27acb2f61 feat: backup/restore [ci skip]
See coop-cloud/organising#30.
2022-04-03 18:24:09 +02:00
decentral1se 323f4467c8 fix: filtering requires case-by-case handling
See https://github.com/moby/moby/issues/32985.
2022-03-30 16:25:38 +02:00
decentral1se e8e41850b5 fix: pass args to local function invocations too 2022-03-30 11:31:16 +02:00
decentral1se 0e23ec53d7 refactor!: simple validation only 2022-03-30 11:30:51 +02:00
decentral1se b943a8b9b1 feat: allow choosing user on remote commands 2022-03-30 11:30:36 +02:00
decentral1se 860f1d6376 feat: bring back scripts interface
See coop-cloud/organising#301.
2022-03-27 19:30:48 +00:00
decentral1se 2122f0e67c fix: avoid short command alias conflicts 2022-03-27 19:30:48 +00:00
decentral1se 6aa23a76a1 fix: more precise filtering
Closes coop-cloud/organising#305.
2022-03-27 19:30:36 +00:00
decentral1se 7f315315f0 fix: better prompts & matching for secret removal 2022-03-13 10:59:19 +01:00
decentral1se 6a50981120 fix: match on generation of single secret 2022-03-13 10:50:35 +01:00
decentral1se c67471e6ca fix: show which secret was generated 2022-03-13 10:45:08 +01:00
decentral1se f0fc1027e5 feat: more info on volumes. skip driver info 2022-03-12 17:11:05 +01:00
decentral1se f39e186b66 fix: match Force/NoInput where needed 2022-03-12 16:15:20 +01:00
decentral1se a8f35bdf2f fix: handle NoInput for volume removal 2022-03-12 16:09:05 +01:00
decentral1se 6e1e02ac28 chore: use same flag docs style 2022-03-12 16:08:44 +01:00
decentral1se 16fc5ee54b fix: can't force remove if it is already deployed 2022-03-12 16:08:26 +01:00
decentral1se 37a1fcc4af fix: delete all secrets if force/noinput 2022-03-12 16:01:42 +01:00
decentral1se a9b522719f fix: use name not stack name for pass storage 2022-03-12 16:01:31 +01:00
decentral1se ce70932a1c feat: single char short flag for volumes removal 2022-03-12 16:01:14 +01:00
decentral1se d61e104536 fix: look at removal flag for pass logic 2022-03-12 15:48:43 +01:00