EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit c6edf8aa authored by Bernhard Mallinger's avatar Bernhard Mallinger
Browse files

Source secret values before `set -x` to prevent leaks

parent e7b2ea0f
No related branches found
No related tags found
No related merge requests found
Pipeline #19496 failed
#!/usr/bin/env bash
set -o allexport
source "${PYTEST_ENVIRONMENT}"
set +o allexport
# NOTE: only set -x after sourcing secret values, otherwise they are leaked
set -u -x
echo "Using bucket:"
......@@ -7,7 +12,6 @@ echo $PREPROCESSOR_RESULTS_BUCKET
TEST_RESULT=0
source "${PYTEST_ENVIRONMENT}"
# wait as in registrar_prep.sh, not sure if necessary
kubectl exec deployment/my-vs-release-registrar -- ./wait-initialized.sh
......
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