From 54b16f87b3a25deb05e07313435a5c2bcf63d69a Mon Sep 17 00:00:00 2001 From: Carsten Lohmann Date: Sun, 10 Sep 2023 10:49:49 +0200 Subject: [PATCH] Update K8s and action versions used in tests, set Helm 3.9 as min. version. Signed-off-by: Carsten Lohmann --- .github/workflows/ci.yaml | 46 +++++++++++++++++++-------------------- homepage/prereqs.md | 2 +- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 63a7b52d..8dd0e46d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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. @@ -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: @@ -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 @@ -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 @@ -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 @@ -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 @@ -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' }} diff --git a/homepage/prereqs.md b/homepage/prereqs.md index e29bdf72..848634c6 100644 --- a/homepage/prereqs.md +++ b/homepage/prereqs.md @@ -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