install helm before trying to fix potential cache errors
This commit is contained in:
@@ -53,13 +53,6 @@ jobs:
|
|||||||
~/.cache/helm/repository
|
~/.cache/helm/repository
|
||||||
~/.config/helm/repositories.yaml
|
~/.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
|
- name: Block concurrent jobs
|
||||||
uses: softprops/turnstyle@v1
|
uses: softprops/turnstyle@v1
|
||||||
with:
|
with:
|
||||||
@@ -73,6 +66,15 @@ jobs:
|
|||||||
uses: azure/setup-helm@v1
|
uses: azure/setup-helm@v1
|
||||||
with:
|
with:
|
||||||
version: v3.5.3
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@@ -180,13 +182,6 @@ jobs:
|
|||||||
~/.cache/helm/repository
|
~/.cache/helm/repository
|
||||||
~/.config/helm/repositories.yaml
|
~/.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
|
- name: Block concurrent jobs
|
||||||
uses: softprops/turnstyle@v1
|
uses: softprops/turnstyle@v1
|
||||||
with:
|
with:
|
||||||
@@ -210,6 +205,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: v3.5.3
|
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
|
- name: Run chart-releaser
|
||||||
uses: helm/chart-releaser-action@v1.2.1
|
uses: helm/chart-releaser-action@v1.2.1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -97,13 +97,6 @@ jobs:
|
|||||||
~/.cache/helm/repository
|
~/.cache/helm/repository
|
||||||
~/.config/helm/repositories.yaml
|
~/.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
|
- name: Prepare-Lint
|
||||||
if: ${{ matrix.app != '.gitkee' }}
|
if: ${{ matrix.app != '.gitkee' }}
|
||||||
id: prep-lint
|
id: prep-lint
|
||||||
@@ -136,6 +129,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: v3.5.3
|
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
|
- uses: actions/setup-python@v2
|
||||||
if: ${{ matrix.app != '.gitkee' }}
|
if: ${{ matrix.app != '.gitkee' }}
|
||||||
with:
|
with:
|
||||||
@@ -239,13 +239,6 @@ jobs:
|
|||||||
~/.cache/helm/repository
|
~/.cache/helm/repository
|
||||||
~/.config/helm/repositories.yaml
|
~/.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
|
- name: Block concurrent jobs
|
||||||
uses: softprops/turnstyle@v1
|
uses: softprops/turnstyle@v1
|
||||||
@@ -271,6 +264,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: v3.5.3
|
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
|
- name: Remove if release already exists
|
||||||
run: |
|
run: |
|
||||||
removetask(){
|
removetask(){
|
||||||
|
|||||||
Reference in New Issue
Block a user