UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 8c0f572c authored by Jordan Olachea's avatar Jordan Olachea Committed by Micah Nagel
Browse files

Added all-packages code to /scripts/deploy/01_deploy_bigbang.sh

parent 45e5245e
No related branches found
No related tags found
1 merge request!656Added all-packages code to /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}" ]] || [[ ! -z "$CI_COMMIT_TAG" ]]; then
echo "On default branch or tag, enabling all addons"
if [[ "${CI_COMMIT_BRANCH}" == "${CI_DEFAULT_BRANCH}" ]] || [[ ! -z "$CI_COMMIT_TAG" ]] || [[ $CI_MERGE_REQUEST_LABELS =~ "all-packages" ]]; then
echo "all-packages label enabled, or on default branch or tag, enabling all addons"
yq e ".addons.*.enabled = "true"" $CI_VALUES_FILE > tmpfile && mv tmpfile $CI_VALUES_FILE
yq e ".addons.keycloak.enabled = "false"" $CI_VALUES_FILE > tmpfile && mv tmpfile $CI_VALUES_FILE
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment