forked from apache/iotdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'apache:master' into master
- Loading branch information
Showing
2,249 changed files
with
124,271 additions
and
115,836 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 |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: New Cluster IT | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
# allow manually run the action: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
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 | ||
|
||
jobs: | ||
ClusterIT: | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 20 | ||
matrix: | ||
java: [ 8, 11, 17 ] | ||
os: [ ubuntu-latest, macos-latest, windows-latest ] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
- name: Cache Maven packages | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2- | ||
- name: Check Apache Rat | ||
run: mvn -B apache-rat:check -P site -P code-coverage | ||
- name: Adjust network dynamic TCP ports range | ||
if: ${{ runner.os == 'Windows' }} | ||
shell: pwsh | ||
run: | | ||
netsh int ipv4 set dynamicport tcp start=32768 num=32768 | ||
netsh int ipv4 set dynamicport udp start=32768 num=32768 | ||
netsh int ipv6 set dynamicport tcp start=32768 num=32768 | ||
netsh int ipv6 set dynamicport udp start=32768 num=32768 | ||
- name: Adjust Linux kernel somaxconn | ||
if: ${{ runner.os == 'Linux' }} | ||
shell: bash | ||
run: sudo sysctl -w net.core.somaxconn=65535 | ||
- name: Adjust Mac kernel somaxconn | ||
if: ${{ runner.os == 'macOS' }} | ||
shell: bash | ||
run: sudo sysctl -w kern.ipc.somaxconn=65535 | ||
- name: IT/UT Test | ||
shell: bash | ||
# we do not compile client-cpp for saving time, it is tested in client.yml | ||
# we can skip influxdb-protocol because it has been tested separately in influxdb-protocol.yml | ||
run: | | ||
mvn clean verify \ | ||
-DskipUTs \ | ||
-pl integration-test \ | ||
-am -PClusterIT | ||
- name: Upload Artifact | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: cluster-log-java${{ matrix.java }}-${{ runner.os }} | ||
path: integration-test/target/cluster-logs | ||
retention-days: 1 |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: New Standalone IT | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- 'docs/**' | ||
# allow manually run the action: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
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 | ||
|
||
jobs: | ||
StandaloneMppIT: | ||
strategy: | ||
fail-fast: false | ||
max-parallel: 20 | ||
matrix: | ||
java: [ 8, 11, 17 ] | ||
os: [ ubuntu-latest, macos-latest, windows-latest ] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
- name: Cache Maven packages | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2- | ||
- name: Check Apache Rat | ||
run: mvn -B apache-rat:check -P site -P code-coverage | ||
- name: Adjust network dynamic TCP ports range | ||
if: ${{ runner.os == 'Windows' }} | ||
shell: pwsh | ||
run: | | ||
netsh int ipv4 set dynamicport tcp start=32768 num=32768 | ||
netsh int ipv4 set dynamicport udp start=32768 num=32768 | ||
netsh int ipv6 set dynamicport tcp start=32768 num=32768 | ||
netsh int ipv6 set dynamicport udp start=32768 num=32768 | ||
- name: Adjust Linux kernel somaxconn | ||
if: ${{ runner.os == 'Linux' }} | ||
shell: bash | ||
run: sudo sysctl -w net.core.somaxconn=65535 | ||
- name: Adjust Mac kernel somaxconn | ||
if: ${{ runner.os == 'macOS' }} | ||
shell: bash | ||
run: sudo sysctl -w kern.ipc.somaxconn=65535 | ||
- name: IT/UT Test | ||
shell: bash | ||
# we do not compile client-cpp for saving time, it is tested in client.yml | ||
# we can skip influxdb-protocol because it has been tested separately in influxdb-protocol.yml | ||
run: | | ||
mvn clean verify \ | ||
-DskipUTs \ | ||
-DintegrationTest.forkCount=2 \ | ||
-pl integration-test \ | ||
-am -PLocalStandaloneOnMppIT | ||
- name: Upload Artifact | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: standalone-log-java${{ matrix.java }}-${{ runner.os }} | ||
path: integration-test/target/cluster-logs | ||
retention-days: 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
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
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
Oops, something went wrong.