Skip to content

Commit

Permalink
chore: remove cache job and aling with the other workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
iocanel committed Jun 3, 2021
1 parent 81cb75c commit 6ece4ee
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci-kuberenetes-itests.yml
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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 6ece4ee

Please sign in to comment.