restructure app-tests a bit more and fix postgresql
This commit is contained in:
@@ -13,6 +13,29 @@ on:
|
|||||||
- '.github/ct-lint.yaml'
|
- '.github/ct-lint.yaml'
|
||||||
|
|
||||||
jobs:
|
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:
|
changes:
|
||||||
name: Get changed Apps
|
name: Get changed Apps
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
@@ -48,7 +71,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
app-tests:
|
app-tests:
|
||||||
needs: [changes]
|
needs: [changes, prephelm]
|
||||||
if: ${{ needs.changes.outputs.empty_matrix == 'false' }}
|
if: ${{ needs.changes.outputs.empty_matrix == 'false' }}
|
||||||
name: App Tests
|
name: App Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -65,6 +88,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
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
|
- name: Prepare-Lint
|
||||||
if: ${{ matrix.app != '.gitkee' }}
|
if: ${{ matrix.app != '.gitkee' }}
|
||||||
id: prep-lint
|
id: prep-lint
|
||||||
@@ -220,12 +251,6 @@ jobs:
|
|||||||
~/.cache/helm/repository
|
~/.cache/helm/repository
|
||||||
~/.config/helm/repositories.yaml
|
~/.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
|
- name: Remove if release already exists
|
||||||
run: |
|
run: |
|
||||||
for train in stable incubator develop non-free deprecated
|
for train in stable incubator develop non-free deprecated
|
||||||
|
|||||||
@@ -25,4 +25,4 @@ name: postgresql
|
|||||||
sources:
|
sources:
|
||||||
- https://www.postgresql.org/
|
- https://www.postgresql.org/
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.11
|
version: 1.0.12
|
||||||
|
|||||||
@@ -54,4 +54,3 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user