Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: update helm-chart-testing #6720

Merged
merged 1 commit into from
May 1, 2023
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
22 changes: 17 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ jobs:
with:
fetch-depth: 0

# Skip remaining steps, if version is not available
# Skip remaining steps, if current Nessie release version is not available
- name: Precheck
run: |
EXPECT_VERSION="$(cat helm/nessie/Chart.yaml | grep -E '^version: ')"
Expand All @@ -764,18 +764,28 @@ jobs:
if: env.WF_EXEC != 'false'
uses: azure/setup-helm@v3
with:
version: v3.8.1
- uses: actions/setup-python@v4
# https://helm.sh/docs/topics/version_skew/
version: 'v3.11.3'

- name: Setup Python
if: env.WF_EXEC != 'false'
uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'

- name: Set up chart-testing
if: env.WF_EXEC != 'false'
uses: helm/[email protected]
with:
# https://github.com/adrienverge/yamllint/tags
# default is 1.27.1, but leads to Python install issues
yamllint_version: 1.31.0
# https://github.com/23andMe/Yamale/releases
# default is 3.0.4, just bump to current latest patch version
yamale_version: 3.0.8

- name: Run chart-testing (list-changed)
if: env.WF_EXEC != 'false'
id: list-changed
run: |
ct list-changed --target-branch ${{ github.event.repository.default_branch }}

Expand All @@ -787,6 +797,8 @@ jobs:
if: env.WF_EXEC != 'false'
uses: medyagh/[email protected]
with:
# If required, use the matrix strategy against this option to test against multiple Kubernetes versions:
kubernetes-version: stable
cache: false

- name: Show pods
Expand Down