From f7aba517e5f0ae6eb5d4f16cc3fd86b300c8b00d Mon Sep 17 00:00:00 2001 From: James Strong Date: Thu, 23 Jun 2022 12:15:53 -0500 Subject: [PATCH] update helm to another action --- .github/workflows/ci.yaml | 18 +++++++----------- .github/workflows/docs.yaml | 3 +++ .github/workflows/helm.yaml | 3 +++ .github/workflows/perftest.yaml | 3 +++ 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1ead650434..2ed85d9ff0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -148,7 +148,7 @@ jobs: - name: Run helm-docs run: | - GOBIN=$PWD GO111MODULE=on go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.8.1 + GOBIN=$PWD GO111MODULE=on go install github.com/norwoodj/helm-docs/cmd/helm-docs@e91c4c3337d3bf3fdad8de1763999a5c3325567f ./helm-docs --chart-search-root=${GITHUB_WORKSPACE}/charts DIFF=$(git diff ${GITHUB_WORKSPACE}/charts/ingress-nginx/README.md) if [ ! -z "$DIFF" ]; then @@ -232,12 +232,10 @@ jobs: failOnError: false - name: Prepare cluster for testing + uses: azure/setup-helm@217bf70cbd2e930ba2e81ba7e1de2f7faecc42ba #v2.1 + with: + version: 'v3.8.0' id: local-path - run: | - kubectl version - echo - echo "installing helm 3..." - curl -sSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash - name: Load images from cache run: | @@ -290,12 +288,10 @@ jobs: failOnError: false - name: Prepare cluster for testing + uses: azure/setup-helm@217bf70cbd2e930ba2e81ba7e1de2f7faecc42ba #v2.1 + with: + version: 'v3.8.0' id: local-path - run: | - kubectl version - echo - echo "installing helm 3..." - curl -sSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash - name: Load images from cache run: | diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 27d33f66f6..e1bfe23bd0 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -5,6 +5,9 @@ on: branches: - main +permissions: + contents: read + jobs: changes: diff --git a/.github/workflows/helm.yaml b/.github/workflows/helm.yaml index 8781112fe1..49ef6acd49 100644 --- a/.github/workflows/helm.yaml +++ b/.github/workflows/helm.yaml @@ -6,6 +6,9 @@ on: - main - legacy +permissions: + contents: read + jobs: changes: diff --git a/.github/workflows/perftest.yaml b/.github/workflows/perftest.yaml index 370b37d873..aeda0425ea 100644 --- a/.github/workflows/perftest.yaml +++ b/.github/workflows/perftest.yaml @@ -9,6 +9,9 @@ on: tags: description: 'K6 Load Test' +permissions: + contents: read + jobs: k6_test_run: runs-on: ubuntu-latest