Skip to content

Commit

Permalink
Update component versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dsever committed Mar 1, 2024
1 parent 86dfea3 commit 8604579
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/test-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.4.0
uses: azure/[email protected]

- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: 3.9

- name: Configure Helm repos
run: |-
Expand All @@ -36,14 +34,17 @@ jobs:
- name: Set up chart-testing
uses: helm/[email protected]
with:
yamale_version: 4.0.4
yamllint_version: 1.35.1

- name: Determine target branch
id: ct-branch-target
run: |
if [ ! -z ${GITHUB_BASE_REF} ]; then
echo "ct-branch=${GITHUB_BASE_REF}" >> $GITHUB_ENV
echo "ct-branch=${GITHUB_BASE_REF}" >> $GITHUB_ENV
else
echo "ct-branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
echo "ct-branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
fi
- name: Run chart-testing (list-changed)
Expand All @@ -58,7 +59,7 @@ jobs:
# x.y.z gets bumped automatically when doing a release
- name: Run chart-testing (lint)
run: ct lint --config ct.yaml --target-branch ${{ env.ct-branch }} --check-version-increment=true
if: ${{ env.changed == 'true' && env.ct-branch != 'dev' && env.ct-branch != 'bugfix' }}
if: ${{ env.changed == 'true' && env.ct-branch != 'dev' && env.ct-branch != 'bugfix' }}

# run all checks but version increment always when something changed
- name: Run chart-testing (lint)
Expand Down

0 comments on commit 8604579

Please sign in to comment.