4085eb6654
feat: define recipe version inside app env file
2024-07-10 12:11:46 +02:00
790dbca362
feat!: remove all catalogue reads from app commands
2024-07-10 12:06:57 +02:00
b82ac3bd63
refactor: make IsChaos an actual bool
2024-07-09 11:34:01 +02:00
00d60f7114
fix: ensure force upgrade/rollback works
2024-07-09 11:33:33 +02:00
71d93cbbea
refactor: debug logging and errors for version issues
2024-07-09 11:33:07 +02:00
2fb5493ab5
feat: support chaos commits on deploy
...
See coop-cloud/organising#517
2024-07-09 11:31:52 +02:00
0ff8e49cfd
docs: pass on sub-command help
2024-07-09 09:43:18 +02:00
c33ca1c6bc
fix!: chaos consistency (deploy/undeploy/rollback/upgrade)
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#559
--chaos for rollback/upgrade goes away.
2024-07-08 17:23:49 +02:00
87ecc05962
refactor(recipe): remove direct usage of config.RECIPE_DIR
continuous-integration/drone/pr Build is failing
2024-07-08 13:48:02 +02:00
5617a9ba07
refactor(recipe): remove remaining usage of old recipe struct
2024-07-08 13:15:20 +02:00
c1b03bcbd7
refactor(recipe): load load compoes config where its used
2024-07-08 12:31:39 +02:00
99da8d4e57
refactor(recipe): move GetComposeFiles to new struct
2024-07-08 12:06:58 +02:00
01f3f4be17
refactor(recipe): use new recipe.Ensure method
2024-07-08 10:55:55 +02:00
950f85e2b4
refactor(recipe): introduce new recipe struct and move some methods
2024-07-08 10:55:43 +02:00
ef108d63e1
refactor: use central logger
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-07-08 00:01:28 +02:00
0076b31253
new package envfile and move GetComposeFiles to recipe package
continuous-integration/drone/pr Build is failing
2024-07-06 16:37:16 +02:00
f18c642226
refactor: move app files from config to app package
2024-07-06 16:37:16 +02:00
9554ad40c8
refactor: use adapted upstream detach=false logic [ci skip]
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#607 .
2024-07-02 14:52:12 +02:00
85b90ef80c
fix: bail if --chaos and specific version
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#503 .
2023-10-09 20:54:44 +00:00
d02f659bf8
fix: secrets from config, --offline/chaos handling, typos
...
See coop-cloud/organising#464
2023-09-25 10:31:59 +02:00
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
0be532692d
test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing
2023-09-20 13:51:06 +02:00
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
a7f1af7476
refactor: drop internal deploy package
2023-07-25 18:03:37 +02:00
9f478dac1d
fix: list downgrades/upgrades in correct order
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
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
69f38ea445
fix: always show overview, even with -f
...
coop-cloud/organising#444
2023-07-25 15:08:10 +02:00
5428ebf43b
review: avoid stackName recalculation
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
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
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
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
f39e186b66
fix: match Force/NoInput where needed
continuous-integration/drone/push Build is passing
2022-03-12 16:15:20 +01:00
3797292b20
fix: no domain/converge check for deploy/upgrade/rollback
2022-03-12 15:36:43 +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
e670844b56
refactor!: app name -> domain
2022-01-27 10:33:21 +00:00
cb210d0c81
docs: pass on flag/help strings
continuous-integration/drone/push Build is passing
2022-01-19 11:21:06 +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
b69ab0df65
fix: chaos mode fixed for upgrade/rollback
...
continuous-integration/drone/push Build is passing
Follows 4b7ec6384caed62217b672ab22c29dfa9fdced71.
2022-01-06 10:32:24 +01:00
929ff88013
fix: handle missing versions
continuous-integration/drone/push Build is passing
2022-01-01 17:37:34 +01:00
0353427c71
fix: adapt to new unkown version marker
...
Follows 7a0d18ceb6b0b74b892976ee6271a8f30ce530a3.
2022-01-01 17:37:10 +01:00
a556ca625b
fix: handle StackName / Name correctly
2022-01-01 17:22:19 +01:00
b4f48c3c59
feat: show release notes on upgrade
continuous-integration/drone/push Build is passing
2021-12-28 02:31:21 +01:00
43e68a99b0
refactor: reverse list function finally
2021-12-28 02:31:06 +01:00
5cacd09a04
refactor: remove old/non-urgen/resolved FIXMEs
2021-12-28 01:35:40 +01:00
4c186678b8
fix: clone https url by default
...
Catalogue package had to be merged into the recipe package due to too
many circular import errors. Also, use https url for cloning, assume
folks don't have ssh setup by default (the whole reason for the
refactor).
2021-12-27 16:45:56 +01:00
b1d9d9d858
refactor: wording & short options
continuous-integration/drone/push Build is passing
2021-12-27 16:12:29 +01:00
06cc5d1cc3
fix: only update when really needed
continuous-integration/drone/push Build is passing
2021-12-27 04:10:12 +01:00