Skip to content

Commit

Permalink
Update K8s versions used in test, update action versions.
Browse files Browse the repository at this point in the history
Signed-off-by: Carsten Lohmann <[email protected]>
  • Loading branch information
calohmn committed Sep 10, 2023
1 parent c455d53 commit 74e44fb
Showing 1 changed file with 23 additions and 23 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.12.3"
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

0 comments on commit 74e44fb

Please sign in to comment.