-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: update helm-chart-testing (#6720)
* Bump yamllint + yamale * Bump python Also fixes this error in the "Set up chart-testing" step: ``` ERROR: Could not find a version that satisfies the requirement yamllint==1.27.1 (from versions: none) ERROR: No matching distribution found for yamllint==1.27.1 WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available. ```
- Loading branch information
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -821,7 +821,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: ')" | ||
|
@@ -834,18 +834,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 }} | ||
|
@@ -857,6 +867,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 | ||
|