From de7825ab572d467f139bdf0cd952715b3dea1dc2 Mon Sep 17 00:00:00 2001 From: Ilya Nikokoshev Date: Sat, 6 Jan 2024 14:34:03 +0100 Subject: [PATCH] feat: pin helm version and repo list --- .github/workflows/chart-releaser.yaml | 7 +++---- .github/workflows/test-chart-releaser.yaml | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/chart-releaser.yaml b/.github/workflows/chart-releaser.yaml index 2fcfdc0..f00df62 100644 --- a/.github/workflows/chart-releaser.yaml +++ b/.github/workflows/chart-releaser.yaml @@ -29,13 +29,12 @@ jobs: version: v3.11.1 - name: Add missing repositories + # On second thought, let's add the repo manually # https://github.com/helm/helm/issues/9903#issue-935152749 # https://github.com/helm/helm/issues/8036#issuecomment-1126959239 run: | - if [ -f "./Chart.lock" ]; then - yq --indent 0 '.dependencies | map(["helm", "repo", "add", .name, .repository] | join(" ")) | .[]' "./Chart.lock" | sh -- - fi - + helm repo add https://charts.bitnami.com/bitnami + - name: Run chart-releaser uses: helm/chart-releaser-action@v1.6.0 with: diff --git a/.github/workflows/test-chart-releaser.yaml b/.github/workflows/test-chart-releaser.yaml index 1310381..1179e93 100644 --- a/.github/workflows/test-chart-releaser.yaml +++ b/.github/workflows/test-chart-releaser.yaml @@ -21,13 +21,12 @@ jobs: - name: Install Helm uses: azure/setup-helm@v3 - with: + with: version: v3.11.1 - name: Add missing repositories + # On second thought, let's add the repo manually # https://github.com/helm/helm/issues/9903#issue-935152749 # https://github.com/helm/helm/issues/8036#issuecomment-1126959239 run: | - if [ -f "./Chart.lock" ]; then - yq --indent 0 '.dependencies | map(["helm", "repo", "add", .name, .repository] | join(" ")) | .[]' "./Chart.lock" | sh -- - fi + helm repo add https://charts.bitnami.com/bitnami