File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66 branches :
77 - beta
8+ - main
89 paths :
910 - ' charts/**'
1011 push :
3334 - name : Set up Helm
3435 uses : azure/setup-helm@v4
3536 with :
36- version : v3.5.0
37+ version : v3.13.3
3738
3839 - uses : actions/setup-python@v4
3940 with :
5657 run : ct lint --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
5758
5859 - name : Create kind cluster
59- if : steps.list-changed.outputs.changed == 'true' || github.ref_name == 'main'
60+ if : steps.list-changed.outputs.changed == 'true'
60616162
6263 - name : Run chart-testing (install)
63- if : steps.list-changed.outputs.changed == 'true' || github.ref_name == 'main'
64- run : ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
64+ if : steps.list-changed.outputs.changed == 'true'
65+ run : |
66+ DRY_RUN=${{ github.ref_name == 'beta' && 'false' || (github.ref_name == 'main' && 'false' || 'true') }}
67+ if [ "$DRY_RUN" = "true" ]; then
68+ echo "Running in dry-run mode"
69+ ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts --helm-extra-args '--dry-run --debug'
70+ else
71+ echo "Running in install mode"
72+ ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
73+ fi
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ type: application
2020# This is the chart version. This version number should be incremented each time you make changes
2121# to the chart and its templates, including the app version.
2222# Versions are expected to follow Semantic Versioning (https://semver.org/)
23- version : 0.1.2
23+ version : 0.1.3
2424
2525# This is the version number of the application being deployed. This version number should be
2626# incremented each time you make changes to the application. Versions are not expected to
2727# follow Semantic Versioning. They should reflect the version the application is using.
2828# It is recommended to use it with quotes.
29- appVersion : " v0.1.2 "
29+ appVersion : " v0.1.3-beta.0 "
You can’t perform that action at this time.
0 commit comments