diff options
author | drebs <drebs@riseup.net> | 2017-10-11 09:54:51 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-10-11 09:54:57 -0300 |
commit | f39a7f84b0f053a4e2483ee5d5ee5367683c40ee (patch) | |
tree | f2d4892371ac30647f24a05f03ec77c5c9c3b3cf | |
parent | 8ea8e2483b311151a4aaa39f4ba47d17da101a29 (diff) |
[ci] avoid leaking secrets
With the set -o xtrace option all the variables are printed to stdout,
thus leaking all secrets in the CI output. This commit removes that
option from relevant scripts.
-rwxr-xr-x | scripts/docker/build-docker-image.sh | 1 | ||||
-rwxr-xr-x | scripts/packaging/run-packaging-ci-job.sh | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/scripts/docker/build-docker-image.sh b/scripts/docker/build-docker-image.sh index a35e201b..2e4d3e43 100755 --- a/scripts/docker/build-docker-image.sh +++ b/scripts/docker/build-docker-image.sh @@ -1,7 +1,6 @@ #!/bin/sh set -e -set -o xtrace if [ -z "${LEAP_CODE_O_MATIC_PRIVATE_TOKEN}" ]; then echo "Can't proceed without LEAP_CODE_O_MATIC_PRIVATE_TOKEN variable set." diff --git a/scripts/packaging/run-packaging-ci-job.sh b/scripts/packaging/run-packaging-ci-job.sh index ab224d43..3547e1e1 100755 --- a/scripts/packaging/run-packaging-ci-job.sh +++ b/scripts/packaging/run-packaging-ci-job.sh @@ -1,7 +1,6 @@ #!/bin/sh set -eu -set -o xtrace echo "Starting packaging script for architecture ${ARCH}, distribution ${DIST}..." |