From 0294d85c4a483bbb03ffa511601b6a557f967f69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Barcarol=20Guimar=C3=A3es?= Date: Fri, 13 Mar 2020 10:47:19 +0000 Subject: [PATCH] step-registry: remove references to /tmp/secret After https://github.com/openshift/ci-tools/pull/544, `$SHARED_DIR` should be used instead. --- ci-operator/step-registry/ipi/conf/ipi-conf-commands.sh | 2 +- .../ipi/install/install/ipi-install-install-commands.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-operator/step-registry/ipi/conf/ipi-conf-commands.sh b/ci-operator/step-registry/ipi/conf/ipi-conf-commands.sh index 8cfaa999d499a..527a956bcbbff 100755 --- a/ci-operator/step-registry/ipi/conf/ipi-conf-commands.sh +++ b/ci-operator/step-registry/ipi/conf/ipi-conf-commands.sh @@ -9,7 +9,7 @@ trap 'CHILDREN=$(jobs -p); if test -n "${CHILDREN}"; then kill ${CHILDREN} && wa cluster_profile=/var/run/secrets/ci.openshift.io/cluster-profile cluster_name=${NAMESPACE}-${JOB_NAME_HASH} -out=/tmp/secret/install-config.yaml +out=${SHARED_DIR}/install-config.yaml cluster_variant= if [[ -e "${SHARED_DIR}/install-config-variant.txt" ]]; then diff --git a/ci-operator/step-registry/ipi/install/install/ipi-install-install-commands.sh b/ci-operator/step-registry/ipi/install/install/ipi-install-install-commands.sh index a5f5c5fd02d40..d0b9c136e6130 100755 --- a/ci-operator/step-registry/ipi/install/install/ipi-install-install-commands.sh +++ b/ci-operator/step-registry/ipi/install/install/ipi-install-install-commands.sh @@ -41,7 +41,7 @@ ret=$? set -e cp \ - -t /tmp/secret \ + -t "${SHARED_DIR}" \ "${dir}/auth/kubeconfig" \ "${dir}/metadata.json" \ "${dir}/terraform.tfstate"