Commit Graph

47 Commits

Author SHA1 Message Date
decentral1se 0be532692d
test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing Details
2023-09-20 13:51:06 +02:00
decentral1se a7f1af7476
refactor: drop internal deploy package 2023-07-25 18:03:37 +02:00
Moritz b2739dcdf2 fix(deploy) post deploy cmds
continuous-integration/drone/push Build is passing Details
2023-04-18 19:05:46 +02:00
moritz 31ec322c55 feat(deploy): set timeout via label (!290)
continuous-integration/drone/push Build is passing Details
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: #290
2023-04-14 14:44:18 +00:00
moritz 18615eaaef Post-deploy abra.sh hooks (!292)
continuous-integration/drone/push Build is passing Details
This solves coop-cloud/organising#235

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: #292
2023-04-14 14:12:31 +00:00
Moritz 5428ebf43b review: avoid stackName recalculation 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 312b93e794
fix: no gitops on recipe for "app new"
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#408
2023-02-15 00:49:22 +01:00
decentral1se e4b4084dfd
fix: stream logs without hitting git.coopcloud.tech
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
Medium-sized options refactor in here too!

See coop-cloud/organising#292.
2023-02-13 16:46:43 +01:00
decentral1se 0a7fa54759
fix: cant pass client here
continuous-integration/drone/push Build is failing Details
Closes coop-cloud/organising#396
2023-02-02 20:06:49 +01:00
decentral1se 7c1a97be72 refactor!: consolidate SSH handling
continuous-integration/drone/push Build is failing Details
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
continuous-integration/drone/pr Build was killed Details
2023-01-31 16:12:02 +01:00
moritz ebb86391af add a label to signal that a deploy is a chaos deploy (!265)
continuous-integration/drone/push Build is failing Details
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: #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)
continuous-integration/drone/push Build is failing Details
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: #264
2023-01-31 14:35:43 +00:00
moritz ca1ea32c46 Expose all env vars to `app` container. (!263)
continuous-integration/drone/push Build is failing Details
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: #263
2023-01-31 14:13:43 +00:00
decentral1se c72462e0b6
fix: no domain checks if no DOMAIN=... configured
Closes coop-cloud/organising#353
2023-01-23 09:33:12 +01:00
decentral1se c3442354e7
fix: skip dupe ipv4 check, done in EnsureDomainsResolveSameIPv4
continuous-integration/drone/push Build is passing Details
2022-02-14 17:44:15 +01:00
decentral1se c905376472
refactor!: use "config" instead of "compose" [ci skip] 2022-01-27 12:24:33 +01:00
decentral1se d316de218c
feat: include recipe in deploy & friends overview 2022-01-27 12:23:02 +01:00
decentral1se 58e98f490d
refactor!: type -> recipes
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is passing Details
2022-01-27 12:06:32 +01:00
decentral1se e670844b56 refactor!: app name -> domain 2022-01-27 10:33:21 +00:00
decentral1se 0e688f1407
refactor!: migrate to urfave/cli v1
continuous-integration/drone/push Build is passing Details
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
decentral1se 4b7ec6384c
fix: fix chaos mode for deployment
continuous-integration/drone/push Build is passing Details
2022-01-05 19:21:41 +01:00
decentral1se a1cbf21f61
fix: handle "uknown" version on deployment
Fixes pre-deploy overview version listing.
2022-01-03 16:32:03 +01:00
decentral1se 65feda7f1d
fix: dont lookup release notes if no version passed 2022-01-03 16:14:56 +01:00
decentral1se 64e223a810
fix: dont display non-existant release notes if no version 2022-01-03 16:14:44 +01:00
decentral1se a556ca625b
fix: handle StackName / Name correctly 2022-01-01 17:22:19 +01:00
decentral1se 62441acf03
refactor: use SmallSHA 2021-12-30 00:41:21 +01:00
decentral1se b4f48c3c59
feat: show release notes on upgrade
continuous-integration/drone/push Build is passing Details
2021-12-28 02:31:21 +01:00
decentral1se f5d2d3adf6
refactor: formatter gets own package 2021-12-28 01:24:23 +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 06cc5d1cc3
fix: only update when really needed
continuous-integration/drone/push Build is passing Details
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 9b8ff1ddcd
fix: get branch is now more robust 2021-12-24 00:44:44 +01:00
decentral1se a75b01e78a
fix: use app name instead
continuous-integration/drone/push Build is passing Details
2021-12-23 19:34:50 +01:00
decentral1se b72bad955a
feat: no domain checks flag
See coop-cloud/organising#281.
2021-12-21 23:57:20 +01:00
decentral1se ec7223146b
docs: better timeout error 2021-12-21 23:48:32 +01:00
decentral1se 9896c57399
chore: drop ' in messages [ci skip] 2021-11-26 21:34:10 +01:00
decentral1se ef6a9abba9
fix: ensure clean slate for re-deploy
continuous-integration/drone/push Build is passing Details
2021-11-21 14:42:38 +01:00
decentral1se ce57d5ed54
fix: merge messages 2021-11-21 14:42:22 +01:00
decentral1se 304b70639f
fix: only check catalogue once
continuous-integration/drone/push Build is passing Details
2021-11-19 15:50:29 +01:00
decentral1se 9122c0a9b8
fix: ensure domain/server resolve to same ipv4
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#227 (comment).
2021-11-14 22:47:18 +01:00
decentral1se 85ff04202f
fix: ensure ipv4 is present for app deploys
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#227.
2021-11-13 23:04:58 +01:00
decentral1se c227972c12
WIP: make "abra app deploy" callable by code
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#212.
2021-11-03 09:21:15 +01:00