Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/test-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,17 @@ jobs:
with:
python-version: 3.14 # Renovate helper is not needed here

- name: Configure Helm repos
run: |-
helm dependency list ./helm/defectdojo
helm dependency update ./helm/defectdojo
# Running update is not needed for listing - it just triggers errors as soon as one of the subcharts is not in the latest version (`helm dep. update` change content of the chart)
# As soon as we would like to run more extensive tests, this can be reenabled, but this will need to be placed after "ct list-changed" command
# - name: Configure Helm repos
# run: |-
# helm dependency list ./helm/defectdojo
# helm dependency update ./helm/defectdojo

- name: Set up chart-testing
uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0
with:
version: 3.14.0 # renovate: datasource=github-releases depName=helm/chart-testing
yamale_version: 6.1.0 # renovate: datasource=pypi depName=yamale versioning=semver
yamllint_version: 1.37.1 # renovate: datasource=pypi depName=yamllint versioning=semver

Expand All @@ -52,6 +55,8 @@ jobs:
changed=$(ct list-changed --config ct.yaml --target-branch ${{ env.ct-branch}})
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
echo "Content changed:"
echo "$changed" | sed 's/^/ /'
fi

# run version check only if not dev as in dev we have a `x.y.z-dev` version
Expand Down