Skip to content

Commit

Permalink
ci(helm-test): add step in the end to fail if version has not been bu…
Browse files Browse the repository at this point in the history
…mped but run tests
  • Loading branch information
tom-rm-meyer-ISST committed Jun 20, 2024
1 parent 5968e3b commit 0fa30f5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/helm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
fi
- name: Run chart-testing (lint)
run: ct lint --validate-maintainers=false --target-branch ${{ github.event.repository.default_branch }}
run: ct lint --validate-maintainers=false --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }}

- name: Run chart-testing (install)
run: |
Expand All @@ -126,3 +126,11 @@ jobs:
helm dependency update charts/puris
helm upgrade puris charts/puris
if: github.event_name != 'pull_request' || steps.list-changed.outputs.changed == 'true'

# check version increment should fail separately
# we don't directly release a chart and thus maybe don't need to increase the version.
# to enable this behaviour otterdog has been reconfigured
- name: Run chart-testing (version update)
id: version-check
run: |
ct lint --validate-maintainers=false --check-version-increment=true --target-branch ${{ github.event.repository.default_branch }}

0 comments on commit 0fa30f5

Please sign in to comment.