From 511a17591ebe766802cb60f7b1ff94780b6925bb Mon Sep 17 00:00:00 2001 From: joshwolf <joshua.wolf@aero.org> Date: Fri, 19 Mar 2021 20:41:00 +0000 Subject: [PATCH] Merge branch 'ci/all-addons-on-tags' into 'master' ensure all addons are also installed on tagged runs (for release purposes) See merge request platform-one/big-bang/bigbang!341 --- scripts/deploy/01_deploy_bigbang.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy/01_deploy_bigbang.sh b/scripts/deploy/01_deploy_bigbang.sh index 7d436401f0..d06829ebd3 100755 --- a/scripts/deploy/01_deploy_bigbang.sh +++ b/scripts/deploy/01_deploy_bigbang.sh @@ -4,8 +4,8 @@ set -ex CI_VALUES_FILE="tests/ci/k3d/values.yaml" -if [[ "${CI_COMMIT_BRANCH}" == "${CI_DEFAULT_BRANCH}" ]]; then - echo "On default branch, enabling all addons" +if [[ "${CI_COMMIT_BRANCH}" == "${CI_DEFAULT_BRANCH}" ]] || [[ ! -z "$CI_COMMIT_TAG" ]]; then + echo "On default branch or tag, enabling all addons" yq e ".addons.*.enabled = "true"" $CI_VALUES_FILE > tmpfile && mv tmpfile $CI_VALUES_FILE else IFS="," -- GitLab