summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-10-11 09:54:51 -0300
committerdrebs <drebs@riseup.net>2017-10-11 09:54:57 -0300
commitf39a7f84b0f053a4e2483ee5d5ee5367683c40ee (patch)
treef2d4892371ac30647f24a05f03ec77c5c9c3b3cf
parent8ea8e2483b311151a4aaa39f4ba47d17da101a29 (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-xscripts/docker/build-docker-image.sh1
-rwxr-xr-xscripts/packaging/run-packaging-ci-job.sh1
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}..."