-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
2 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 |
---|---|---|
|
@@ -8,6 +8,11 @@ on: | |
jobs: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
chart-name: | ||
- kong | ||
- ingress | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
@@ -27,17 +32,20 @@ jobs: | |
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (lint) | ||
run: ct lint | ||
run: ct lint --charts ${{ matrix.chart-name }} | ||
working-directory: charts | ||
|
||
- name: setup testing environment (kind-cluster) | ||
run: ./scripts/test-env.sh | ||
|
||
- name: run chart-testing (install) | ||
run: ct install | ||
run: ct install --charts ${{ matrix.chart-name }} | ||
working-directory: charts | ||
if: matrix.chart-name == 'kong' | ||
|
||
- name: run integration tests (integration) | ||
env: | ||
CHART_NAME: ${{ matrix.chart-name }} | ||
run: ./scripts/test-run.sh | ||
|
||
- name: cleanup integration tests (cleanup) | ||
|
@@ -66,6 +74,7 @@ jobs: | |
- name: Add dependency chart repos | ||
run: | | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm repo add kong https://charts.konghq.com | ||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
|