Skip to content

Commit

Permalink
tests: fixup next-release logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Jun 18, 2024
1 parent e58a645 commit 59a3eea
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,17 @@ jobs:
- name: Run chart-testing (install)
run: |
ct install --config ./default.ct.yaml --helm-extra-args "--timeout 30m"
if: |
${{ !contains(github.event.pull_request.labels.*.name, 'next-release') }}
if: ${{ !contains(github.event.pull_request.labels.*.name, 'next-release') }}

- name: Run chart-testing (next-release)
run: |
yq eval-all --inplace 'select(fileIndex == 0) * select(fileIndex == 1)' ./charts/lagoon-core/ci/linter-values.yaml ./charts/lagoon-core/ci/testlagoon-main-override.yaml
ct install --config ./default.ct.yaml --helm-extra-args "--timeout 30m"
if: |
${{ (contains(github.event.pull_request.labels.*.name, 'next-release')) }}
if: ${{ (contains(github.event.pull_request.labels.*.name, 'next-release')) }}

- name: Run chart-testing (needs-testing)
run: ct install --config ./default.ct.yaml --helm-extra-args "--timeout 30m" --all
if: |
${{ (contains(github.event.pull_request.labels.*.name, 'needs-testing')) }}
if: ${{ (contains(github.event.pull_request.labels.*.name, 'needs-testing')) }}

artifacthub-changelog:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 59a3eea

Please sign in to comment.