-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jorge Solórzano <[email protected]>
- Loading branch information
Showing
1 changed file
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|
@@ -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 }} | ||
|