From ef595a32e7beb841e5544d5cde6c82e22766860b Mon Sep 17 00:00:00 2001 From: Deniz Erdogan Date: Wed, 31 Jul 2024 20:04:02 +0200 Subject: [PATCH] test --- .github/workflows/check-generated-values.yml | 36 +++++++++++--------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/workflows/check-generated-values.yml b/.github/workflows/check-generated-values.yml index dac0e9136..7d642484e 100644 --- a/.github/workflows/check-generated-values.yml +++ b/.github/workflows/check-generated-values.yml @@ -14,27 +14,31 @@ jobs: mkdir -p "${TMP_DIR}" chmod 777 "${TMP_DIR}" - name: Create helmfile docker shim - run: > + run: | docker pull ghcr.io/helmfile/helmfile:latest - && echo 'docker run - --rm - --volume "${TMP_DIR}:${TMP_DIR}" - --volume "${PWD}:/workdir" - --workdir /workdir - ghcr.io/helmfile/helmfile:latest helmfile $*' + + echo 'docker run \ + --rm \ + --volume "${TMP_DIR}:${TMP_DIR}" \ + --volume "${PWD}:/workdir" \ + --workdir /workdir \ + ghcr.io/helmfile/helmfile:latest helmfile $*' \ | tee ~/.local/bin/helmfile - && chmod +x ~/.local/bin/helmfile + + chmod +x ~/.local/bin/helmfile - name: Create yq docker shim - run: > + run: | docker pull mikefarah/yq:latest - && echo 'docker run - --rm - --volume "${TMP_DIR}:${TMP_DIR}" - --volume "${PWD}:/workdir" - --workdir /workdir - mikefarah/yq:latest $*' + + echo 'docker run \ + --rm \ + --volume "${TMP_DIR}:${TMP_DIR}" \ + --volume "${PWD}:/workdir" \ + --workdir /workdir \ + mikefarah/yq:latest $*' \ | tee ~/.local/bin/yq - && chmod +x ~/.local/bin/yq + + chmod +x ~/.local/bin/yq - name: Diff generated value files run: > for ENV_DIR in k8s/argocd/*; do