restructure app-tests a bit more and fix postgresql
This commit is contained in:
parent
a6b05fabe7
commit
e2651b5d9b
|
@ -13,6 +13,29 @@ on:
|
|||
- '.github/ct-lint.yaml'
|
||||
|
||||
jobs:
|
||||
prephelm:
|
||||
name: Get changed Apps
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Install Helm
|
||||
uses: azure/setup-helm@v1
|
||||
with:
|
||||
version: v3.5.3
|
||||
|
||||
- name: Cache helm repo cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
key: helmrepocache
|
||||
path: |
|
||||
~/.cache/helm/repository
|
||||
~/.config/helm/repositories.yaml
|
||||
|
||||
- name: update helm repo cache
|
||||
run: |
|
||||
helm repo add truecharts https://truecharts.org
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
helm repo update
|
||||
|
||||
changes:
|
||||
name: Get changed Apps
|
||||
runs-on: ubuntu-20.04
|
||||
|
@ -48,7 +71,7 @@ jobs:
|
|||
fi
|
||||
|
||||
app-tests:
|
||||
needs: [changes]
|
||||
needs: [changes, prephelm]
|
||||
if: ${{ needs.changes.outputs.empty_matrix == 'false' }}
|
||||
name: App Tests
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -65,6 +88,14 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache helm repo cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
key: helmrepocache
|
||||
path: |
|
||||
~/.cache/helm/repository
|
||||
~/.config/helm/repositories.yaml
|
||||
|
||||
- name: Prepare-Lint
|
||||
if: ${{ matrix.app != '.gitkee' }}
|
||||
id: prep-lint
|
||||
|
@ -220,12 +251,6 @@ jobs:
|
|||
~/.cache/helm/repository
|
||||
~/.config/helm/repositories.yaml
|
||||
|
||||
- name: update helm repo cache
|
||||
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: |
|
||||
for train in stable incubator develop non-free deprecated
|
||||
|
|
|
@ -25,4 +25,4 @@ name: postgresql
|
|||
sources:
|
||||
- https://www.postgresql.org/
|
||||
type: application
|
||||
version: 1.0.11
|
||||
version: 1.0.12
|
||||
|
|
|
@ -54,4 +54,3 @@ spec:
|
|||
{{- end }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in New Issue