Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
deer-wmde committed Jul 31, 2024
1 parent 01c567f commit ad32b27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-generated-values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}"
Expand Down

0 comments on commit ad32b27

Please sign in to comment.