File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed
Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -127,10 +127,9 @@ simulate an install
127127-------------------
128128### skip-deploy
129129* ** BitOps Property:** ` skip-deploy `
130- * ** Environment Variable:** ` SKIP_DEPLOY `
130+ * ** Environment Variable:** ` HELM_SKIP_DEPLOY `
131131* ** default:** ` "" `
132-
133- will skip helm execution
132+ * ** Description:** If set to true, regardless of the stack-action, deployment actions will be skipped.
134133
135134-------------------
136135### release-name
@@ -209,7 +208,7 @@ AWS s3 bucket name
209208Although not captured in ` bitops.config.yml ` , the following environment variables can be set to further customize behaviour
210209
211210-------------------
212- ### SKIP_DEPLOY_HELM
211+ ### HELM_SKIP_DEPLOY
213212Will skill all helm executions. This superseeds all other configuration
214213
215214-------------------
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
33
4- if [ -n " $SKIP_DEPLOY_HELM " ]; then
5- echo " SKIP_DEPLOY_HELM is set. Skipping."
6- exit 0
7- fi
8-
94export PLUGINS_ROOT_DIR=" ${BITOPS_PLUGINS_DIR%/* } "
105export HELM_ROOT_SCRIPTS=" $BITOPS_PLUGIN_DIR "
116export HELM_ROOT_OPERATIONS=" $BITOPS_OPSREPO_ENVIRONMENT_DIR "
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ echo "BITOPS_CONFIG_COMMAND: $BITOPS_CONFIG_COMMAND"
1616source " $BITOPS_SCHEMA_ENV_FILE "
1717
1818# Check for helm skip deploy condition
19- if [ " $HELM_SKIP_DEPLOY " == " True " ]; then
19+ if [ " $HELM_SKIP_DEPLOY " == " true " ]; then
2020 echo " helm.options.skip-deploy (HELM_SKIP_DEPLOY) set. Skipping deployment for $ENVIRONMENT /helm/$HELM_CHART "
2121 exit 0
2222fi
You can’t perform that action at this time.
0 commit comments