Skip to content

Commit

Permalink
ci: bump k8s versions in deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt committed Sep 23, 2024
1 parent 78be503 commit 055ca73
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 29 deletions.
11 changes: 2 additions & 9 deletions .github/actions/run-deployment-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,8 @@ runs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-java

- name: Setup Helm
uses: azure/[email protected]
with:
version: v3.8.1

- name: Setup Kubectl
uses: azure/[email protected]
with:
version: 'v1.28.2'
- uses: ./.github/actions/setup-helm
- uses: ./.github/actions/setup-kubectl

- name: Create k8s Kind Cluster
uses: helm/[email protected]
Expand Down
29 changes: 29 additions & 0 deletions .github/actions/setup-helm/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#################################################################################
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0
#################################################################################


---
name: "Setup Helm"
description: "Setup Helm"
runs:
using: "composite"
steps:
- uses: azure/setup-helm@v4
with:
version: v3.16.1
29 changes: 29 additions & 0 deletions .github/actions/setup-kubectl/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#################################################################################
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# SPDX-License-Identifier: Apache-2.0
#################################################################################


---
name: "Setup Kubectl"
description: "Setup Kubectl"
runs:
using: "composite"
steps:
- uses: azure/setup-kubectl@v4
with:
version: v1.31.1
6 changes: 3 additions & 3 deletions .github/workflows/deployment-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ jobs:
fail-fast: false
# this will verify that the official distribution of the Tractus-X EDC Helm chart runs on the last 3 Kubernetes versions
matrix:
k8s-version: [ "v1.30.2",
"v1.29.4",
"v1.28.9" ]
k8s-version: [ "v1.31.0",
"v1.30.4",
"v1.29.8" ]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/helm-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: helm (setup)
uses: azure/setup-helm@v4
with:
version: v3.8.1
- uses: ./.github/actions/setup-helm
- name: python (setup)
uses: actions/setup-python@v5
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.8.1
- uses: ./.github/actions/setup-helm
- name: Package helm, update index.yaml and push to gh-pages
run: |
# Prepare git env
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/upgradeability-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: "Setup Helm"
uses: azure/setup-helm@v4
with:
version: v3.8.1

- name: "Setup Kubectl"
uses: azure/setup-kubectl@v4
with:
version: 'v1.28.2'
- uses: ./.github/actions/setup-helm
- uses: ./.github/actions/setup-kubectl

- name: Create k8s Kind Cluster
uses: helm/[email protected]
Expand Down

0 comments on commit 055ca73

Please sign in to comment.