Commit Graph

675 Commits

Author SHA1 Message Date
decentral1se 970ae0fc4e test: use _test to avoid cyclic imports 2023-10-04 02:36:44 +02:00
decentral1se 892f6c0730 test: ensure catalogue is cloned 2023-09-30 08:19:16 +02:00
decentral1se b53fd2689c test: add unit test for TestEnsureDomainsResolveSameIPv4 2023-09-30 08:19:02 +02:00
decentral1se d5b18d74ef fix: use secretId to match secret names in configs
continuous-integration/drone/push Build is passing
2023-09-25 15:51:15 +02:00
decentral1se d02f659bf8 fix: secrets from config, --offline/chaos handling, typos
See coop-cloud/organising#464
2023-09-25 10:31:59 +02:00
decentral1se bf648eeb5d fix: recipe versions sorts, aligns & spaces 2023-09-24 11:18:26 +02:00
decentral1se 82631d9ab1 fix: don't output if not tags 2023-09-23 09:15:17 +02:00
decentral1se 358490e939 refactor: deploy output wording 2023-09-23 09:14:45 +02:00
decentral1se 3d1158a425 fix: don't read TIMEOUT for version= label
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#451
2023-09-21 11:33:45 +02:00
decentral1se 8788558cf1 fix: only sync version label once
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#492
2023-09-21 10:58:17 +02:00
decentral1se 0be532692d test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing
2023-09-20 13:51:06 +02:00
decentral1se f8c49c82c8 fix: skip "abra-integration-test-recipe" also
continuous-integration/drone/push Build is passing
2023-09-18 14:02:38 +02:00
decentral1se ab7edd2a62 refactor!: drop "record" & "server new" command
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
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 58e78e4d7c fix: overridable ABRA_DIR
continuous-integration/drone/push Build is failing
2023-09-05 09:58:13 +00:00
decentral1se 18dc6e9434 feat: support abra testing mode 2023-09-05 09:58:13 +00:00
decentral1se 60c0e55e3d fix: don't specify refs when pulling tags
continuous-integration/drone/push Build is failing
See coop-cloud/organising#477
2023-08-13 12:07:37 +00:00
rix 2db172ea5a Further changes to messages.
continuous-integration/drone/push Build is passing
2023-08-04 19:22:48 +00:00
rix 2077658f6a Attempt to replace the deploy completed message. 2023-08-04 19:22:48 +00:00
rix 502e26b534 Change message when starting to poll for deployment status. 2023-08-04 19:22:48 +00:00
rix e22b692ada Add os hook for interrupt signal while waiting for service to converge. 2023-08-04 19:22:48 +00:00
decentral1se 5ae73f700e Merge branch 'fix-deploy-no-catalogue'
continuous-integration/drone/push Build was killed
2023-08-02 10:48:54 +02:00
decentral1se ebf5d82c56 fix: failover if no recipe meta available
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2023-08-02 00:48:27 +02:00
decentral1se 23f5745cb8 fix: skip recipe clone / up to date sync for some commands
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Continues work of 3dc5662821.
2023-08-01 21:19:20 +02:00
decentral1se 1e110f1375 docs: wording [ci skip] 2023-07-26 09:58:30 +02:00
decentral1se 3dc5662821 fix: improved offline support
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
decentral1se ab64eb2e8d fix: only use git to update local catalogue
See coop-cloud/organising#321.
2023-07-25 21:13:04 +02:00
decentral1se 4f22228aab feat: lint for lightweight tags
See coop-cloud/organising#433
2023-07-25 20:38:29 +02:00
decentral1se 949510d4c3 revert: always clone latest recipe changes
continuous-integration/drone/push Build is failing
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 0582147874 fix: better error message for missing local tag
Aiming to help the following scenario better:

coop-cloud/organising#444 (comment)
2023-07-25 15:07:29 +02:00
rix a7ce71d6cf Fix formatting.
continuous-integration/drone/push Build is passing
2023-07-15 08:15:46 +00:00
rix 43ecf35449 Change CommonOptions (deprecated) to ClientOptions and remove unneeded parameters. 2023-07-15 08:15:46 +00:00
rix 4d2a1065d2 Replace types.volume with new volume type 2023-07-15 08:15:46 +00:00
decentral1se 497ecf476a docs: wording [ci skip] 2023-06-12 00:09:52 +02:00
moritz 049da94629 fix(version): semver version ordering (!293)
continuous-integration/drone/push Build is passing
Solves coop-cloud/organising#427

This fix sorts the recipe versions at the catalogue generation and the versions that are received from the catalogue.

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#293
2023-04-26 06:38:15 +00:00
moritz 31ec322c55 feat(deploy): set timeout via label (!290)
continuous-integration/drone/push Build is passing
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 edff63b446 Revert "review: change label autoupdate -> auto-update"
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
This reverts commit 74baa76f5ee5e5dd7b71b1f14be97cc40dfc611b.
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 e9879e2226 review: label convention chaos_version -> chaos-version 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
decentral1se d62c4e3400 refactor: improved logging on pruning
continuous-integration/drone/push Build is passing
2023-02-19 10:28:18 +01:00
decentral1se 9754c1b2d1 feat: server auto-complete on remove sub-command
continuous-integration/drone/push Build is passing
2023-02-17 10:10:48 +01:00
decentral1se 312b93e794 fix: no gitops on recipe for "app new"
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#408
2023-02-15 00:49:22 +01:00
decentral1se 992e675921 refactor: use passed down conf to decide 2023-02-15 00:35:33 +01:00
decentral1se 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
decentral1se ff58646cfc fix: better error message when network gone 2023-02-13 12:33:00 +01:00
decentral1se eec6469ba1 fix: Change error message to reflect RECIPE -> TYPE
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#409
2023-02-12 16:40:48 +01:00
decentral1se e94f947d20 fix: don't create clients twice per server
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#407
2023-02-12 00:02:59 +01:00
decentral1se cccbe4a2ec fix: typo [ci skip] 2023-02-11 23:53:42 +01:00