-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying to setup node before Compatibility Regression Testing (#10440)
- Loading branch information
Showing
4 changed files
with
70 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,16 @@ jobs: | |
java-version: 11 | ||
distribution: 'adopt' | ||
cache: 'maven' | ||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: v10.16.1 | ||
cache: 'npm' | ||
cache-dependency-path: pinot-controller/src/main/resources/package-lock.json | ||
- name: Install npm | ||
run: | | ||
npm install -g [email protected] | ||
npm --version | ||
- name: Pinot Compatibility Regression Testing | ||
if : ${{github.event_name == 'workflow_dispatch'}} | ||
env: | ||
|
@@ -52,7 +62,7 @@ jobs: | |
TEST_SUITE: ${{ matrix.test_suite }} | ||
MAVEN_OPTS: > | ||
-Xmx2G -DskipShade -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 | ||
-Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-Dmaven.wagon.http.retryHandler.count=30 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-XX:+IgnoreUnrecognizedVMOptions | ||
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ jobs: | |
env: | ||
MAVEN_OPTS: > | ||
-Xmx2G -DskipShade -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 | ||
-Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-Dmaven.wagon.http.retryHandler.count=30 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-XX:+IgnoreUnrecognizedVMOptions | ||
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
|
@@ -98,7 +98,7 @@ jobs: | |
RUN_TEST_SET: ${{ matrix.testset }} | ||
MAVEN_OPTS: > | ||
-Xmx2G -DskipShade -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 | ||
-Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-Dmaven.wagon.http.retryHandler.count=30 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-XX:+IgnoreUnrecognizedVMOptions | ||
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
|
@@ -144,7 +144,7 @@ jobs: | |
RUN_TEST_SET: ${{ matrix.testset }} | ||
MAVEN_OPTS: > | ||
-Xmx2G -DskipShade -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 | ||
-Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-Dmaven.wagon.http.retryHandler.count=30 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-XX:+IgnoreUnrecognizedVMOptions | ||
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
|
@@ -166,16 +166,28 @@ jobs: | |
strategy: | ||
matrix: | ||
test_suite: [ "compatibility-verifier/sample-test-suite" ] | ||
old_commit: [ "release-0.9.0", "master" ] | ||
old_commit: [ | ||
"release-0.9.3", "release-0.10.0", "release-0.11.0", "release-0.12.1", "master" | ||
] | ||
name: Pinot Compatibility Regression Testing against ${{ matrix.old_commit }} on ${{ matrix.test_suite }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 8 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 8 | ||
java-version: 11 | ||
distribution: 'adopt' | ||
cache: 'maven' | ||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: v10.16.1 | ||
cache: 'npm' | ||
cache-dependency-path: pinot-controller/src/main/resources/package-lock.json | ||
- name: Install npm | ||
run: | | ||
npm install -g [email protected] | ||
npm --version | ||
# Step that does that actual cache save and restore | ||
- uses: actions/cache@v3 | ||
env: | ||
|
@@ -192,7 +204,7 @@ jobs: | |
TEST_SUITE: ${{ matrix.test_suite }} | ||
MAVEN_OPTS: > | ||
-Xmx2G -DskipShade -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 | ||
-Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-Dmaven.wagon.http.retryHandler.count=30 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-XX:+IgnoreUnrecognizedVMOptions | ||
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
|
@@ -246,7 +258,7 @@ jobs: | |
env: | ||
MAVEN_OPTS: > | ||
-Xmx2G -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 | ||
-Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-Dmaven.wagon.http.retryHandler.count=30 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
-XX:+IgnoreUnrecognizedVMOptions | ||
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED | ||
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED | ||
|
@@ -263,6 +275,6 @@ jobs: | |
cache: 'maven' | ||
- name: Build presto pinot driver with JDK 8 | ||
env: | ||
MAVEN_OPTS: -Xmx2G -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
MAVEN_OPTS: -Xmx2G -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=30 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false | ||
run: | | ||
mvn clean install -DskipTests -Ppresto-driver -am -B -pl ':presto-pinot-driver' -Djdk.version=8 -T 16 || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters