817 Commits

Author SHA1 Message Date
decentral1se f3ded88ed8 fix: app version includes tags, sorts & tests
See coop-cloud/organising#442
2023-09-24 11:19:27 +02:00
decentral1se bf648eeb5d fix: recipe versions sorts, aligns & spaces 2023-09-24 11:18:26 +02:00
decentral1se 533edbf172 fix: recipe versions lists correctly (also -m) 2023-09-24 10:56:02 +02:00
decentral1se 510ce66570 feat: version arguments, local tag lookups & release notes
See:
* coop-cloud/organising#441
* coop-cloud/organising#204
* coop-cloud/organising#493
2023-09-23 09:15:27 +02:00
decentral1se 79b9cc9be7 fix: --offline/--chaos handlings for backup/check/cmd/restore 2023-09-22 09:47:36 +02:00
decentral1se 76035e003e fix: recipe workflow with integration tests 2023-09-21 10:36:53 +02:00
decentral1se b708382d26 feat: recipe lint supports --chaos 2023-09-21 09:07:00 +02:00
decentral1se 557b670fc5 docs: improve recipe fetch usage/desc [ci skip] 2023-09-21 08:46:33 +02:00
decentral1se 0be532692d test: moar integration tests [ci skip] 2023-09-20 13:51:06 +02:00
decentral1se ab7edd2a62 refactor!: drop "record" & "server new" command
These were alpha prototypes and we'll reconsider once other layers of
Abra are more stable.
2023-09-14 16:45:01 +02:00
decentral1se b3bd058962 chore: don't join if nothing to join 2023-09-05 09:58:13 +00:00
decentral1se b4fd7fd77c fix: clone catalogue on initial run 2023-09-05 09:58:13 +00:00
decentral1se 64cfdae6b7 fix: only load client if creating secrets 2023-09-05 09:58:13 +00:00
decentral1se 63d419caae Merge branch 'fix-478' 2023-08-02 10:48:46 +02:00
decentral1se 8bb98ed0ed fix: deploy fresh recipe without versions
See coop-cloud/organising#476
2023-08-01 21:47:34 +02:00
decentral1se 23f5745cb8 fix: skip recipe clone / up to date sync for some commands
Continues work of 3dc5662821.
2023-08-01 21:19:20 +02:00
decentral1se 3dc5662821 fix: improved offline support
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
decentral1se a7f1af7476 refactor: drop internal deploy package 2023-07-25 18:03:37 +02:00
decentral1se 949510d4c3 revert: always clone latest recipe changes
This change was about trying to optimise for offline scenarios but
caused a lot of issues for the online case. It needs to be thought
through again.

See coop-cloud/organising#471.

Closes coop-cloud/organising#432.
2023-07-25 15:05:01 +00:00
decentral1se 9f478dac1d fix: list downgrades/upgrades in correct order
Now that we have correct sorting of versions:

  coop-cloud/organising#427

We don't need to reverse sort. Only for showing prompts when the
latest should be the first. Otherwise, logic can follow the sorted
order, the last item in the list is the latest upgrade.

Related:

  coop-cloud/organising#444

Also fix `upgrade` to actually show the latest version
2023-07-25 15:08:32 +02:00
decentral1se 69f38ea445 fix: always show overview, even with -f
coop-cloud/organising#444
2023-07-25 15:08:10 +02:00
decentral1se bdeeb75973 fix: upgrade force logic parity with deploy force logic
coop-cloud/organising#444 (comment)
2023-07-25 15:06:50 +02:00
rix 10f60fee1d Replace deprecated system.TempFileSequential with os.CreateTemp 2023-07-15 08:15:46 +00:00
rix 6025ab443f Update volume list options. 2023-07-15 08:15:46 +00:00
knoflook 6974681af5 fix: improve error message 2023-05-29 14:57:41 +02:00
cas c5d9d88359 Add some minor tweaks to machine readable pathway in recipe upgrade 2023-04-27 16:45:57 +00:00
cas 87e5909363 Make -m imply -n in recipe/upgrade 2023-04-27 16:45:57 +00:00
cas 152c5d4563 Add machine output for recipe/upgrade
- Normal faff related to calling external libraries with structs thnx go
- Ouputs json now
2023-04-27 16:45:57 +00:00
cas 34b274bc52 recipe/upgrade: Refactor upgradability list to make output easier
For future, we can print the struct as JSON.
2023-04-27 16:45:57 +00:00
cas 62f8103fc2 recipe/upgrade: Add non-interactive mode.
Add support for -n which just outputs the list of compatible tags for each image.
2023-04-27 16:45:57 +00:00
moritz b2739dcdf2 fix(deploy) post deploy cmds 2023-04-18 19:05:46 +02:00
moritz 27cac81830 fix(app): fix app list chaos field
show only the chaos version if the app is a chaos deploy
2023-04-14 18:01:08 +02:00
moritz 31ec322c55 feat(deploy): set timeout via label (!290)
Solves coop-cloud/organising#437

A timeout can be specified globally for a recipe using this label:
`coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}`. This sets the default timeout to 120s. An app specific timeout can be set using the env `TIMEOUT`.

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#290
2023-04-14 14:44:18 +00:00
moritz 18615eaaef Post-deploy abra.sh hooks (!292)
This solves coop-cloud/organising#235

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#292
2023-04-14 14:12:31 +00:00
moritz 9e05000476 fix(kadabra): always pull new recipe version 2023-04-06 17:22:33 +02:00
moritz ee4315adb3 fix(rm): remove volumes correctly during app removal 2023-03-30 13:40:44 +02:00
moritz 9ade250f01 feat(cmd): add --tty flag to run commands from a script 2023-03-29 14:25:08 +02:00
moritz 15a417d9bd fix(list): fix output of chaos + chaos-version merge 2023-03-07 13:46:19 +01:00
moritz edff63b446 Revert "review: change label autoupdate -> auto-update"
This reverts commit 74baa76f5ee5e5dd7b71b1f14be97cc40dfc611b.
2023-03-07 13:24:46 +01:00
moritz d5979436c1 review: merge chaos + chaos_version column 2023-03-07 13:24:46 +01:00
moritz cb33edaac3 review: change label autoupdate -> auto-update 2023-03-07 13:24:46 +01:00
moritz 5428ebf43b review: avoid stackName recalculation 2023-03-07 13:24:46 +01:00
moritz d120299929 feat(list): show autoupdate state 2023-03-07 13:24:46 +01:00
moritz 3753357ef8 feat(list): show chaos status and chaos version 2023-03-07 13:24:46 +01:00
moritz 611430aab2 Set chaos version label for each deployed or upgraded app 2023-03-07 13:24:46 +01:00
moritz e4a89bcc4f fix(kadabra): only warn if a deployed app has no published release 2023-02-28 15:34:27 +01:00
decentral1se 3058178d84 fix: if all servers good, don't show empty table 2023-02-19 10:34:47 +01:00
decentral1se d62c4e3400 refactor: improved logging on pruning 2023-02-19 10:28:18 +01:00
decentral1se 5739758c3a fix: give more time to tear down state [ci skip] 2023-02-17 11:11:28 +01:00
decentral1se a6b5566fa6 refactor: clarify prune scope, not system wide [ci skip] 2023-02-17 11:09:44 +01:00