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
0a7fa54759
fix: cant pass client here
...
Closes coop-cloud/organising#396
2023-02-02 20:06:49 +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
b4cce7dcf4
fix: better warning if flying < 3.8 compose spec
...
Closes coop-cloud/organising#350
2023-01-23 18:42:23 +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
c72462e0b6
fix: no domain checks if no DOMAIN=... configured
...
Closes coop-cloud/organising#353
2023-01-23 09:33:12 +01:00
cas
cae0d9ef79
Introduce a JSON output table mechanic
...
- Create JSONTable as a proxy/extension to tablewriter which can also output JSON.
- Implement machine readable output for `server list` and `recipe list`
2023-01-12 21:15:14 +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
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
b27acb2f61
feat: backup/restore [ci skip]
...
See coop-cloud/organising#30 .
2022-04-03 18:24:09 +02:00
decentral1se
4023e6a066
fix: wait until app created to check for secrets
2022-03-18 11:10:15 +01:00
decentral1se
1615130929
fix: skip prompt for no passwords
2022-03-15 10:54:05 +01:00
decentral1se
b31cb6b866
feat: prompt for secret generation
...
Closes coop-cloud/organising#302 .
2022-03-12 16:47:19 +01:00
decentral1se
a9b522719f
fix: use name not stack name for pass storage
2022-03-12 16:01:31 +01:00
decentral1se
42c1450384
refactor!: prefer short flags on release
2022-03-12 15:28:33 +01:00
decentral1se
a2377882f6
refacator!: use single char short flags
2022-03-12 15:27:19 +01:00
decentral1se
e78b395662
feat: new short flag for RC upgrading
2022-03-12 15:24:19 +01:00
decentral1se
3fbd381f55
fix: add pass remove flag & show name is optional
2022-03-12 09:17:24 +01:00
decentral1se
8ccf856110
fix: lay out generated secrets with warning/clarification
2022-03-11 16:39:34 +01:00
decentral1se
3381b8936d
fix: better error handling & proper context deletion for server rm
2022-02-24 15:57:52 +01:00
decentral1se
823f869f1d
fix: error out correctly from ValidateDomain
2022-02-24 15:57:40 +01:00
decentral1se
b295958c17
fix: handle all container registries
...
See coop-cloud/organising#258
This fixes also how we read the digest of the image. I think it was
wrong before. Some registries restrict reading this info and we now just
default to "unknown" for that case.
This also appears to bring a wave of new dependencies due to the generic
handling logic of containers/... package. The abra binary is now 1mb
larger.
The catalogue generation is now slower unfortunately. But it is more
robust.
The generic logic looks in ~/.docker/config.json for log in details, so
you don't have to pass those in manually on the CLI anymore. We just
read those defaults. You can "docker login" to get credentials setup in
that file. Since most folks won't generate the catalogue, this seems
fine for now.
2022-02-21 08:46:30 +00:00
decentral1se
5da4afa0ec
fix: only ensure latest after cloning
2022-02-18 09:55:07 +01:00
decentral1se
c3442354e7
fix: skip dupe ipv4 check, done in EnsureDomainsResolveSameIPv4
2022-02-14 17:44:15 +01:00
decentral1se
b5f23d3791
feat: show latest published version on sync
2022-02-09 08:58:20 +00:00
decentral1se
2b2dcc01b4
fix: dont checkout latest if we dont have a copy
2022-02-09 09:54:02 +01:00
decentral1se
227c02cd09
refactor!: make common flags single char again
2022-02-03 14:19:51 +01:00
decentral1se
bfeda40e34
fix: catch more ssh failure modes with help
2022-02-03 13:43:11 +01:00
decentral1se
dfb32cbb68
fix: type -> recipe [ci skip]
2022-02-02 20:48:12 +01:00
decentral1se
bdd9b0a1aa
fix: ensure recipes on latest for lint/generate
...
Follows b2d17a1829 .
2022-01-29 14:06:25 +01:00
decentral1se
b2d17a1829
fix: ensure latest checked out for recipe upgrade
2022-01-29 13:35:42 +01:00
decentral1se
c905376472
refactor!: use "config" instead of "compose" [ci skip]
2022-01-27 12:24:33 +01:00
decentral1se
d316de218c
feat: include recipe in deploy & friends overview
2022-01-27 12:23:02 +01:00
decentral1se
58e98f490d
refactor!: type -> recipes
2022-01-27 12:06:32 +01:00
decentral1se
c0c3d9fe76
refactor!: make dry-run flag more convenient
2022-01-27 12:05:19 +01:00
decentral1se
2493921ade
refactor!: de-duplicate record flags
2022-01-27 12:05:19 +01:00
decentral1se
22f9cf2be4
refactor: remove unused flag
2022-01-27 12:05:18 +01:00
decentral1se
a23124aede
feat: auto strip domain names to avoid runtime limits
2022-01-27 10:33:21 +00:00
decentral1se
e670844b56
refactor!: app name -> domain
2022-01-27 10:33:21 +00:00
decentral1se
9f2bb3f74f
refactor!: remove auto dns, too magic, too broken
2022-01-19 11:20:51 +01:00
decentral1se
f9a2c1d58f
refactor: put StripTagMeta into formatter package
...
Avoid circular import.
2022-01-19 10:40:14 +01:00
decentral1se
7a66a90ecb
fix!: change dry-run alias to not conflict with debug
2022-01-18 17:13:28 +01:00
decentral1se
0e688f1407
refactor!: migrate to urfave/cli v1
...
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
decentral1se
ca75654769
fix: read correct app file name for secret generation
...
Stack name is only an internal docker concept now.
2022-01-17 22:17:59 +01:00