282 Commits

Author SHA1 Message Date
d789830ce4 feat: adds --since flag for abra app logs 2023-02-14 00:19:38 +01:00
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
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
6774893412 add env ENABLE_AUTO_UPDATE as label to enable/disable the auto update process 2023-01-31 16:12:02 +01:00
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
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
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
c47aa49373
fix: improved missing context message 2023-01-24 10:48:53 +01:00
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
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
521570224b
Merge branch 'filter-servers-by-recipe' 2023-01-23 09:33:31 +01:00
49865c6a97 feat: app services command
Closes coop-cloud/organising#372
2023-01-23 08:25:17 +00:00
a694c8c20e
feat: filter server by recipe
Closes coop-cloud/organising#363
2023-01-23 00:54:22 +01:00
d4a42d8378
fix: error out if no backup configs found 2023-01-22 18:50:45 +01:00
e16ca45fa7
fix!: better backup file names
Closes coop-cloud/organising#366
2023-01-22 18:50:27 +01:00
6fe5aed408
fix!: remove digest handling
Closes coop-cloud/organising#379
2023-01-22 08:54:13 +01:00
3wc
b204b289d1 fix: disable progress bar with machine-readable output 2022-12-16 10:20:51 -08:00
09048ee223 Done did make format 2022-12-05 18:03:13 +00:00
1b28a07e17 Minor stylistic improvements to MR output in list. 2022-12-05 18:03:13 +00:00
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
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
9591e91ed6 feat(cmd): make env variables accessible for local abra.sh commands 2022-11-10 11:12:35 +00:00
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
3b8893502a
docs: re-word on docstrings [ci skip] 2022-05-13 16:44:49 +02:00
16fe1b68c6
fix: thread app name & stack name correctly 2022-05-10 12:10:36 +02:00
5721b357a2
fix: per service logs 2022-04-21 15:40:23 +02:00
a1190f1352
fix: show which service is getting backed up [ci skip] 2022-04-19 13:50:23 +02:00
e421922f5b
fix: restore uses absolute paths & better docs 2022-04-19 13:21:12 +02:00
10d5705d1a
docs: better backup docs 2022-04-19 13:20:48 +02:00
a4f1634b24
fix: backups get gzip, absolute paths, single archive file 2022-04-19 12:52:30 +02:00
b27acb2f61
feat: backup/restore [ci skip]
See coop-cloud/organising#30.
2022-04-03 18:24:09 +02: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
e8e41850b5
fix: pass args to local function invocations too 2022-03-30 11:31:16 +02:00
0e23ec53d7
refactor!: simple validation only 2022-03-30 11:30:51 +02:00
b943a8b9b1
feat: allow choosing user on remote commands 2022-03-30 11:30:36 +02:00
860f1d6376 feat: bring back scripts interface
See coop-cloud/organising#301.
2022-03-27 19:30:48 +00:00
2122f0e67c fix: avoid short command alias conflicts 2022-03-27 19:30:48 +00:00
6aa23a76a1 fix: more precise filtering
Closes coop-cloud/organising#305.
2022-03-27 19:30:36 +00:00
7f315315f0
fix: better prompts & matching for secret removal 2022-03-13 10:59:19 +01:00
6a50981120
fix: match on generation of single secret 2022-03-13 10:50:35 +01:00
c67471e6ca
fix: show which secret was generated 2022-03-13 10:45:08 +01:00
f0fc1027e5
feat: more info on volumes. skip driver info 2022-03-12 17:11:05 +01:00
f39e186b66
fix: match Force/NoInput where needed 2022-03-12 16:15:20 +01:00
a8f35bdf2f
fix: handle NoInput for volume removal 2022-03-12 16:09:05 +01:00
6e1e02ac28
chore: use same flag docs style 2022-03-12 16:08:44 +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
a9b522719f
fix: use name not stack name for pass storage 2022-03-12 16:01:31 +01:00
ce70932a1c
feat: single char short flag for volumes removal 2022-03-12 16:01:14 +01:00
d61e104536
fix: look at removal flag for pass logic 2022-03-12 15:48:43 +01:00