forked from coop-cloud/abra
0
0
Fork 0
Commit Graph

350 Commits

Author SHA1 Message Date
p4u1 ca91abbed9 fix: correct append service name logic in Filters function (!396)
This fixes a regression introduced by #395

Reviewed-on: coop-cloud/abra#396
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2023-12-22 12:08:12 +00:00
p4u1 d4727db8f9 feat: abra app logs shows task errors (!395)
The log command now checks for the ready state in the task list. If it is not ready. It shows the task logs. This might look like this:
```
ERRO[0000] Service abra-test-recipe_default_app: State rejected: No such image: ngaaaax:1.21.0
ERRO[0000] Service abra-test-recipe_default_app: State preparing:
ERRO[0000] Service abra-test-recipe_default_app: State rejected: No such image: ngaaaax:1.21.0
ERRO[0000] Service abra-test-recipe_default_app: State rejected: No such image: ngaaaax:1.21.0
ERRO[0000] Service abra-test-recipe_default_app: State rejected: No such image: ngaaaax:1.21.0
```

Closes coop-cloud/organising#518

Reviewed-on: coop-cloud/abra#395
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2023-12-14 13:15:24 +00:00
p4u1 af8cd1f67a feat: abra release now asks for a release note (!393)
This implements coop-cloud/organising#540 by checking if a`release/next` file exists and if so moves it to `release/<tag>`. When no release notes exists it prompts for them.

Reviewed-on: coop-cloud/abra#393
Reviewed-by: moritz <moritz.m@local-it.org>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2023-12-12 14:46:20 +00:00
test 99e3ed416f fix: secret name generation when secretId is not part of the secret name 2023-12-04 21:52:09 +00:00
p4u1 02b726db02 add comments to better explain how the length modifier gets added to the secret 2023-12-04 17:30:26 +00:00
p4u1 2de6934322 feat: abra app cp enhancements 2023-12-02 15:39:27 +00:00
p4u1 3957b7c965 proper env modifiers support
This implements proper modifier support in the env file using this new fork of the godotenv library. The modifier implementation is quite basic for but can be improved later if needed. See this commit for the actual implementation.

Because we are now using proper modifer parsing, it does not affect the parsing of value, so this is possible again:
```
MY_VAR="#foo"
```
Closes coop-cloud/organising#535
2023-12-01 11:03:52 +00:00
Moritz 0d83339d80 fix(ssh): increase connection timeout #482
see coop-cloud/organising#482
2023-11-30 16:35:53 +01:00
decentral1se 6e54ec7213
test: skip failing test for now
See coop-cloud/organising#535.
2023-11-28 11:42:36 +01:00
p4u1 7b6134f35e add bash completion for abra cmd 2023-11-27 10:01:33 +00:00
knoflook ccf0215495 hotfix: parse values starting with # correctly 2023-10-23 19:21:45 +02:00
decentral1se 254df7f2be
feat: app cmd ls
See coop-cloud/organising#484
2023-10-17 21:16:31 +02:00
decentral1se 6a673ef101
refactor: filter by topic when building catalogue
See coop-cloud/organising#377
2023-10-16 18:42:38 +02:00
decentral1se 7f7f7224c6
feat: diff on release flow
Also, don't commit unstaged files.
2023-10-16 18:31:22 +02:00
decentral1se c249c6ae9c
fix: fix: trim comments that are not modifers
See coop-cloud/organising#505
2023-10-09 14:42:05 +02:00
decentral1se be693e9df0
fix: trim comments that are not modifers
See coop-cloud/organising#505
2023-10-08 22:42:34 +02:00
decentral1se b57edb440a
fix: improve app check
See coop-cloud/organising#446
2023-10-06 10:56:33 +02:00
decentral1se b4fd39828f
test: abra-integration-test-recipe -> abra-test-recipe
See coop-cloud/abra-test-recipe#3
2023-10-05 14:22:11 +02:00
decentral1se 14f2d72aba
refactor!: lowercase, hyphenate keys
This will potentially break scripts, so time to discuss!
2023-10-05 08:36:01 +02:00
decentral1se 47d3b77003
refactor: not generating here, skipping 2023-10-04 15:13:15 +02:00
decentral1se 8078e91e52
fix: warn if secrets not generated
See coop-cloud/organising#499
2023-10-04 15:13:14 +02:00
decentral1se e837835e00
test: remove duplicate call to EnsureCatalogue 2023-10-04 14:05:02 +02:00
decentral1se c646263e9e
fix: validate COMPOSE_FILE
See coop-cloud/organising#468.
See coop-cloud/organising#376.
2023-10-04 13:27:04 +02:00
decentral1se 422c642949 fix: ensure ipv4 is checked, not sometimes ipv6
See coop-cloud/organising#490
2023-10-04 09:29:10 +00:00
decentral1se 379915587c
fix: don't export from within function
Also, don't explode on command function which has "export" in the name!

See coop-cloud/organising#498
2023-10-04 11:20:50 +02:00
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 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
Closes coop-cloud/organising#451
2023-09-21 11:33:45 +02:00
decentral1se 8788558cf1
fix: only sync version label once
Closes coop-cloud/organising#492
2023-09-21 10:58:17 +02:00
decentral1se 0be532692d
test: moar integration tests [ci skip] 2023-09-20 13:51:06 +02:00
decentral1se f8c49c82c8
fix: skip "abra-integration-test-recipe" also 2023-09-18 14:02:38 +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 58e78e4d7c fix: overridable ABRA_DIR 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
See coop-cloud/organising#477
2023-08-13 12:07:37 +00:00
Rich M 2db172ea5a Further changes to messages. 2023-08-04 19:22:48 +00:00
Richard M 2077658f6a Attempt to replace the deploy completed message. 2023-08-04 19:22:48 +00:00
Richard M 502e26b534 Change message when starting to poll for deployment status. 2023-08-04 19:22:48 +00:00
Rich M 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' 2023-08-02 10:48:54 +02:00
decentral1se ebf5d82c56
fix: failover if no recipe meta available 2023-08-02 00:48:27 +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 1e110f1375
docs: wording [ci skip] 2023-07-26 09:58:30 +02:00
decentral1se 3dc5662821
fix: improved offline support
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00