From ad32b273d2e91ed0a1515ddc589b9d6a085651ea Mon Sep 17 00:00:00 2001 From: Deniz Erdogan Date: Wed, 31 Jul 2024 19:43:52 +0200 Subject: [PATCH] test --- .github/workflows/check-generated-values.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-generated-values.yml b/.github/workflows/check-generated-values.yml index e1c21baef..6daf4950b 100644 --- a/.github/workflows/check-generated-values.yml +++ b/.github/workflows/check-generated-values.yml @@ -10,13 +10,13 @@ jobs: run: mkdir -p ~/.local/bin - name: Create helmfile docker shim run: | - echo 'docker run --rm -v "${PWD}:/workdir" --workdir /workdir \ + echo 'docker run --rm -v "/tmp:/tmp" -v "${PWD}:/workdir" --workdir /workdir \ ghcr.io/helmfile/helmfile:latest helmfile $*' \ | tee ~/.local/bin/helmfile chmod +x ~/.local/bin/helmfile - name: Create yq docker shim run: | - echo 'docker run --rm -v "${PWD}:/workdir" --workdir /workdir mikefarah/yq $*' \ + echo 'docker run --rm -v "/tmp:/tmp" -v "${PWD}:/workdir" --workdir /workdir mikefarah/yq $*' \ | tee ~/.local/bin/yq chmod +x ~/.local/bin/yq - name: Diff generated value files @@ -25,7 +25,7 @@ jobs: ENV=$(basename "${ENV_DIR}") for RELEASE_FILE in "${ENV_DIR}"/*.values.yaml; do RELEASE=$(basename "${RELEASE_FILE}" .values.yaml) - TMP_VALUES=./tmp_"${ENV}.${RELEASE}".yml + TMP_VALUES=/tmp_"${ENV}.${RELEASE}".yml echo "checking $RELEASE_FILE - [$ENV] [$RELEASE]" ./bin/generate-values "${ENV}" "${RELEASE}" "${TMP_VALUES}" diff "${TMP_VALUES}" "${RELEASE_FILE}"