10e8bf0c7e
feat: abra app logs shows task errors
continuous-integration/drone/pr Build is passing
2023-12-13 09:24:27 +01:00
test
99e3ed416f
fix: secret name generation when secretId is not part of the secret name
continuous-integration/drone/push Build is passing
2023-12-04 21:52:09 +00:00
3957b7c965
proper env modifiers support
...
continuous-integration/drone/push Build is passing
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
c249c6ae9c
fix: fix: trim comments that are not modifers
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#505
2023-10-09 14:42:05 +02:00
c646263e9e
fix: validate COMPOSE_FILE
...
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
See coop-cloud/organising#468 .
See coop-cloud/organising#376 .
2023-10-04 13:27:04 +02:00
970ae0fc4e
test: use _test to avoid cyclic imports
2023-10-04 02:36:44 +02:00
d02f659bf8
fix: secrets from config, --offline/chaos handling, typos
...
See coop-cloud/organising#464
2023-09-25 10:31:59 +02:00
0be532692d
test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing
2023-09-20 13:51:06 +02:00
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
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
cb33edaac3
review: change label autoupdate -> auto-update
2023-03-07 13:24:46 +01:00
e9879e2226
review: label convention chaos_version -> chaos-version
2023-03-07 13:24:46 +01:00
d120299929
feat(list): show autoupdate state
2023-03-07 13:24:46 +01:00
3753357ef8
feat(list): show chaos status and chaos version
2023-03-07 13:24:46 +01:00
611430aab2
Set chaos version label for each deployed or upgraded app
2023-03-07 13:24:46 +01:00
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
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
fadafda0b8
fix: make test suite work again
2023-02-08 11:11:39 +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
76717531bd
resolve PR: include the service info in the log message
continuous-integration/drone/push Build is failing
2023-01-31 16:15:11 +01: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
27e0708ac7
fix: don't delete server dir on cleanup if not empty
...
Part of coop-cloud/organising#325 .
2023-01-23 13:56:27 +01:00
521570224b
Merge branch 'filter-servers-by-recipe'
continuous-integration/drone/push Build is failing
2023-01-23 09:33:31 +01:00
49865c6a97
feat: app services command
...
continuous-integration/drone/push Build was killed
Closes coop-cloud/organising#372
2023-01-23 08:25:17 +00:00
a694c8c20e
feat: filter server by recipe
...
Closes coop-cloud/organising#363
2023-01-23 00:54:22 +01:00
b204b289d1
fix: disable progress bar with machine-readable output
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-16 10:20:51 -08:00
a21d431541
fix: don't panic() 😅
continuous-integration/drone/push Build is passing
2022-11-24 17:33:59 +00:00
8fad34e430
fix: switch back to replacing <recipe>.example.com
...
Fixes #355
2022-11-24 17:33:59 +00:00
323f4467c8
fix: filtering requires case-by-case handling
...
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed
See https://github.com/moby/moby/issues/32985 .
2022-03-30 16:25:38 +02:00
6aa23a76a1
fix: more precise filtering
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#305 .
2022-03-27 19:30:36 +00:00
338360096c
feat: pass domain to new app envs
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#304 .
2022-03-27 21:06:48 +02:00
d3e127e5c8
fix: retain backwards compat with TYPE/RECIPE change
continuous-integration/drone/push Build is passing
2022-03-11 19:37:50 +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
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
fc2d83d203
fix: better error message for missing server
2022-01-17 22:04:11 +01:00
a556ca625b
fix: handle StackName / Name correctly
2022-01-01 17:22:19 +01:00
5cacd09a04
refactor: remove old/non-urgen/resolved FIXMEs
2021-12-28 01:35:40 +01:00
f5d2d3adf6
refactor: formatter gets own package
2021-12-28 01:24:23 +01:00
c5a74e9f6b
fix: template env files too
continuous-integration/drone/push Build is passing
2021-12-26 04:38:34 +01:00
4283f130a2
refactor: apps -> recipes
2021-12-25 14:04:07 +01:00
3b5354b2a5
refactor: less quotes
continuous-integration/drone/push Build is passing
2021-12-25 02:03:09 +01:00
a07e71f7df
fix: grand ssh, provisioning, perms refactor
...
continuous-integration/drone/push Build is failing
See coop-cloud/organising#280 .
See coop-cloud/organising#273 .
2021-12-22 20:08:15 +01:00
8d499c0810
fix: find local only apps
2021-12-20 00:50:09 +01:00
0a903f041f
refactor: less quotes
2021-12-20 00:49:36 +01:00
fa0a63c11d
refactor: ensure type, drop comment
2021-12-19 22:45:08 +01:00
7d8f3f1fab
fix: less loose permissions, less +x
...
Closes coop-cloud/organising#283 .
2021-12-05 01:18:31 +01:00
6f26b51f3e
fix: only check host keys on requested hosts
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#242 .
2021-11-09 17:44:13 +01:00