Loading templates/gitlab-ci-angular.yml +3 −2 Original line number Diff line number Diff line Loading @@ -218,7 +218,7 @@ stages: ############################################################################################### .ng-cli-scripts: &ng-cli-scripts | # BEGSCRIPT set -e set -eo pipefail function log_debug() { if [[ -n "$TRACE" ]] Loading Loading @@ -454,7 +454,8 @@ stages: } function eval_all_secrets() { encoded_vars=$(env | grep -v '^scoped__' | awk -F '=' '/^[a-zA-Z0-9_]*=@(b64|hex|url)@/ {print $1}') # exclude scoped variables and their copies passed to container services (`<service_name>_ENV_scoped__xxx`) encoded_vars=$(env | awk -F '=' '$1 !~ /(^|_ENV_)scoped__/ && $2 ~ /^@(b64|hex|url)@/ {print $1}') for var in $encoded_vars do eval_secret "$var" Loading Loading
templates/gitlab-ci-angular.yml +3 −2 Original line number Diff line number Diff line Loading @@ -218,7 +218,7 @@ stages: ############################################################################################### .ng-cli-scripts: &ng-cli-scripts | # BEGSCRIPT set -e set -eo pipefail function log_debug() { if [[ -n "$TRACE" ]] Loading Loading @@ -454,7 +454,8 @@ stages: } function eval_all_secrets() { encoded_vars=$(env | grep -v '^scoped__' | awk -F '=' '/^[a-zA-Z0-9_]*=@(b64|hex|url)@/ {print $1}') # exclude scoped variables and their copies passed to container services (`<service_name>_ENV_scoped__xxx`) encoded_vars=$(env | awk -F '=' '$1 !~ /(^|_ENV_)scoped__/ && $2 ~ /^@(b64|hex|url)@/ {print $1}') for var in $encoded_vars do eval_secret "$var" Loading