Merge pull request #165 from fluxcd/e2e/fix-valuesfile-test
This commit is contained in:
commit
20161ce310
|
|
@ -26,11 +26,11 @@ jobs:
|
||||||
- name: Setup Kubernetes
|
- name: Setup Kubernetes
|
||||||
uses: engineerd/setup-kind@v0.3.0
|
uses: engineerd/setup-kind@v0.3.0
|
||||||
- name: Setup Kustomize
|
- name: Setup Kustomize
|
||||||
uses: fluxcd/pkg/actions/kustomize@master
|
uses: fluxcd/pkg/actions/kustomize@main
|
||||||
- name: Setup Kubebuilder
|
- name: Setup Kubebuilder
|
||||||
uses: fluxcd/pkg/actions/kubebuilder@master
|
uses: fluxcd/pkg/actions/kubebuilder@main
|
||||||
- name: Setup Helm
|
- name: Setup Helm
|
||||||
uses: fluxcd/pkg/actions/helm@master
|
uses: fluxcd/pkg/actions/helm@main
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: make test
|
run: make test
|
||||||
env:
|
env:
|
||||||
|
|
@ -63,8 +63,8 @@ jobs:
|
||||||
- name: Run HelmChart values file tests
|
- name: Run HelmChart values file tests
|
||||||
run: |
|
run: |
|
||||||
kubectl -n source-system apply -f ./config/testdata/helmchart-valuesfile
|
kubectl -n source-system apply -f ./config/testdata/helmchart-valuesfile
|
||||||
kubectl -n source-system wait helmchart/mariadb --for=condition=ready --timeout=5m
|
kubectl -n source-system wait helmchart/podinfo --for=condition=ready --timeout=5m
|
||||||
kubectl -n source-system wait helmchart/mariadb-git --for=condition=ready --timeout=5m
|
kubectl -n source-system wait helmchart/podinfo-git --for=condition=ready --timeout=5m
|
||||||
kubectl -n source-system delete -f ./config/testdata/helmchart-valuesfile
|
kubectl -n source-system delete -f ./config/testdata/helmchart-valuesfile
|
||||||
- name: Setup Minio
|
- name: Setup Minio
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup Kustomize
|
- name: Setup Kustomize
|
||||||
uses: fluxcd/pkg/actions/kustomize@master
|
uses: fluxcd/pkg/actions/kustomize@main
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
id: prep
|
id: prep
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: bitnami-charts
|
name: podinfo
|
||||||
spec:
|
spec:
|
||||||
interval: 1m
|
interval: 5m
|
||||||
url: https://github.com/bitnami/charts
|
url: https://github.com/stefanprodan/podinfo
|
||||||
ref:
|
ref:
|
||||||
branch: master
|
branch: v5.x
|
||||||
ignore:
|
ignore:
|
||||||
/*
|
/*
|
||||||
!/bitnami/
|
!/charts/
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||||
kind: HelmChart
|
kind: HelmChart
|
||||||
metadata:
|
metadata:
|
||||||
name: mariadb-git
|
name: podinfo-git
|
||||||
spec:
|
spec:
|
||||||
chart: bitnami/mariadb
|
interval: 1m
|
||||||
valuesFile: values-production.yaml
|
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: bitnami-charts
|
name: podinfo
|
||||||
interval: 1m
|
chart: charts/podinfo
|
||||||
|
valuesFile: values-prod.yaml
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||||
kind: HelmChart
|
kind: HelmChart
|
||||||
metadata:
|
metadata:
|
||||||
name: mariadb
|
name: podinfo
|
||||||
spec:
|
spec:
|
||||||
chart: mariadb
|
interval: 1m
|
||||||
valuesFile: values-production.yaml
|
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: bitnami-charts
|
name: podinfo
|
||||||
interval: 1m
|
chart: podinfo
|
||||||
|
valuesFile: values-prod.yaml
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
metadata:
|
metadata:
|
||||||
name: bitnami-charts
|
name: podinfo
|
||||||
spec:
|
spec:
|
||||||
interval: 1m
|
interval: 5m
|
||||||
url: https://charts.bitnami.com/bitnami
|
url: https://stefanprodan.github.io/podinfo
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue