From 6ece4eecc4fcec76c831104db2d6c7788248dce8 Mon Sep 17 00:00:00 2001 From: Ioannis Canellos Date: Thu, 3 Jun 2021 18:35:22 +0300 Subject: [PATCH] chore: remove cache job and aling with the other workflows --- .github/workflows/ci-kuberenetes-itests.yml | 34 ++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci-kuberenetes-itests.yml b/.github/workflows/ci-kuberenetes-itests.yml index c97529089443a1..74160b5180cba3 100644 --- a/.github/workflows/ci-kuberenetes-itests.yml +++ b/.github/workflows/ci-kuberenetes-itests.yml @@ -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/checkout@v2.3.4 - - name: Cache .m2 registry - uses: actions/cache@v2.1.5 - 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/checkout@v2.3.4 + - 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/actions-setup-minikube@v2.4.1 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/checkout@v2.3.4 + - 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/actions-setup-openshift@v1.1.3 with: