Skip to content
Open
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
48 changes: 24 additions & 24 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019, 2023 Contributors to the Eclipse Foundation
# Copyright (c) 2019 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand All @@ -13,8 +13,8 @@ name: ci

env:
CONFIG_OPTION_CHART_TESTING: "--config .github/ct.yaml"
VERSION_CHART_TESTING: "v3.5.1"
VERSION_HELM: "v3.9.2"
VERSION_CHART_TESTING: "3.14.0"
VERSION_HELM: "3.19.0"
VERSION_PYTHON: "3.8"
on:
pull_request:
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Lint Bash scripts
uses: docker://koalaman/shellcheck-alpine:v0.9.0
with:
Expand All @@ -38,18 +38,18 @@ jobs:
needs: lint-bash-scripts
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Fetch history for chart testing
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v3.5
uses: azure/setup-helm@v4
with:
version: ${{ env.VERSION_HELM }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v6
with:
python-version: ${{ env.VERSION_PYTHON }}
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
uses: helm/chart-testing-action@v2
with:
version: ${{ env.VERSION_CHART_TESTING }}
- name: Run chart-testing (lint)
Expand All @@ -64,17 +64,17 @@ jobs:
# which a folder exists at
# https://github.com/yannh/kubernetes-json-schema/
k8s:
- v1.25.13
- v1.26.8
- v1.27.5
- v1.28.1
- v1.32.9
- v1.33.8
- v1.34.4
- v1.35.1
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Fetch history for chart testing
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v3.5
uses: azure/setup-helm@v4
with:
version: ${{ env.VERSION_HELM }}
- name: Run kubeval
Expand All @@ -94,24 +94,24 @@ 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.25.11
- v1.26.6
- v1.27.3
- v1.28.0
- v1.32.11
- v1.33.7
- v1.34.3
- v1.35.1
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Fetch history for chart testing
run: git fetch --prune --unshallow
- name: Set up Helm
uses: azure/setup-helm@v3.5
uses: azure/setup-helm@v4
with:
version: ${{ env.VERSION_HELM }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v6
with:
python-version: ${{ env.VERSION_PYTHON }}
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
uses: helm/chart-testing-action@v2
with:
version: ${{ env.VERSION_CHART_TESTING }}
- name: Check for changed charts
Expand All @@ -122,9 +122,9 @@ jobs:
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Create kind ${{ matrix.k8s }} cluster
uses: helm/kind-action@v1.8.0
uses: helm/kind-action@v1.14.0
with:
version: v0.20.0
version: v0.31.0
config: .github/kind-config.yaml
node_image: kindest/node:${{ matrix.k8s }}
if: ${{ steps.list-changed.outputs.changed == 'true' }}
Expand Down