Skip to content

Commit

Permalink
Update K8s and action versions used in tests, set Helm 3.9 as min. ve…
Browse files Browse the repository at this point in the history
…rsion.

Signed-off-by: Carsten Lohmann <[email protected]>
  • Loading branch information
calohmn committed Sep 11, 2023
1 parent 7ff9532 commit 54b16f8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019, 2022 Contributors to the Eclipse Foundation
# Copyright (c) 2019, 2023 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand All @@ -14,7 +14,7 @@ name: ci
env:
CONFIG_OPTION_CHART_TESTING: "--config .github/ct.yaml"
VERSION_CHART_TESTING: "v3.5.1"
VERSION_HELM: "v3.9.0"
VERSION_HELM: "v3.9.2"
VERSION_PYTHON: "3.7"
on:
pull_request:
Expand All @@ -27,9 +27,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Lint Bash scripts
uses: docker://koalaman/shellcheck-alpine:v0.8.0
uses: docker://koalaman/shellcheck-alpine:v0.9.0
with:
args: .github/lint-scripts.sh

Expand All @@ -38,14 +38,14 @@ jobs:
needs: lint-bash-scripts
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Fetch history for chart testing
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v2.1
uses: azure/setup-helm@v3.5
with:
version: ${{ env.VERSION_HELM }}
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: ${{ env.VERSION_PYTHON }}
- name: Set up chart-testing
Expand All @@ -64,17 +64,17 @@ jobs:
# which a folder exists at
# https://github.com/yannh/kubernetes-json-schema/
k8s:
- v1.22.15
- v1.23.12
- v1.24.6
- v1.25.2
- v1.25.13
- v1.26.8
- v1.27.5
- v1.28.1
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Fetch history for chart testing
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v2.1
uses: azure/setup-helm@v3.5
with:
version: ${{ env.VERSION_HELM }}
- name: Run kubeval
Expand All @@ -94,20 +94,20 @@ jobs:
# the versions supported by chart-testing are the tags
# available for the docker.io/kindest/node image
# https://hub.docker.com/r/kindest/node/tags
- v1.22.15
- v1.23.12
- v1.24.6
- v1.25.2
- v1.25.11
- v1.26.6
- v1.27.3
- v1.28.0
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Fetch history for chart testing
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v2.1
uses: azure/setup-helm@v3.5
with:
version: ${{ env.VERSION_HELM }}
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: ${{ env.VERSION_PYTHON }}
- name: Set up chart-testing
Expand All @@ -119,12 +119,12 @@ jobs:
run: |
changed=$(ct list-changed ${{ env.CONFIG_OPTION_CHART_TESTING }})
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Create kind ${{ matrix.k8s }} cluster
uses: helm/kind-action@v1.2.0
uses: helm/kind-action@v1.8.0
with:
version: v0.14.0
version: v0.20.0
config: .github/kind-config.yaml
node_image: kindest/node:${{ matrix.k8s }}
if: ${{ steps.list-changed.outputs.changed == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion homepage/prereqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ minikube start ... --addons ingress
You will need an installation of Helm on the machine which is used to deploy the packages. You can find
installation instructions for Helm in the Helm documentation under [Installing Helm](https://helm.sh/docs/using_helm/#installing-helm).

The required Helm version is 3.8 or later.
The required Helm version is 3.9 or later.

### Repository

Expand Down

0 comments on commit 54b16f8

Please sign in to comment.