From f39a7f84b0f053a4e2483ee5d5ee5367683c40ee Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 11 Oct 2017 09:54:51 -0300 Subject: [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. --- scripts/docker/build-docker-image.sh | 1 - scripts/packaging/run-packaging-ci-job.sh | 1 - 2 files changed, 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}..." -- cgit v1.2.3