You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by he...@apache.org on 2022/02/11 02:30:49 UTC

[incubator-inlong] branch master updated: [INLONG-2458] update the CI/CD workflows (#2459)

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

healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new dd40ead  [INLONG-2458] update the CI/CD workflows (#2459)
dd40ead is described below

commit dd40ead79b1a8b65ad64cdd368b1aeff95f8376b
Author: dockerzhang <do...@apache.org>
AuthorDate: Fri Feb 11 10:30:43 2022 +0800

    [INLONG-2458] update the CI/CD workflows (#2459)
---
 .github/workflows/ci_build.yml        | 18 +-----------------
 .github/workflows/ci_build_docker.yml |  2 +-
 .github/workflows/ci_ut.yml           | 16 +++++++---------
 3 files changed, 9 insertions(+), 27 deletions(-)

diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index e0aa8ed..03803b6 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -49,20 +49,4 @@ jobs:
       - name: Build with Maven
         run: mvn --batch-mode --update-snapshots -e -V clean install -DskipTests
         env:
-          CI: false
-
-      - name: Upload unit test results
-        if: ${{ failure() }}
-        uses: actions/upload-artifact@v2
-        with:
-          name: surefire-reports
-          path: ./**/target/surefire-reports/
-          if-no-files-found: ignore
-
-      - name: Upload integration test results
-        if: ${{ failure() }}
-        uses: actions/upload-artifact@v2
-        with:
-          name: failsafe-reports
-          path: ./**/target/failsafe-reports/
-          if-no-files-found: ignore
+          CI: false
\ No newline at end of file
diff --git a/.github/workflows/ci_build_docker.yml b/.github/workflows/ci_build_docker.yml
index d7ff438..ca3e1c2 100644
--- a/.github/workflows/ci_build_docker.yml
+++ b/.github/workflows/ci_build_docker.yml
@@ -47,6 +47,6 @@ jobs:
           restore-keys: ${{ runner.os }}-m2
 
       - name: Build docker image
-        run: mvn --batch-mode --update-snapshots -e -V clean verify -DskipTests -Pdocker
+        run: mvn --batch-mode --update-snapshots -e -V clean package -DskipTests -Pdocker
         env:
           CI: false
diff --git a/.github/workflows/ci_ut.yml b/.github/workflows/ci_ut.yml
index 4ec9610..bf7219b 100644
--- a/.github/workflows/ci_ut.yml
+++ b/.github/workflows/ci_ut.yml
@@ -46,8 +46,13 @@ jobs:
           key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-m2
 
+      - name: Build with Maven
+        run: mvn --batch-mode --update-snapshots -e -V clean install -DskipTests
+        env:
+          CI: false
+
       - name: Unit test with Maven
-        run: mvn --batch-mode --update-snapshots -e -V clean verify
+        run: mvn --batch-mode --update-snapshots -e -V test
         env:
           CI: false
 
@@ -65,11 +70,4 @@ jobs:
         with:
           name: failsafe-reports
           path: ./**/target/failsafe-reports/
-          if-no-files-found: ignore
-
-      - name: Upload coverage to Codecov
-        if: ${{ success() }}
-        uses: codecov/codecov-action@v1
-        with:
-          token: ${{ secrets.CODECOV_TOKEN }}
-          fail_ci_if_error: true
+          if-no-files-found: ignore
\ No newline at end of file