e4b4084dfd
fix: stream logs without hitting git.coopcloud.tech
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Medium-sized options refactor in here too!
See coop-cloud/organising#292 .
2023-02-13 16:46:43 +01:00
0a7fa54759
fix: cant pass client here
...
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#396
2023-02-02 20:06:49 +01:00
7c1a97be72
refactor!: consolidate SSH handling
...
continuous-integration/drone/push Build is failing
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
continuous-integration/drone/pr Build was killed
2023-01-31 16:12:02 +01:00
ebb86391af
add a label to signal that a deploy is a chaos deploy ( !265 )
...
continuous-integration/drone/push Build is failing
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 )
...
continuous-integration/drone/push Build is failing
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 )
...
continuous-integration/drone/push Build is failing
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
continuous-integration/drone/push Build is failing
2023-01-24 10:48:53 +01:00
b4cce7dcf4
fix: better warning if flying < 3.8 compose spec
...
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#350
2023-01-23 18:42:23 +01:00
b089109c94
fix: more robust docker context problem handling
...
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
See coop-cloud/organising#325
See coop-cloud/organising#340
2023-01-23 14:56:34 +01:00
c72462e0b6
fix: no domain checks if no DOMAIN=... configured
...
Closes coop-cloud/organising#353
2023-01-23 09:33:12 +01:00
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
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
42a6818ff4
fix: app cmd parsing, usage & tests
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
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
b27acb2f61
feat: backup/restore [ci skip]
...
continuous-integration/drone/pr Build is passing
See coop-cloud/organising#30 .
2022-04-03 18:24:09 +02:00
4023e6a066
fix: wait until app created to check for secrets
continuous-integration/drone/push Build is failing
2022-03-18 11:10:15 +01:00
1615130929
fix: skip prompt for no passwords
continuous-integration/drone/push Build is passing
2022-03-15 10:54:05 +01:00
b31cb6b866
feat: prompt for secret generation
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#302 .
2022-03-12 16:47:19 +01:00
a9b522719f
fix: use name not stack name for pass storage
2022-03-12 16:01:31 +01:00
42c1450384
refactor!: prefer short flags on release
2022-03-12 15:28:33 +01:00
a2377882f6
refacator!: use single char short flags
2022-03-12 15:27:19 +01:00
e78b395662
feat: new short flag for RC upgrading
2022-03-12 15:24:19 +01:00
3fbd381f55
fix: add pass remove flag & show name is optional
2022-03-12 09:17:24 +01:00
8ccf856110
fix: lay out generated secrets with warning/clarification
2022-03-11 16:39:34 +01:00
3381b8936d
fix: better error handling & proper context deletion for server rm
continuous-integration/drone/push Build is passing
2022-02-24 15:57:52 +01:00
823f869f1d
fix: error out correctly from ValidateDomain
2022-02-24 15:57:40 +01:00
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
5da4afa0ec
fix: only ensure latest after cloning
continuous-integration/drone/push Build is passing
2022-02-18 09:55:07 +01:00
c3442354e7
fix: skip dupe ipv4 check, done in EnsureDomainsResolveSameIPv4
continuous-integration/drone/push Build is passing
2022-02-14 17:44:15 +01:00
b5f23d3791
feat: show latest published version on sync
continuous-integration/drone/push Build is passing
2022-02-09 08:58:20 +00:00
2b2dcc01b4
fix: dont checkout latest if we dont have a copy
continuous-integration/drone/push Build is passing
2022-02-09 09:54:02 +01:00
227c02cd09
refactor!: make common flags single char again
continuous-integration/drone/push Build is passing
2022-02-03 14:19:51 +01:00
bfeda40e34
fix: catch more ssh failure modes with help
continuous-integration/drone/push Build is passing
2022-02-03 13:43:11 +01:00
dfb32cbb68
fix: type -> recipe [ci skip]
2022-02-02 20:48:12 +01:00
bdd9b0a1aa
fix: ensure recipes on latest for lint/generate
...
continuous-integration/drone/push Build is passing
Follows b2d17a1829c5415c4700cf5da85144af4de87162.
2022-01-29 14:06:25 +01:00
b2d17a1829
fix: ensure latest checked out for recipe upgrade
continuous-integration/drone/push Build is passing
2022-01-29 13:35:42 +01:00
c905376472
refactor!: use "config" instead of "compose" [ci skip]
2022-01-27 12:24:33 +01:00
d316de218c
feat: include recipe in deploy & friends overview
2022-01-27 12:23:02 +01:00
58e98f490d
refactor!: type -> recipes
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-01-27 12:06:32 +01:00
c0c3d9fe76
refactor!: make dry-run flag more convenient
2022-01-27 12:05:19 +01:00
2493921ade
refactor!: de-duplicate record flags
2022-01-27 12:05:19 +01:00
22f9cf2be4
refactor: remove unused flag
2022-01-27 12:05:18 +01:00
a23124aede
feat: auto strip domain names to avoid runtime limits
continuous-integration/drone/push Build is passing
2022-01-27 10:33:21 +00:00
e670844b56
refactor!: app name -> domain
2022-01-27 10:33:21 +00:00
9f2bb3f74f
refactor!: remove auto dns, too magic, too broken
2022-01-19 11:20:51 +01:00
f9a2c1d58f
refactor: put StripTagMeta into formatter package
...
Avoid circular import.
2022-01-19 10:40:14 +01:00
7a66a90ecb
fix!: change dry-run alias to not conflict with debug
2022-01-18 17:13:28 +01:00
0e688f1407
refactor!: migrate to urfave/cli v1
...
continuous-integration/drone/push Build is passing
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
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
2f4f288a46
feat: -a/--all-tags for listing all tags on recipe upgrade
2022-01-17 21:59:31 +01:00