fix(github): Use hardcoded version for helm (#1573)

- [x] use stable version of helm for azure/setup-helm github action
- [x] match to v3 for azure/setup-helm usage (in linting action)

Signed-off-by: jmeridth <jmeridth@gmail.com>

Signed-off-by: jmeridth <jmeridth@gmail.com>
pull/1570/head^2 argo-cd-5.6.5
Jason Meridth 2022-10-24 16:48:00 -05:00 committed by GitHub
parent 01ae72a7b1
commit 9d69923c93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -15,7 +15,9 @@ jobs:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v3
with:
version: v3.10.1 # Also update in publish.yaml
- name: Set up python
uses: actions/setup-python@v4
@ -59,7 +61,7 @@ jobs:
if: steps.list-changed.outputs.changed == 'true'
with:
config: .github/configs/kind-config.yaml
- name: Deploy latest ArgoCD CRDs when testing ArgoCD extensions
if: |
contains(steps.list-changed.outputs.changed_charts, 'argocd-image-updater') ||

View File

@ -22,8 +22,7 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: latest # stable
token: ${{ secrets.GITHUB_TOKEN }} # only needed if version is 'latest'
version: v3.10.1 # Also update in lint-and-test.yaml
- name: Add dependency chart repos
run: |
@ -32,7 +31,7 @@ jobs:
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
## This is required to consider the old Circle-CI Index and to stay compatible with all the old releases.
- name: Fetch current Chart Index