Skip to content

Commit

Permalink
fix(release): Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap committed May 25, 2023
1 parent 5d92bf6 commit 5ab38a8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 5ab38a8

Please sign in to comment.