Skip to content

Commit

Permalink
Add uninstall to e2e test suite (#25)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Dec 6, 2021
1 parent b2e824c commit 3279d47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/e2e-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ jobs:
- name: Check sync
run: |
flux reconcile kustomization podinfo --with-source --namespace podinfo
- name: Delete Sync
run: |
helm delete --debug podinfo \
--namespace=podinfo
- name: Uninstall
run: |
helm uninstall --debug flux2 \
--namespace=flux-system
- name: Debug failure
if: failure()
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ jobs:
- name: Run chart-testing (lint)
run: ct lint --config ct.yaml
if: steps.list-changed.outputs.changed == 'true'

- name: Create kind cluster
uses: helm/kind-action@v1.2.0
if: steps.list-changed.outputs.changed == 'true'

- name: Run chart-testing (install) for flux2
run: ct install --config ct.yaml --charts charts/flux2
if: steps.list-changed.outputs.changed == 'true'

0 comments on commit 3279d47

Please sign in to comment.