Skip to content

Commit

Permalink
ci: Run on Kubernetes 1.28.2
Browse files Browse the repository at this point in the history
  • Loading branch information
manusa committed Sep 22, 2023
1 parent 6e9c076 commit ae71fcb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: E2E Tests
on:
push:
branches:
- master
pull_request:

jobs:
minikube:
Expand All @@ -11,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
kubernetes: [v1.25.6,1.24.4,1.23.10,v1.19.16]
kubernetes: [v1.28.2,v1.27.6,v1.26.9,v1.25.14]
env:
K8S_VERSION: ${{ matrix.kubernetes }}
steps:
Expand All @@ -20,12 +22,12 @@ jobs:
with:
fetch-depth: 0
- name: Setup Minikube-Kubernetes
uses: manusa/actions-setup-minikube@v2.7.2
uses: manusa/actions-setup-minikube@v2.9.0
with:
minikube version: v1.25.2
minikube version: v1.31.2
kubernetes version: ${{ matrix.kubernetes }}
github token: ${{ secrets.GITHUB_TOKEN }}
start args: '--addons=metrics-server --force'
start args: '--addons=metrics-server'
# --extra-config=apiserver.runtime-config=api/beta=true'
- name: Setup Java 17
uses: actions/setup-java@v3
Expand All @@ -36,7 +38,7 @@ jobs:
if: success()
run: ./gradlew build -PskipPublishing
- name: Sonar Analysis
if: success() && startsWith(matrix.kubernetes, 'v1.25')
if: success() && startsWith(matrix.kubernetes, 'v1.28')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew -Dorg.gradle.jvmargs=-Xmx512m jacocoRootReport sonar -PskipPublishing
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Minikube-Kubernetes
uses: manusa/actions-setup-minikube@v2.7.2
uses: manusa/actions-setup-minikube@v2.9.0
with:
minikube version: v1.25.2
kubernetes version: v1.25.6
minikube version: v1.31.2
kubernetes version: v1.28.2
github token: ${{ secrets.GITHUB_TOKEN }}
start args: '--addons=metrics-server --force'
# --extra-config=apiserver.runtime-config=api/beta=true'
- name: Setup Java 11
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit ae71fcb

Please sign in to comment.