Skip to content

Commit

Permalink
Upgrade github actions and test against currently supported Kubernet…
Browse files Browse the repository at this point in the history
…es versions.
  • Loading branch information
cfis committed Jan 28, 2024
1 parent 6034bff commit dfec5ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/on-push-lint-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v3
with:
version: ${{ env.HELM_VERSION }}

Expand All @@ -49,21 +49,21 @@ jobs:
strategy:
matrix:
# Choose from https://hub.docker.com/r/kindest/node/tags
KubeVersion: [1.24.15,1.25.11,1.26.6,1.27.3,1.28.0]
KubeVersion: [1.27.3, 1.28.0, 1.29.0]

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

# python is a requirement for the chart-testing action below (supports yamllint among other tests)
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: 3.11

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.1.0
uses: helm/chart-testing-action@v2.6.0

- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -77,7 +77,7 @@ jobs:
run: ct lint --config .ci/ct-config.yaml

- name: Create ${{matrix.KubeVersion}} kind cluster
uses: helm/kind-action@v1.2.0
uses: helm/kind-action@v1.5.0
with:
node_image: kindest/node:v${{matrix.KubeVersion}}
cluster_name: kubernetes-${{matrix.KubeVersion}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-push-master-publish-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -32,7 +32,7 @@ jobs:
helm repo add haprox https://haproxytech.github.io/helm-charts --force-update
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.1.0
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit dfec5ee

Please sign in to comment.