NIFI-7238 Continue to improve Github Actions CI stability

This commit is contained in:
Joe Witt 2020-03-25 11:29:17 -04:00
parent aeaf953e06
commit efe2bca4cb
No known key found for this signature in database
GPG Key ID: 9093BF854F811A1A
1 changed files with 58 additions and 58 deletions

View File

@ -16,51 +16,51 @@ jobs:
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.npm path: ~/.npm
key: nix-npm-${{ hashFiles('**/package-lock.json') }} key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: | restore-keys: |
nix-npm- npm-
- name: Check Maven Com Cache - name: Check Maven Com Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/com path: ~/.m2/repository/com
key: nix-maven-com-${{ hashFiles('**/pom.xml') }} key: mvn-com-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-com- mvn-com-
- name: Check Maven Org Cache - name: Check Maven Org Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/org path: ~/.m2/repository/org
key: nix-maven-org-${{ hashFiles('**/pom.xml') }} key: mvn-org-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-org- mvn-org-
- name: Check Maven Net Cache - name: Check Maven Net Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/net path: ~/.m2/repository/net
key: nix-maven-net-${{ hashFiles('**/pom.xml') }} key: mvn-net-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-net- mvn-net-
- name: Check Maven IO Cache - name: Check Maven IO Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/io path: ~/.m2/repository/io
key: nix-maven-io-${{ hashFiles('**/pom.xml') }} key: mvn-io-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-io- mvn-io-
- name: Check Maven BIZ Cache - name: Check Maven BIZ Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/biz path: ~/.m2/repository/biz
key: nix-maven-biz-${{ hashFiles('**/pom.xml') }} key: mvn-biz-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-biz- mvn-biz-
- name: Check Maven IT Cache - name: Check Maven IT Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/it path: ~/.m2/repository/it
key: nix-maven-it-${{ hashFiles('**/pom.xml') }} key: mvn-it-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-it- mvn-it-
- name: Set up JDK 1.8 FR - name: Set up JDK 1.8 FR
uses: actions/setup-java@v1.3.0 uses: actions/setup-java@v1.3.0
with: with:
@ -70,7 +70,7 @@ jobs:
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" 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: | run: |
mvn -version mvn -version
mvn -T 0.8C install -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff mvn -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly
rm -rf ~/.m2/repository/org/apache/nifi rm -rf ~/.m2/repository/org/apache/nifi
ubuntu-build-en: ubuntu-build-en:
@ -86,51 +86,51 @@ jobs:
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.npm path: ~/.npm
key: nix-npm-${{ hashFiles('**/package-lock.json') }} key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: | restore-keys: |
nix-npm- npm-
- name: Check Maven Com Cache - name: Check Maven Com Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/com path: ~/.m2/repository/com
key: nix-maven-com-${{ hashFiles('**/pom.xml') }} key: mvn-com-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-com- mvn-com-
- name: Check Maven Org Cache - name: Check Maven Org Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/org path: ~/.m2/repository/org
key: nix-maven-org-${{ hashFiles('**/pom.xml') }} key: mvn-org-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-org- mvn-org-
- name: Check Maven Net Cache - name: Check Maven Net Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/net path: ~/.m2/repository/net
key: nix-maven-net-${{ hashFiles('**/pom.xml') }} key: mvn-net-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-net- mvn-net-
- name: Check Maven IO Cache - name: Check Maven IO Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/io path: ~/.m2/repository/io
key: nix-maven-io-${{ hashFiles('**/pom.xml') }} key: mvn-io-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-io- mvn-io-
- name: Check Maven BIZ Cache - name: Check Maven BIZ Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/biz path: ~/.m2/repository/biz
key: nix-maven-biz-${{ hashFiles('**/pom.xml') }} key: mvn-biz-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-biz- mvn-biz-
- name: Check Maven IT Cache - name: Check Maven IT Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/it path: ~/.m2/repository/it
key: nix-maven-it-${{ hashFiles('**/pom.xml') }} key: mvn-it-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-it- mvn-it-
- name: Set up JDK 11 EN - name: Set up JDK 11 EN
uses: actions/setup-java@v1.3.0 uses: actions/setup-java@v1.3.0
with: with:
@ -140,7 +140,7 @@ jobs:
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" 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: | run: |
mvn -version mvn -version
mvn -T 0.8C install -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff mvn -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly
rm -rf ~/.m2/repository/org/apache/nifi rm -rf ~/.m2/repository/org/apache/nifi
osx-build-jp: osx-build-jp:
@ -156,51 +156,51 @@ jobs:
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.npm path: ~/.npm
key: nix-npm-${{ hashFiles('**/package-lock.json') }} key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: | restore-keys: |
nix-npm- npm-
- name: Check Maven Com Cache - name: Check Maven Com Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/com path: ~/.m2/repository/com
key: nix-maven-com-${{ hashFiles('**/pom.xml') }} key: mvn-com-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-com- mvn-com-
- name: Check Maven Org Cache - name: Check Maven Org Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/org path: ~/.m2/repository/org
key: nix-maven-org-${{ hashFiles('**/pom.xml') }} key: mvn-org-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-org- mvn-org-
- name: Check Maven Net Cache - name: Check Maven Net Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/net path: ~/.m2/repository/net
key: nix-maven-net-${{ hashFiles('**/pom.xml') }} key: mvn-net-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-net- mvn-net-
- name: Check Maven IO Cache - name: Check Maven IO Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/io path: ~/.m2/repository/io
key: nix-maven-io-${{ hashFiles('**/pom.xml') }} key: mvn-io-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-io- mvn-io-
- name: Check Maven BIZ Cache - name: Check Maven BIZ Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/biz path: ~/.m2/repository/biz
key: nix-maven-biz-${{ hashFiles('**/pom.xml') }} key: mvn-biz-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-biz- mvn-biz-
- name: Check Maven IT Cache - name: Check Maven IT Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~/.m2/repository/it path: ~/.m2/repository/it
key: nix-maven-it-${{ hashFiles('**/pom.xml') }} key: mvn-it-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-it- mvn-it-
- name: Set up JDK 1.8 JP - name: Set up JDK 1.8 JP
uses: actions/setup-java@v1.3.0 uses: actions/setup-java@v1.3.0
with: with:
@ -210,7 +210,7 @@ jobs:
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" 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: | run: |
mvn -version mvn -version
mvn -T 0.8C install -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff mvn -T 0.8C package -B -Pcontrib-check,include-grpc -Ddir-only -ntp -ff -pl -nifi-assembly,-nifi-toolkit/nifi-toolkit-assembly
rm -rf ~/.m2/repository/org/apache/nifi rm -rf ~/.m2/repository/org/apache/nifi
windows-build: windows-build:
@ -229,44 +229,44 @@ jobs:
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~\.m2\repository\com path: ~\.m2\repository\com
key: windows-maven-com-${{ hashFiles('**\pom.xml') }} key: win-mvn-com-${{ hashFiles('**\pom.xml') }}
restore-keys: | restore-keys: |
windows-maven-com- win-mvn-com-
- name: Check Maven Org Cache - name: Check Maven Org Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~\.m2\repository\org path: ~\.m2\repository\org
key: windows-maven-org-${{ hashFiles('**\pom.xml') }} key: win-mvn-org-${{ hashFiles('**\pom.xml') }}
restore-keys: | restore-keys: |
windows-maven-org- win-mvn-org-
- name: Check Maven Net Cache - name: Check Maven Net Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~\.m2\repository\net path: ~\.m2\repository\net
key: windows-maven-net-${{ hashFiles('**\pom.xml') }} key: win-mvn-net-${{ hashFiles('**\pom.xml') }}
restore-keys: | restore-keys: |
windows-maven-net- win-mvn-net-
- name: Check Maven IO Cache - name: Check Maven IO Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~\.m2\repository\io path: ~\.m2\repository\io
key: windows-maven-io-${{ hashFiles('**\pom.xml') }} key: win-mvn-io-${{ hashFiles('**\pom.xml') }}
restore-keys: | restore-keys: |
windows-maven-io- win-mvn-io-
- name: Check Maven BIZ Cache - name: Check Maven BIZ Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~\.m2\repository\biz path: ~\.m2\repository\biz
key: nix-maven-biz-${{ hashFiles('**\pom.xml') }} key: win-mvn-biz-${{ hashFiles('**\pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-biz- win-mvn-biz-
- name: Check Maven IT Cache - name: Check Maven IT Cache
uses: actions/cache@v1.1.2 uses: actions/cache@v1.1.2
with: with:
path: ~\.m2\repository\it path: ~\.m2\repository\it
key: nix-maven-it-${{ hashFiles('**\pom.xml') }} key: win-mvn-it-${{ hashFiles('**\pom.xml') }}
restore-keys: | restore-keys: |
nix-maven-it- win-mvn-it-
- name: Set up JDK 1.8 - name: Set up JDK 1.8
uses: actions/setup-java@v1.3.0 uses: actions/setup-java@v1.3.0
with: with:
@ -276,5 +276,5 @@ jobs:
MAVEN_OPTS: -Xmx2g -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=en -Duser.region=US -Duser.timezone=US/Pacific" MAVEN_OPTS: -Xmx2g -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dmaven.surefire.arguments="-Duser.language=en -Duser.region=US -Duser.timezone=US/Pacific"
run: | run: |
mvn -version mvn -version
mvn -T 0.8C install -B -Ddir-only -ntp -ff mvn -T 0.8C package -B -Ddir-only -ntp -ff -pl -nifi-assembly
Remove-Item -path '~\.m2\repository\org\apache\nifi' -recurse -force Remove-Item -path '~\.m2\repository\org\apache\nifi' -recurse -force