You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/10/09 00:36:48 UTC

[shardingsphere] branch master updated: Refactor : move some jobs take time from ci to nightly ci (#21405)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2331755e2c0 Refactor : move some jobs take time from ci to nightly ci (#21405)
2331755e2c0 is described below

commit 2331755e2c0ff685386b8f2e77e5b41c9e95f157
Author: 孙念君 Nianjun Sun <su...@sphere-ex.com>
AuthorDate: Sun Oct 9 08:36:36 2022 +0800

    Refactor : move some jobs take time from ci to nightly ci (#21405)
    
    * Refactor : move javadoc test from ci to nightly ci
    
    * Refactor : refactor the ci install to concurrent
    
    * Refactor : extract the maven concurrency option to global OPTS
    
    * Refactor : revert the concurrency execution of maven
    
    Co-authored-by: 孙念君 Nianjun Sun <su...@apache.com>
---
 .github/workflows/ci.yml         | 8 ++++----
 .github/workflows/nightly-ci.yml | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4b6cfc3a1cd..f824c1aa05e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -50,7 +50,7 @@ concurrency:
   cancel-in-progress: true
 
 env:
-  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dcheckstyle.skip=true -Dspotless.apply.skip=true
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dcheckstyle.skip=true -Dspotless.apply.skip=true -Dmaven.javadoc.skip=true -Djacoco.skip=true
 
 jobs:
   ci:
@@ -76,9 +76,9 @@ jobs:
       - name: Maven resolve ranges
         run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'
       - name: Build prod with Maven
-        run: ./mvnw -B -ntp clean install -Dmaven.javadoc.skip=true -Djacoco.skip=true 
+        run: ./mvnw -T1C -B -ntp clean install
       - name: Build examples with Maven
-        run: ./mvnw -B -f examples/pom.xml clean package -DskipTests
+        run: ./mvnw -T1C -B -f examples/pom.xml clean package -DskipTests
 
   test-coverage:
     if: github.repository == 'apache/shardingsphere'
@@ -98,6 +98,6 @@ jobs:
           distribution: 'temurin'
           java-version: 8
       - name: Test with Maven
-        run: ./mvnw -B -ntp clean install cobertura:cobertura -Dmaven.javadoc.skip=true
+        run: ./mvnw -T1C -B -ntp clean install cobertura:cobertura -Djacoco.skip=false
       - name: Upload to Codecov
         run: bash <(curl -s https://codecov.io/bash)
diff --git a/.github/workflows/nightly-ci.yml b/.github/workflows/nightly-ci.yml
index ce5feaa6436..507e8681b42 100644
--- a/.github/workflows/nightly-ci.yml
+++ b/.github/workflows/nightly-ci.yml
@@ -51,6 +51,6 @@ jobs:
           restore-keys: |
             ${{ runner.os }}-maven-
       - name: Build prod with Maven
-        run: ./mvnw -B -ntp clean install
+        run: ./mvnw -T1C -B -ntp clean install
       - name: Build examples with Maven
-        run: ./mvnw -B -f examples/pom.xml clean package
+        run: ./mvnw -T1C -B -f examples/pom.xml clean package