You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2020/04/02 17:24:55 UTC

[nifi] branch master updated: NIFI-7311 adding additional cleanup and output to github actions yml and not running nifi-system-test module

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

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


The following commit(s) were added to refs/heads/master by this push:
     new a9bed56  NIFI-7311 adding additional cleanup and output to github actions yml and not running nifi-system-test module
a9bed56 is described below

commit a9bed56f684685e660fc60a9e65673b756ad116a
Author: Joe Witt <jo...@apache.org>
AuthorDate: Thu Apr 2 11:20:18 2020 -0400

    NIFI-7311 adding additional cleanup and output to github actions yml and not running nifi-system-test module
    
    Self merging wo review as part of github ci actions stability.
    
    Signed-off-by: Joe Witt <jo...@apache.org>
---
 .github/workflows/ci-workflow.yml | 162 +++++++++++++++++++++++---------------
 1 file changed, 99 insertions(+), 63 deletions(-)

diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml
index ef32d48..5de3f68 100644
--- a/.github/workflows/ci-workflow.yml
+++ b/.github/workflows/ci-workflow.yml
@@ -10,66 +10,80 @@ jobs:
     name: Ubuntu - JDK 1.8 FR
 
     steps:
-    - name: Checkout Code
-      uses: actions/checkout@v2
-    - name: Check NPM Cache
-      uses: actions/cache@v1.1.2
-      with:
-        path: ~/.npm
-        key: npm-${{ hashFiles('**/package-lock.json') }}
-        restore-keys: |
-          npm-
-    - name: Check Maven Com Cache
-      uses: actions/cache@v1.1.2
-      with:
-        path: ~/.m2/repository/com
-        key: mvn-com-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          mvn-com-
-    - name: Check Maven Org Cache
-      uses: actions/cache@v1.1.2
-      with:
-        path: ~/.m2/repository/org
-        key: mvn-org-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          mvn-org-
-    - name: Check Maven Net Cache
-      uses: actions/cache@v1.1.2
-      with:
-        path: ~/.m2/repository/net
-        key: mvn-net-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          mvn-net-
-    - name: Check Maven IO Cache
-      uses: actions/cache@v1.1.2
-      with:
-        path: ~/.m2/repository/io
-        key: mvn-io-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          mvn-io-
-    - name: Check Maven BIZ Cache
-      uses: actions/cache@v1.1.2
-      with:
-        path: ~/.m2/repository/biz
-        key: mvn-biz-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          mvn-biz-
-    - name: Check Maven IT Cache
-      uses: actions/cache@v1.1.2
-      with:
-        path: ~/.m2/repository/it
-        key: mvn-it-${{ hashFiles('**/pom.xml') }}
-        restore-keys: |
-          mvn-it-
-    - name: Set up JDK 1.8 FR
-      uses: actions/setup-java@v1.3.0
-      with:
-        java-version: 1.8
-    - name: Build with Maven
-      env:
-        MAVEN_OPTS: -Xmx2g -XX:ReservedCodeCacheSize=1g -XX:+UseG1GC -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=fr -Duser.region=FR -Duser.timezone=Europe/Paris"
-      run: |
-        mvn -V -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly -nsu
+      - name: Disk Before Code and Cache
+        run: |
+          sudo swapoff -a
+          sudo rm -f /swapfile
+          sudo apt clean
+          docker rmi $(docker image ls -aq)
+          df -h
+      - name: Checkout Code
+        uses: actions/checkout@v2
+      - name: Check NPM Cache
+        uses: actions/cache@v1.1.2
+        with:
+          path: ~/.npm
+          key: npm-${{ hashFiles('**/package-lock.json') }}
+          restore-keys: |
+            npm-
+      - name: Check Maven Com Cache
+        uses: actions/cache@v1.1.2
+        with:
+          path: ~/.m2/repository/com
+          key: mvn-com-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            mvn-com-
+      - name: Check Maven Org Cache
+        uses: actions/cache@v1.1.2
+        with:
+          path: ~/.m2/repository/org
+          key: mvn-org-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            mvn-org-
+      - name: Check Maven Net Cache
+        uses: actions/cache@v1.1.2
+        with:
+          path: ~/.m2/repository/net
+          key: mvn-net-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            mvn-net-
+      - name: Check Maven IO Cache
+        uses: actions/cache@v1.1.2
+        with:
+          path: ~/.m2/repository/io
+          key: mvn-io-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            mvn-io-
+      - name: Check Maven BIZ Cache
+        uses: actions/cache@v1.1.2
+        with:
+          path: ~/.m2/repository/biz
+          key: mvn-biz-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            mvn-biz-
+      - name: Check Maven IT Cache
+        uses: actions/cache@v1.1.2
+        with:
+          path: ~/.m2/repository/it
+          key: mvn-it-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            mvn-it-
+      - name: Set up JDK 1.8 FR
+        uses: actions/setup-java@v1.3.0
+        with:
+          java-version: 1.8
+      - name: Disk After Cache
+        run: |
+          df -h
+      - name: Build with Maven
+        env:
+          MAVEN_OPTS: -Xmx2g -XX:ReservedCodeCacheSize=1g -XX:+UseG1GC -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=fr -Duser.region=FR -Duser.timezone=Europe/Paris"
+        run: |
+          mvn -V -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly,-nifi-system-tests -nsu
+      - name: Disk After Build
+        run: |
+          df -h
+
 
   ubuntu-build-en:
 
