You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2023/04/12 12:14:48 UTC

[kyuubi] 02/04: Revert "[KYUUBI #4481] Setup and use cached maven in CI jobs"

This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git

commit af82f4dfb885090eb0f16db4529ee9dce8d11fb5
Author: Cheng Pan <ch...@apache.org>
AuthorDate: Wed Apr 12 20:08:49 2023 +0800

    Revert "[KYUUBI #4481] Setup and use cached maven in CI jobs"
    
    This reverts commit d2a0fe2b60b6b20406ce7c02a553807b2ffdfc6e.
---
 .github/actions/setup-mvnd/action.yaml |  5 +++--
 .github/workflows/dep.yml              |  2 +-
 .github/workflows/license.yml          |  2 +-
 .github/workflows/master.yml           | 16 ----------------
 .github/workflows/nightly.yml          |  2 --
 .github/workflows/style.yml            |  2 +-
 6 files changed, 6 insertions(+), 23 deletions(-)

diff --git a/.github/actions/setup-mvnd/action.yaml b/.github/actions/setup-mvnd/action.yaml
index dac05c024..55c8139ff 100644
--- a/.github/actions/setup-mvnd/action.yaml
+++ b/.github/actions/setup-mvnd/action.yaml
@@ -16,7 +16,8 @@
 #
 
 name: 'setup-mvnd'
-description: 'Setup Maven and Mvnd'
+description: 'Setup the maven daemon'
+continue-on-error: true
 runs:
   using: composite
   steps:
@@ -31,5 +32,5 @@ runs:
       run: build/mvn -v
       shell: bash
     - name: Check Mvnd
-      run: build/mvnd -v || true
+      run: build/mvnd -v
       shell: bash
diff --git a/.github/workflows/dep.yml b/.github/workflows/dep.yml
index 09197951a..72f5c915d 100644
--- a/.github/workflows/dep.yml
+++ b/.github/workflows/dep.yml
@@ -45,7 +45,7 @@ jobs:
           java-version: 8
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
+      - name: Setup Mvnd
         uses: ./.github/actions/setup-mvnd
       - name: Check kyuubi modules available
         id: modules-check
diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml
index e62605e7f..a490def91 100644
--- a/.github/workflows/license.yml
+++ b/.github/workflows/license.yml
@@ -42,7 +42,7 @@ jobs:
           java-version: 8
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
+      - name: Setup Mvnd
         uses: ./.github/actions/setup-mvnd
       - run: >-
           build/mvnd org.apache.rat:apache-rat-plugin:check
diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml
index b8b3f7072..8d8eaa009 100644
--- a/.github/workflows/master.yml
+++ b/.github/workflows/master.yml
@@ -77,8 +77,6 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
-        uses: ./.github/actions/setup-mvnd
       - name: Cache Engine Archives
         uses: ./.github/actions/cache-engine-archives
       - name: Setup Python
@@ -133,8 +131,6 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
-        uses: ./.github/actions/setup-mvnd
       - name: Cache Engine Archives
         uses: ./.github/actions/cache-engine-archives
       - name: Build and test Kyuubi AuthZ with supported Spark versions
@@ -181,8 +177,6 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
-        uses: ./.github/actions/setup-mvnd
       - name: Cache Engine Archives
         uses: ./.github/actions/cache-engine-archives
       - name: Build Flink with maven w/o linters
@@ -229,8 +223,6 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
-        uses: ./.github/actions/setup-mvnd
       - name: Cache Engine Archives
         uses: ./.github/actions/cache-engine-archives
       - name: Build and test Hive with maven w/o linters
@@ -268,8 +260,6 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
-        uses: ./.github/actions/setup-mvnd
       - name: Cache Engine Archives
         uses: ./.github/actions/cache-engine-archives
       - name: Build and test JDBC with maven w/o linters
@@ -307,8 +297,6 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
-        uses: ./.github/actions/setup-mvnd
       - name: Cache Engine Archives
         uses: ./.github/actions/cache-engine-archives
       - name: Build and test Trino with maven w/o linters
@@ -341,8 +329,6 @@ jobs:
           java-version: 8
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
-        uses: ./.github/actions/setup-mvnd
       - name: Cache Engine Archives
         uses: ./.github/actions/cache-engine-archives
       - name: Run TPC-DS Tests
@@ -480,8 +466,6 @@ jobs:
           java-version: ${{ matrix.java }}
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
-        uses: ./.github/actions/setup-mvnd
       - name: Cache Engine Archives
         uses: ./.github/actions/cache-engine-archives
       - name: zookeeper integration tests
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index b53a7d292..149da6d82 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -43,8 +43,6 @@ jobs:
           java-version: 8
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
-        uses: ./.github/actions/setup-mvnd
       - name: Build with Maven
         run: ./build/mvn clean install ${{ matrix.profiles }} -Dmaven.javadoc.skip=true -V
       - name: Upload test logs
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index 2824e5972..6ca1903e1 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -47,7 +47,7 @@ jobs:
           java-version: 8
           cache: 'maven'
           check-latest: false
-      - name: Setup Maven and Mvnd
+      - name: Setup Mvnd
         uses: ./.github/actions/setup-mvnd
       - name: Setup Python 3
         uses: actions/setup-python@v4