This is an automated email from the ASF dual-hosted git repository. yhu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push: new 234d0cdf6e3 Add Java IO Direct jobs: Amqp, Azure, Cassandra, Clickhouse, Csv (#27953) 234d0cdf6e3 is described below commit 234d0cdf6e39b4b301ce461270c7b3dffe4e670a Author: Vitaly Terentyev <vitaly.terent...@akvelon.com> AuthorDate: Fri Aug 11 21:51:19 2023 +0400 Add Java IO Direct jobs: Amqp, Azure, Cassandra, Clickhouse, Csv (#27953) * Add Java IO Direct jobs: Amqp, Azure, Cassandra, Clickhouse, Csv * Fix step name --- .github/workflows/README.md | 5 +++ ...eCommit_Java_Amazon-Web-Services2_IO_Direct.yml | 2 +- ...reCommit_Java_Amazon-Web-Services_IO_Direct.yml | 2 +- ....yml => beam_PreCommit_Java_Amqp_IO_Direct.yml} | 47 +++++----------------- ...yml => beam_PreCommit_Java_Azure_IO_Direct.yml} | 29 +++++-------- ...=> beam_PreCommit_Java_Cassandra_IO_Direct.yml} | 47 +++++----------------- ...> beam_PreCommit_Java_Clickhouse_IO_Direct.yml} | 47 +++++----------------- ...t.yml => beam_PreCommit_Java_Csv_IO_Direct.yml} | 47 +++++----------------- 8 files changed, 62 insertions(+), 164 deletions(-) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 7961e327ed2..05d222e7e9c 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -177,6 +177,11 @@ Please note that jobs with matrix need to have matrix element in the comment. Ex | [ PreCommit Go ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Go.yml) | N/A |`Run Go PreCommit`| [![.github/workflows/beam_PreCommit_Go.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Go.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Go.yml) | | [ PreCommit Java Amazon Web Services IO Direct ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml) | N/A |`Run Java_Amazon-Web-Services_IO_Direct PreCommit`| [![.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Ama [...] | [ PreCommit Java Amazon Web Services2 IO Direct ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Amazon-Web-Services2_IO_Direct.yml) | N/A |`Run Java_Amazon-Web-Services2_IO_Direct PreCommit`| [![.github/workflows/beam_PreCommit_Java_Amazon-Web-Services2_IO_Direct.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Amazon-Web-Services2_IO_Direct.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Jav [...] +| [ PreCommit Java Amqp IO Direct ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Amqp_IO_Direct.yml) | N/A |`Run Java_Amqp_IO_Direct PreCommit`| [![.github/workflows/beam_PreCommit_Java_Amqp_IO_Direct.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Amqp_IO_Direct.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Amqp_IO_Direct.yml) | +| [ PreCommit Java Azure IO Direct ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Azure_IO_Direct.yml) | N/A |`Run Java_Azure_IO_Direct PreCommit`| [![.github/workflows/beam_PreCommit_Java_Azure_IO_Direct.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Azure_IO_Direct.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Azure_IO_Direct.yml) | +| [ PreCommit Java Cassandra IO Direct ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Cassandra_IO_Direct.yml) | N/A |`Run Java_Cassandra_IO_Direct PreCommit`| [![.github/workflows/beam_PreCommit_Java_Cassandra_IO_Direct.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Cassandra_IO_Direct.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Cassandra_IO_Direct.yml) | +| [ PreCommit Java Clickhouse IO Direct ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Clickhouse_IO_Direct.yml) | N/A |`Run Java_Clickhouse_IO_Direct PreCommit`| [![.github/workflows/beam_PreCommit_Java_Clickhouse_IO_Direct.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Clickhouse_IO_Direct.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Clickhouse_IO_Direct.yml) | +| [ PreCommit Java Csv IO Direct ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Csv_IO_Direct.yml) | N/A |`Run Java_Csv_IO_Direct PreCommit`| [![.github/workflows/beam_PreCommit_Java_Csv_IO_Direct.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Csv_IO_Direct.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Csv_IO_Direct.yml) | | [ PreCommit Java Examples Dataflow ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Examples_Dataflow.yml) | N/A |`Run Java_Examples_Dataflow PreCommit`| [![.github/workflows/beam_PreCommit_Java_Examples_Dataflow.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Examples_Dataflow.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Examples_Dataflow.yml) | | [ PreCommit Java Flink Versions ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Flink_Versions.yml) | N/A |`Run Java_Flink_Versions PreCommit`| [![.github/workflows/beam_PreCommit_Java_Flink_Versions.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Flink_Versions.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Flink_Versions.yml) | | [ PreCommit Java Examples Dataflow Java11 ](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Examples_Dataflow_Java11.yml) | N/A | `Run Java_Examples_Dataflow_Java11 PreCommit` | [![.github/workflows/beam_PreCommit_Java_Examples_Dataflow_Java11.yml](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Examples_Dataflow_Java11.yml/badge.svg?event=schedule)](https://github.com/apache/beam/actions/workflows/beam_PreCommit_Java_Examples_Dataflow_Java11.yml) | diff --git a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services2_IO_Direct.yml b/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services2_IO_Direct.yml index 47a9f96b73d..0fbfd2212f3 100644 --- a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services2_IO_Direct.yml +++ b/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services2_IO_Direct.yml @@ -111,7 +111,7 @@ jobs: - name: Archive code coverage results uses: actions/upload-artifact@v3 with: - name: python-code-coverage-report + name: java-code-coverage-report path: "**/build/test-results/**/*.xml" - name: Archive SpotBugs Results uses: actions/upload-artifact@v3 diff --git a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml b/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml index 8ad04669790..f02a3b58d87 100644 --- a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml +++ b/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml @@ -111,7 +111,7 @@ jobs: - name: Archive code coverage results uses: actions/upload-artifact@v3 with: - name: python-code-coverage-report + name: java-code-coverage-report path: "**/build/test-results/**/*.xml" - name: Archive SpotBugs Results uses: actions/upload-artifact@v3 diff --git a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml b/.github/workflows/beam_PreCommit_Java_Amqp_IO_Direct.yml similarity index 65% copy from .github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml copy to .github/workflows/beam_PreCommit_Java_Amqp_IO_Direct.yml index 8ad04669790..d3cb61a76c1 100644 --- a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml +++ b/.github/workflows/beam_PreCommit_Java_Amqp_IO_Direct.yml @@ -13,37 +13,19 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: PreCommit Java Amazon-Web-Services IO Direct +name: PreCommit Java Amqp IO Direct on: push: tags: ['v*'] branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" - - "sdks/java/io/common/**" - - "sdks/java/core/src/main/**" - - "build.gradle" - - "buildSrc/**" - - "gradle/**" - - "gradle.properties" - - "gradlew" - - "gradle.bat" - - "settings.gradle.kts" - - ".github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml" + - "sdks/java/io/amqp/**" + - ".github/workflows/beam_PreCommit_Java_Amqp_IO_Direct.yml" pull_request_target: branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" - - "sdks/java/io/common/**" - - "sdks/java/core/src/main/**" - - "build.gradle" - - "buildSrc/**" - - "gradle/**" - - "gradle.properties" - - "gradlew" - - "gradle.bat" - - "settings.gradle.kts" + - "sdks/java/io/amqp/**" issue_comment: types: [created] schedule: @@ -72,19 +54,19 @@ concurrency: cancel-in-progress: true jobs: - beam_PreCommit_Java_Amazon-Web-Services_IO_Direct: + beam_PreCommit_Java_Amqp_IO_Direct: name: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) strategy: matrix: - job_name: ["beam_PreCommit_Java_Amazon-Web-Services_IO_Direct"] - job_phrase: ["Run Java_Amazon-Web-Services_IO_Direct PreCommit"] + job_name: ["beam_PreCommit_Java_Amqp_IO_Direct"] + job_phrase: ["Run Java_Amqp_IO_Direct PreCommit"] timeout-minutes: 60 if: | github.event_name == 'push' || github.event_name == 'pull_request_target' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || - github.event.comment.body == 'Run Java_Amazon-Web-Services_IO_Direct PreCommit' + github.event.comment.body == 'Run Java_Amqp_IO_Direct PreCommit' runs-on: [self-hosted, ubuntu-20.04, main] steps: - uses: actions/checkout@v3 @@ -94,24 +76,17 @@ jobs: comment_phrase: ${{ matrix.job_phrase }} github_token: ${{ secrets.GITHUB_TOKEN }} github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) - - name: run Amazon-Web-Services IO build script + - name: run Amqp IO build script uses: ./.github/actions/gradle-command-self-hosted-action with: - gradle-command: :sdks:java:io:amazon-web-services:build - arguments: | - -PdisableSpotlessCheck=true \ - -PdisableCheckStyle=true \ - - name: run Amazon-Web-Services IO IT script - uses: ./.github/actions/gradle-command-self-hosted-action - with: - gradle-command: :sdks:java:io:amazon-web-services:integrationTest + gradle-command: :sdks:java:io:amqp:build arguments: | -PdisableSpotlessCheck=true \ -PdisableCheckStyle=true \ - name: Archive code coverage results uses: actions/upload-artifact@v3 with: - name: python-code-coverage-report + name: java-code-coverage-report path: "**/build/test-results/**/*.xml" - name: Archive SpotBugs Results uses: actions/upload-artifact@v3 diff --git a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml b/.github/workflows/beam_PreCommit_Java_Azure_IO_Direct.yml similarity index 76% copy from .github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml copy to .github/workflows/beam_PreCommit_Java_Azure_IO_Direct.yml index 8ad04669790..24005d78936 100644 --- a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml +++ b/.github/workflows/beam_PreCommit_Java_Azure_IO_Direct.yml @@ -13,14 +13,14 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: PreCommit Java Amazon-Web-Services IO Direct +name: PreCommit Java Azure IO Direct on: push: tags: ['v*'] branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" + - "sdks/java/io/azure/**" - "sdks/java/io/common/**" - "sdks/java/core/src/main/**" - "build.gradle" @@ -30,11 +30,11 @@ on: - "gradlew" - "gradle.bat" - "settings.gradle.kts" - - ".github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml" + - ".github/workflows/beam_PreCommit_Java_Azure_IO_Direct.yml" pull_request_target: branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" + - "sdks/java/io/azure/**" - "sdks/java/io/common/**" - "sdks/java/core/src/main/**" - "build.gradle" @@ -72,19 +72,19 @@ concurrency: cancel-in-progress: true jobs: - beam_PreCommit_Java_Amazon-Web-Services_IO_Direct: + beam_PreCommit_Java_Azure_IO_Direct: name: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) strategy: matrix: - job_name: ["beam_PreCommit_Java_Amazon-Web-Services_IO_Direct"] - job_phrase: ["Run Java_Amazon-Web-Services_IO_Direct PreCommit"] + job_name: ["beam_PreCommit_Java_Azure_IO_Direct"] + job_phrase: ["Run Java_Azure_IO_Direct PreCommit"] timeout-minutes: 60 if: | github.event_name == 'push' || github.event_name == 'pull_request_target' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || - github.event.comment.body == 'Run Java_Amazon-Web-Services_IO_Direct PreCommit' + github.event.comment.body == 'Run Java_Azure_IO_Direct PreCommit' runs-on: [self-hosted, ubuntu-20.04, main] steps: - uses: actions/checkout@v3 @@ -94,24 +94,17 @@ jobs: comment_phrase: ${{ matrix.job_phrase }} github_token: ${{ secrets.GITHUB_TOKEN }} github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) - - name: run Amazon-Web-Services IO build script + - name: run Azure IO build script uses: ./.github/actions/gradle-command-self-hosted-action with: - gradle-command: :sdks:java:io:amazon-web-services:build - arguments: | - -PdisableSpotlessCheck=true \ - -PdisableCheckStyle=true \ - - name: run Amazon-Web-Services IO IT script - uses: ./.github/actions/gradle-command-self-hosted-action - with: - gradle-command: :sdks:java:io:amazon-web-services:integrationTest + gradle-command: :sdks:java:io:azure:build arguments: | -PdisableSpotlessCheck=true \ -PdisableCheckStyle=true \ - name: Archive code coverage results uses: actions/upload-artifact@v3 with: - name: python-code-coverage-report + name: java-code-coverage-report path: "**/build/test-results/**/*.xml" - name: Archive SpotBugs Results uses: actions/upload-artifact@v3 diff --git a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml b/.github/workflows/beam_PreCommit_Java_Cassandra_IO_Direct.yml similarity index 65% copy from .github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml copy to .github/workflows/beam_PreCommit_Java_Cassandra_IO_Direct.yml index 8ad04669790..94420420b21 100644 --- a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml +++ b/.github/workflows/beam_PreCommit_Java_Cassandra_IO_Direct.yml @@ -13,37 +13,19 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: PreCommit Java Amazon-Web-Services IO Direct +name: PreCommit Java Cassandra IO Direct on: push: tags: ['v*'] branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" - - "sdks/java/io/common/**" - - "sdks/java/core/src/main/**" - - "build.gradle" - - "buildSrc/**" - - "gradle/**" - - "gradle.properties" - - "gradlew" - - "gradle.bat" - - "settings.gradle.kts" - - ".github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml" + - "sdks/java/io/cassandra/**" + - ".github/workflows/beam_PreCommit_Java_Cassandra_IO_Direct.yml" pull_request_target: branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" - - "sdks/java/io/common/**" - - "sdks/java/core/src/main/**" - - "build.gradle" - - "buildSrc/**" - - "gradle/**" - - "gradle.properties" - - "gradlew" - - "gradle.bat" - - "settings.gradle.kts" + - "sdks/java/io/cassandra/**" issue_comment: types: [created] schedule: @@ -72,19 +54,19 @@ concurrency: cancel-in-progress: true jobs: - beam_PreCommit_Java_Amazon-Web-Services_IO_Direct: + beam_PreCommit_Java_Cassandra_IO_Direct: name: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) strategy: matrix: - job_name: ["beam_PreCommit_Java_Amazon-Web-Services_IO_Direct"] - job_phrase: ["Run Java_Amazon-Web-Services_IO_Direct PreCommit"] + job_name: ["beam_PreCommit_Java_Cassandra_IO_Direct"] + job_phrase: ["Run Java_Cassandra_IO_Direct PreCommit"] timeout-minutes: 60 if: | github.event_name == 'push' || github.event_name == 'pull_request_target' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || - github.event.comment.body == 'Run Java_Amazon-Web-Services_IO_Direct PreCommit' + github.event.comment.body == 'Run Java_Cassandra_IO_Direct PreCommit' runs-on: [self-hosted, ubuntu-20.04, main] steps: - uses: actions/checkout@v3 @@ -94,24 +76,17 @@ jobs: comment_phrase: ${{ matrix.job_phrase }} github_token: ${{ secrets.GITHUB_TOKEN }} github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) - - name: run Amazon-Web-Services IO build script + - name: run Cassandra IO build script uses: ./.github/actions/gradle-command-self-hosted-action with: - gradle-command: :sdks:java:io:amazon-web-services:build - arguments: | - -PdisableSpotlessCheck=true \ - -PdisableCheckStyle=true \ - - name: run Amazon-Web-Services IO IT script - uses: ./.github/actions/gradle-command-self-hosted-action - with: - gradle-command: :sdks:java:io:amazon-web-services:integrationTest + gradle-command: :sdks:java:io:cassandra:build arguments: | -PdisableSpotlessCheck=true \ -PdisableCheckStyle=true \ - name: Archive code coverage results uses: actions/upload-artifact@v3 with: - name: python-code-coverage-report + name: java-code-coverage-report path: "**/build/test-results/**/*.xml" - name: Archive SpotBugs Results uses: actions/upload-artifact@v3 diff --git a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml b/.github/workflows/beam_PreCommit_Java_Clickhouse_IO_Direct.yml similarity index 65% copy from .github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml copy to .github/workflows/beam_PreCommit_Java_Clickhouse_IO_Direct.yml index 8ad04669790..3137e5f6aae 100644 --- a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml +++ b/.github/workflows/beam_PreCommit_Java_Clickhouse_IO_Direct.yml @@ -13,37 +13,19 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: PreCommit Java Amazon-Web-Services IO Direct +name: PreCommit Java Clickhouse IO Direct on: push: tags: ['v*'] branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" - - "sdks/java/io/common/**" - - "sdks/java/core/src/main/**" - - "build.gradle" - - "buildSrc/**" - - "gradle/**" - - "gradle.properties" - - "gradlew" - - "gradle.bat" - - "settings.gradle.kts" - - ".github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml" + - "sdks/java/io/clickhouse/**" + - ".github/workflows/beam_PreCommit_Java_Clickhouse_IO_Direct.yml" pull_request_target: branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" - - "sdks/java/io/common/**" - - "sdks/java/core/src/main/**" - - "build.gradle" - - "buildSrc/**" - - "gradle/**" - - "gradle.properties" - - "gradlew" - - "gradle.bat" - - "settings.gradle.kts" + - "sdks/java/io/clickhouse/**" issue_comment: types: [created] schedule: @@ -72,19 +54,19 @@ concurrency: cancel-in-progress: true jobs: - beam_PreCommit_Java_Amazon-Web-Services_IO_Direct: + beam_PreCommit_Java_Clickhouse_IO_Direct: name: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) strategy: matrix: - job_name: ["beam_PreCommit_Java_Amazon-Web-Services_IO_Direct"] - job_phrase: ["Run Java_Amazon-Web-Services_IO_Direct PreCommit"] + job_name: ["beam_PreCommit_Java_Clickhouse_IO_Direct"] + job_phrase: ["Run Java_Clickhouse_IO_Direct PreCommit"] timeout-minutes: 60 if: | github.event_name == 'push' || github.event_name == 'pull_request_target' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || - github.event.comment.body == 'Run Java_Amazon-Web-Services_IO_Direct PreCommit' + github.event.comment.body == 'Run Java_Clickhouse_IO_Direct PreCommit' runs-on: [self-hosted, ubuntu-20.04, main] steps: - uses: actions/checkout@v3 @@ -94,24 +76,17 @@ jobs: comment_phrase: ${{ matrix.job_phrase }} github_token: ${{ secrets.GITHUB_TOKEN }} github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) - - name: run Amazon-Web-Services IO build script + - name: run Clickhouse IO build script uses: ./.github/actions/gradle-command-self-hosted-action with: - gradle-command: :sdks:java:io:amazon-web-services:build - arguments: | - -PdisableSpotlessCheck=true \ - -PdisableCheckStyle=true \ - - name: run Amazon-Web-Services IO IT script - uses: ./.github/actions/gradle-command-self-hosted-action - with: - gradle-command: :sdks:java:io:amazon-web-services:integrationTest + gradle-command: :sdks:java:io:clickhouse:build arguments: | -PdisableSpotlessCheck=true \ -PdisableCheckStyle=true \ - name: Archive code coverage results uses: actions/upload-artifact@v3 with: - name: python-code-coverage-report + name: java-code-coverage-report path: "**/build/test-results/**/*.xml" - name: Archive SpotBugs Results uses: actions/upload-artifact@v3 diff --git a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml b/.github/workflows/beam_PreCommit_Java_Csv_IO_Direct.yml similarity index 65% copy from .github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml copy to .github/workflows/beam_PreCommit_Java_Csv_IO_Direct.yml index 8ad04669790..0c1efd43dc7 100644 --- a/.github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml +++ b/.github/workflows/beam_PreCommit_Java_Csv_IO_Direct.yml @@ -13,37 +13,19 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: PreCommit Java Amazon-Web-Services IO Direct +name: PreCommit Java Csv IO Direct on: push: tags: ['v*'] branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" - - "sdks/java/io/common/**" - - "sdks/java/core/src/main/**" - - "build.gradle" - - "buildSrc/**" - - "gradle/**" - - "gradle.properties" - - "gradlew" - - "gradle.bat" - - "settings.gradle.kts" - - ".github/workflows/beam_PreCommit_Java_Amazon-Web-Services_IO_Direct.yml" + - "sdks/java/io/csv/**" + - ".github/workflows/beam_PreCommit_Java_Csv_IO_Direct.yml" pull_request_target: branches: ['master', 'release-*'] paths: - - "sdks/java/io/amazon-web-services/**" - - "sdks/java/io/common/**" - - "sdks/java/core/src/main/**" - - "build.gradle" - - "buildSrc/**" - - "gradle/**" - - "gradle.properties" - - "gradlew" - - "gradle.bat" - - "settings.gradle.kts" + - "sdks/java/io/csv/**" issue_comment: types: [created] schedule: @@ -72,19 +54,19 @@ concurrency: cancel-in-progress: true jobs: - beam_PreCommit_Java_Amazon-Web-Services_IO_Direct: + beam_PreCommit_Java_Csv_IO_Direct: name: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) strategy: matrix: - job_name: ["beam_PreCommit_Java_Amazon-Web-Services_IO_Direct"] - job_phrase: ["Run Java_Amazon-Web-Services_IO_Direct PreCommit"] + job_name: ["beam_PreCommit_Java_Csv_IO_Direct"] + job_phrase: ["Run Java_Csv_IO_Direct PreCommit"] timeout-minutes: 60 if: | github.event_name == 'push' || github.event_name == 'pull_request_target' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || - github.event.comment.body == 'Run Java_Amazon-Web-Services_IO_Direct PreCommit' + github.event.comment.body == 'Run Java_Csv_IO_Direct PreCommit' runs-on: [self-hosted, ubuntu-20.04, main] steps: - uses: actions/checkout@v3 @@ -94,24 +76,17 @@ jobs: comment_phrase: ${{ matrix.job_phrase }} github_token: ${{ secrets.GITHUB_TOKEN }} github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }}) - - name: run Amazon-Web-Services IO build script + - name: run Csv IO build script uses: ./.github/actions/gradle-command-self-hosted-action with: - gradle-command: :sdks:java:io:amazon-web-services:build - arguments: | - -PdisableSpotlessCheck=true \ - -PdisableCheckStyle=true \ - - name: run Amazon-Web-Services IO IT script - uses: ./.github/actions/gradle-command-self-hosted-action - with: - gradle-command: :sdks:java:io:amazon-web-services:integrationTest + gradle-command: :sdks:java:io:csv:build arguments: | -PdisableSpotlessCheck=true \ -PdisableCheckStyle=true \ - name: Archive code coverage results uses: actions/upload-artifact@v3 with: - name: python-code-coverage-report + name: java-code-coverage-report path: "**/build/test-results/**/*.xml" - name: Archive SpotBugs Results uses: actions/upload-artifact@v3