Skip to content

Commit

Permalink
test(charts): add install test on kind cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
DrummyFloyd committed Apr 10, 2024
1 parent 7930b26 commit b0f654b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/configs/ct-install.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
remote: origin
target-branch: main
chart-dirs:
- charts
chart-repos:
helm-extra-args: --timeout 180s
check-version-increment: false
validate-maintainers: false
validate-yaml: true
exclude-deprecated: true
excluded-charts: []
9 changes: 9 additions & 0 deletions .github/workflows/chart-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,12 @@ jobs:
else
echo -e '\033[0;32mDocumentation up to date\033[0m ✔'
fi
- name: Create kind cluster
uses: helm/kind-action@v1.9.0
if: steps.list-changed.outputs.changed == 'true'

- name: Run chart-testing (install)
run: |
namespace=sablier-$(uuidgen)
ct install --namespace=$namespace --config ./.github/configs/ct-install.yaml
if: steps.list-changed.outputs.changed == 'true'

0 comments on commit b0f654b

Please sign in to comment.