Skip to content

Commit

Permalink
Update E2E tests Kubernetes matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Solórzano <[email protected]>
  • Loading branch information
jorsol authored and manusa committed Feb 4, 2022
1 parent 0817caf commit d013a0e
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
uses: actions/checkout@v2
- name: Cache .m2 registry
uses: actions/cache@v2.1.7
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-maven-
- name: Setup Java 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'temurin'
- name: Install Kubernetes Client
run: mvn -f pom.xml ${MAVEN_ARGS} -DskipTests clean install
run: mvn ${MAVEN_ARGS} -f pom.xml clean install -DskipTests -Djacoco.skip=true

minikube:
name: K8S
Expand All @@ -57,19 +62,19 @@ jobs:
strategy:
fail-fast: false
matrix:
kubernetes: [v1.23.0,v1.22.1,v1.20.1,v1.19.2,v1.12.0]
kubernetes: [v1.23.3, v1.22.6, v1.20.15, v1.19.16, v1.12.10]
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
uses: actions/checkout@v2
- name: Setup Minikube-Kubernetes
uses: manusa/[email protected]
with:
minikube version: v1.24.0
minikube version: v1.25.1
kubernetes version: ${{ matrix.kubernetes }}
github token: ${{ secrets.GITHUB_TOKEN }}
start args: '--addons=metrics-server --force'
- name: Cache .m2 registry
uses: actions/cache@v2.1.7
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}
Expand All @@ -82,24 +87,25 @@ jobs:
- name: Install and Run Integration Tests
run: |
mvn ${MAVEN_ARGS} -f $IT_DIR/pom.xml test -Dtest="io.fabric8.kubernetes.**"
openshift:
name: OpenShift
needs: buildWithoutTests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
openshift: [v3.11.0,v3.10.0]
openshift: [v3.11.0, v3.10.0]
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
uses: actions/checkout@v2
- name: Setup OpenShift
uses: manusa/[email protected]
with:
oc version: ${{ matrix.openshift }}
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Cache .m2 registry
uses: actions/cache@v2.1.7
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.sha }}
Expand Down

0 comments on commit d013a0e

Please sign in to comment.