@@ -78,6 +92,13 @@ jobs:
     name: Ubuntu - JDK 11 EN
 
     steps:
+      - name: Disk Before Code and Cache
+        run: |
+          sudo swapoff -a
+          sudo rm -f /swapfile
+          sudo apt clean
+          docker rmi $(docker image ls -aq)
+          df -h
       - name: Checkout Code
         uses: actions/checkout@v2
       - name: Check NPM Cache
@@ -133,11 +154,17 @@ jobs:
         uses: actions/setup-java@v1.3.0
         with:
           java-version: 11
+      - name: Disk After Cache
+        run: |
+          df -h
       - name: Build with Maven
         env:
           MAVEN_OPTS: -Xmx2g -XX:ReservedCodeCacheSize=1g -XX:+UseG1GC -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=en -Duser.region=AU -Duser.timezone=Australia/Melbourne"
         run: |
-          mvn -V -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly -nsu
+          mvn -V -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly,-nifi-system-tests -nsu
+      - name: Disk After Build
+        run: |
+          df -h
 
   osx-build-jp:
 
@@ -146,6 +173,9 @@ jobs:
     name: MacOS - JDK 1.8 JP
 
     steps:
+      - name: Disk Before Code and Cache
+        run: |
+          df -h
       - name: Checkout Code
         uses: actions/checkout@v2
       - name: Check NPM Cache
@@ -201,11 +231,17 @@ jobs:
         uses: actions/setup-java@v1.3.0
         with:
           java-version: 1.8
+      - name: Disk After Cache
+        run: |
+          df -h
       - name: Build with Maven
         env:
           MAVEN_OPTS: -Xmx2g -XX:ReservedCodeCacheSize=1g -XX:+UseG1GC -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=ja -Duser.region=JP -Duser.timezone=Asia/Tokyo"
         run: |
-          mvn -V -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly -nsu
+          mvn -V -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly,-nifi-system-tests -nsu
+      - name: Disk After Build
+        run: |
+          df -h
 
   windows-build:
 
@@ -269,4 +305,4 @@ jobs:
         env:
           MAVEN_OPTS: -Xmx2g -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=en -Duser.region=US -Duser.timezone=US/Pacific"
         run: |
-          mvn -V -T 0.8C package -B -Ddir-only -ntp -ff -pl -nifi-assembly -nsu
+          mvn -V -T 0.8C package -B -Ddir-only -ntp -ff -pl -nifi-assembly -pl -nifi-system-tests -nsu