Commit Graph

47 Commits

Author SHA1 Message Date
decentral1se 312b93e794
fix: no gitops on recipe for "app new"
Closes coop-cloud/organising#408
2023-02-15 00:49:22 +01:00
decentral1se e4b4084dfd
fix: stream logs without hitting git.coopcloud.tech
Medium-sized options refactor in here too!

See coop-cloud/organising#292.
2023-02-13 16:46:43 +01:00
decentral1se 7c1a97be72 refactor!: consolidate SSH handling
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
Moritz 6774893412 add env ENABLE_AUTO_UPDATE as label to enable/disable the auto update process 2023-01-31 16:12:02 +01:00
moritz ebb86391af add a label to signal that a deploy is a chaos deploy (!265)
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
moritz 50db39424c add a label to signal that a deploy is connected with a recipe (!264)
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
moritz ca1ea32c46 Expose all env vars to `app` container. (!263)
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
decentral1se 3b8893502a
docs: re-word on docstrings [ci skip] 2022-05-13 16:44:49 +02:00
decentral1se f39e186b66
fix: match Force/NoInput where needed 2022-03-12 16:15:20 +01:00
decentral1se 3797292b20
fix: no domain/converge check for deploy/upgrade/rollback 2022-03-12 15:36:43 +01:00
decentral1se fc5107865b
fix: typo 2022-02-10 10:59:19 +01:00
decentral1se 58e98f490d
refactor!: type -> recipes 2022-01-27 12:06:32 +01:00
decentral1se e670844b56 refactor!: app name -> domain 2022-01-27 10:33:21 +00:00
decentral1se cb210d0c81
docs: pass on flag/help strings 2022-01-19 11:21:06 +01:00
decentral1se 0e688f1407
refactor!: migrate to urfave/cli v1
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
decentral1se b69ab0df65
fix: chaos mode fixed for upgrade/rollback
Follows 4b7ec6384c.
2022-01-06 10:32:24 +01:00
decentral1se bd1da39374
fix: show latest version when up-to-date 2022-01-03 16:31:30 +01:00
decentral1se 0353427c71
fix: adapt to new unkown version marker
Follows 7a0d18ceb6.
2022-01-01 17:37:10 +01:00
decentral1se a556ca625b
fix: handle StackName / Name correctly 2022-01-01 17:22:19 +01:00
decentral1se b4f48c3c59
feat: show release notes on upgrade 2021-12-28 02:31:21 +01:00
decentral1se 43e68a99b0
refactor: reverse list function finally 2021-12-28 02:31:06 +01:00
decentral1se bac6fb0fa8
docs: better wording 2021-12-28 02:01:50 +01:00
decentral1se dc9c9715ce
fix: remove duplication 2021-12-28 02:01:43 +01:00
decentral1se 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
decentral1se b1d9d9d858
refactor: wording & short options 2021-12-27 16:12:29 +01:00
decentral1se 06cc5d1cc3
fix: only update when really needed 2021-12-27 04:10:12 +01:00
decentral1se 9a1cf258a5
fix: check published version properly
Resulted in a refactor to a new lint package.
2021-12-26 00:00:19 +01:00
decentral1se 8735a8f0ea
feat: lint before deploy/upgrade/rollback
See coop-cloud/organising#254.
2021-12-25 23:35:45 +01:00
decentral1se 4283f130a2
refactor: apps -> recipes 2021-12-25 14:04:07 +01:00
decentral1se ab8db8df64
feat: deploy --no-converge-checks & finish app errors 2021-12-24 02:23:46 +01:00
decentral1se ef4383209e
fix: handle more appropriately 2021-12-22 01:18:16 +01:00
decentral1se b72bad955a
feat: no domain checks flag
See coop-cloud/organising#281.
2021-12-21 23:57:20 +01:00
decentral1se e9b4541c91
fix: better explanation 2021-12-21 23:50:28 +01:00
decentral1se 5b1b16d64a
refactor: less quotes 2021-12-21 23:48:46 +01:00
decentral1se ec7223146b
docs: better timeout error 2021-12-21 23:48:32 +01:00
decentral1se ae6adace50
refactor: autocomplete package 2021-12-12 00:17:39 +01:00
decentral1se 304b70639f
fix: only check catalogue once 2021-11-19 15:50:29 +01:00
decentral1se c227972c12
WIP: make "abra app deploy" callable by code
Closes coop-cloud/organising#212.
2021-11-03 09:21:15 +01:00
decentral1se dc04cf5ff7
chore: migrate all upstream code to own dir 2021-10-21 19:35:13 +02:00
decentral1se 6d4ee3de0d
fix: force flag works for upgrade 2021-10-21 11:44:47 +02:00
decentral1se 62cc7ef92d
feat: upgrade/downgrade support chaos mode 2021-10-18 08:57:25 +02:00
decentral1se c5a7a831d2
docs: chaos mode flag docs 2021-10-18 08:35:59 +02:00
decentral1se 0615c3f745
fix: support downgrade/upgrade for unknown versions 2021-10-15 09:58:45 +02:00
decentral1se 0d500b636d
feat: more info on version changing deployments 2021-10-14 13:30:33 +02:00
decentral1se 5dd97cace0
docs: expand deploy/upgrade/downgrade docs 2021-10-14 12:26:07 +02:00
decentral1se b69aed3bcf
feat: add rollback command
Closes coop-cloud/organising#127.
2021-10-14 01:52:55 +02:00
decentral1se 875255fd8c
feat: add upgrade command 2021-10-14 01:23:04 +02:00