-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove cache job and aling with the other workflows
- Loading branch information
Showing
1 changed file
with
17 additions
and
17 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Kubernetes Integration Tests | ||
name: Quarkus CI | ||
|
||
env: | ||
MAVEN_ARGS: -B -e | ||
|
@@ -10,23 +10,8 @@ on: | |
pull_request: | ||
types: [ opened, edited, labeled, reopened, synchronize ] | ||
jobs: | ||
cache: | ||
name: Cache | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Cache .m2 registry | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.sha }} | ||
restore-keys: ${{ runner.os }}-maven- | ||
- name: Install artifacts | ||
run: mvn -f pom.xml ${MAVEN_ARGS} -DskipTests clean install | ||
kubernetes: | ||
name: Kubernetes Integration Tests | ||
needs: cache | ||
if: github.event.label.name == 'area/kubernetes' || contains(github.event.pull_request.labels.*.name, 'area/kubernetes') | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -36,6 +21,14 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Download Maven Repo | ||
uses: actions/download-artifact@v1 | ||
with: | ||
name: maven-repo | ||
path: . | ||
- name: Extract Maven Repo | ||
shell: bash | ||
run: tar -xzf maven-repo.tgz -C ~ | ||
- name: Setup Minikube-Kubernetes | ||
uses: manusa/[email protected] | ||
with: | ||
|
@@ -61,7 +54,6 @@ jobs: | |
openshift: | ||
name: Openshift Integration Tests | ||
needs: cache | ||
if: github.event.label.name == 'area/kubernetes' || contains(github.event.pull_request.labels.*.name, 'area/kubernetes') | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
@@ -71,6 +63,14 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Download Maven Repo | ||
uses: actions/download-artifact@v1 | ||
with: | ||
name: maven-repo | ||
path: . | ||
- name: Extract Maven Repo | ||
shell: bash | ||
run: tar -xzf maven-repo.tgz -C ~ | ||
- name: Setup OpenShift | ||
uses: manusa/[email protected] | ||
with: | ||
|