restructure app-tests a bit more and fix postgresql

This commit is contained in:
kjeld Schouten-Lebbing 2021-08-17 12:58:53 +02:00
parent a6b05fabe7
commit e2651b5d9b
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
3 changed files with 33 additions and 9 deletions

View File

@ -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

View File

@ -25,4 +25,4 @@ name: postgresql
sources:
- https://www.postgresql.org/
type: application
version: 1.0.11
version: 1.0.12

View File

@ -54,4 +54,3 @@ spec:
{{- end }}
{{- end -}}
{{- end -}}
{{- end -}}