install helm before trying to fix potential cache errors

This commit is contained in:
kjeld Schouten-Lebbing 2021-08-17 14:16:30 +02:00
parent 5d4590232f
commit 66b8bb6da3
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
2 changed files with 30 additions and 28 deletions

View File

@ -53,13 +53,6 @@ jobs:
~/.cache/helm/repository
~/.config/helm/repositories.yaml
- name: Cache-Error-Fix
if: steps.cache.outputs.cache-hit != 'true'
run: |
helm repo add truecharts https://truecharts.org
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Block concurrent jobs
uses: softprops/turnstyle@v1
with:
@ -73,6 +66,15 @@ jobs:
uses: azure/setup-helm@v1
with:
version: v3.5.3
- name: Cache-Error-Fix
if: steps.cache.outputs.cache-hit != 'true'
run: |
helm repo add truecharts https://truecharts.org
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Checkout
uses: actions/checkout@v2
with:
@ -180,13 +182,6 @@ jobs:
~/.cache/helm/repository
~/.config/helm/repositories.yaml
- name: Cache-Error-Fix
if: steps.cache.outputs.cache-hit != 'true'
run: |
helm repo add truecharts https://truecharts.org
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Block concurrent jobs
uses: softprops/turnstyle@v1
with:
@ -210,6 +205,13 @@ jobs:
with:
version: v3.5.3
- name: Cache-Error-Fix
if: steps.cache.outputs.cache-hit != 'true'
run: |
helm repo add truecharts https://truecharts.org
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1
with:

View File

@ -97,13 +97,6 @@ jobs:
~/.cache/helm/repository
~/.config/helm/repositories.yaml
- name: Cache-Error-Fix
if: steps.cache.outputs.cache-hit != 'true'
run: |
helm repo add truecharts https://truecharts.org
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Prepare-Lint
if: ${{ matrix.app != '.gitkee' }}
id: prep-lint
@ -136,6 +129,13 @@ jobs:
with:
version: v3.5.3
- name: Cache-Error-Fix
if: steps.cache.outputs.cache-hit != 'true'
run: |
helm repo add truecharts https://truecharts.org
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- uses: actions/setup-python@v2
if: ${{ matrix.app != '.gitkee' }}
with:
@ -239,13 +239,6 @@ jobs:
~/.cache/helm/repository
~/.config/helm/repositories.yaml
- name: Cache-Error-Fix
if: steps.cache.outputs.cache-hit != 'true'
run: |
helm repo add truecharts https://truecharts.org
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Block concurrent jobs
uses: softprops/turnstyle@v1
@ -271,6 +264,13 @@ jobs:
with:
version: v3.5.3
- name: Cache-Error-Fix
if: steps.cache.outputs.cache-hit != 'true'
run: |
helm repo add truecharts https://truecharts.org
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
- name: Remove if release already exists
run: |
removetask(){