-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add github action for helm unit test
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: cluster-chart-unit-test | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- 'bootstrap/helm/cluster-api-cluster/**' | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- 'bootstrap/helm/cluster-api-cluster/**' | ||
jobs: | ||
docker-sentry: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: 'read' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: install helm | ||
uses: azure/setup-helm@v3 | ||
with: | ||
version: v3.12.3 | ||
- name: install helm unit test | ||
run: helm plugin install https://github.com/helm-unittest/helm-unittest.git | ||
- name: run helm unit test | ||
run: helm unittest ./bootstrap/helm/cluster-api-cluster |