Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions .github/workflows/job-precommit-java-debezium-io-direct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# This workflow will run Java SDK Debezium IO Unit Tests and Integration Tests with DirectRunner.

name: Java Debezium IO Direct

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request_target:
branches: ['master', 'release-*']
tags: ['v*']
paths: [
'runners/google-cloud-dataflow-java/**',
'sdks/java/core/src/main/**',
'sdks/java/io/common/**',
'sdks/java/io/debezium/**']
permissions: read-all

jobs:
java-debezium-io:
name: Run Java Debezium IO Direct
runs-on: [self-hosted, ubuntu-20.04]
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Setup environment
uses: ./.github/actions/setup-self-hosted-action
with:
requires-py-37: false
requires-py-38: false
requires-py-39: false
requires-go-18: false
- name: Run :sdks:java:io:debezium:build
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:debezium:build
- name: Run :sdks:java:io:debezium:expansion-service:build
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:debezium:expansion-service:build
- name: Run :sdks:java:io:debezium:integrationTest
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:debezium:integrationTest
arguments: "-PdisableSpotlessCheck=true -PdisableCheckStyle=true"
- name: Run :sdks:java:io:debezium:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:debezium:test
65 changes: 65 additions & 0 deletions .github/workflows/job-precommit-java-jdbc-io-direct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# This workflow will run Java SDK JDBC IO Unit Tests and Integration Tests with DirectRunner.

name: Java JDBC IO Direct

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request_target:
branches: ['master', 'release-*']
tags: ['v*']
paths: [
'sdks/java/core/src/main/**',
'sdks/java/testing/test-utils/**',
'sdks/java/io/common/**',
'sdks/java/io/jdbc/**']
permissions: read-all

jobs:
java-jdbc-io:
name: Run Java JDBC IO Direct
runs-on: [self-hosted, ubuntu-20.04]
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Setup environment
uses: ./.github/actions/setup-self-hosted-action
with:
requires-py-37: false
requires-py-38: false
requires-py-39: false
requires-go-18: false
- name: Run :sdks:java:io:jdbc:integrationTest
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:jdbc:build :sdks:java:io:jdbc:integrationTest
arguments: "-PdisableSpotlessCheck=true -PdisableCheckStyle=true"
- name: Run :sdks:java:io:jdbc:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:jdbc:test
58 changes: 58 additions & 0 deletions .github/workflows/job-precommit-java-jms-io-direct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# This workflow will run JMS IO Unit Tests in Java SDK with DirectRunner

name: Java JMS IO Direct

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request_target:
branches: ['master', 'release-*']
tags: ['v*']
paths: [
'sdks/java/core/src/main/**',
'sdks/java/io/jms/**']
permissions: read-all

jobs:
java-jms-io:
name: Run Java JMS IO Direct
runs-on: [self-hosted, ubuntu-20.04]
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Setup environment
uses: ./.github/actions/setup-self-hosted-action
with:
requires-py-37: false
requires-py-38: false
requires-py-39: false
requires-go-18: false
- name: Run :sdks:java:io:jms:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:jms:build :sdks:java:io:jms:test
69 changes: 69 additions & 0 deletions .github/workflows/job-precommit-java-kafka-io-direct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# This workflow will run Java SDK Kafka IO Unit Tests and Integration Tests with DirectRunner.

name: Java Kafka IO Direct

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request_target:
branches: ['master', 'release-*']
tags: ['v*']
paths: [
'runners/core-construction-java/**',
'sdks/java/core/src/main/**',
'sdks/java/testing/test-utils/**',
'sdks/java/expansion-service/**',
'sdks/java/io/common/**',
'sdks/java/io/synthetic/**',
'sdks/java/io/expansion-service/**',
'sdks/java/io/kafka/**']
permissions: read-all

jobs:
java-kafka-io:
name: Run Java Kafka IO Direct
runs-on: [self-hosted, ubuntu-20.04]
timeout-minutes: 120
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Setup environment
uses: ./.github/actions/setup-self-hosted-action
with:
requires-py-37: false
requires-py-38: false
requires-py-39: false
requires-go-18: false
- name: Run :sdks:java:io:kafka:kafkaVersionsCompatibilityTest
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:kafka:build :sdks:java:io:kafka:kafkaVersionsCompatibilityTest
arguments: "-PdisableSpotlessCheck=true -PdisableCheckStyle=true"
- name: Run :sdks:java:io:kafka:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:kafka:test
72 changes: 72 additions & 0 deletions .github/workflows/job-precommit-java-kinesis-io-direct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# This workflow will run Java SDK Kinesis IO Unit Tests and Integration Tests with DirectRunner.

name: Java Kinesis IO Direct

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request_target:
branches: ['master', 'release-*']
tags: ['v*']
paths: [
'sdks/java/core/src/main/**',
'sdks/java/io/common/**',
'sdks/java/io/kinesis/**']
permissions: read-all

jobs:
java-kinesis-io:
name: Run Java Kinesis IO Direct
runs-on: [self-hosted, ubuntu-20.04]
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Setup environment
uses: ./.github/actions/setup-self-hosted-action
with:
requires-py-37: false
requires-py-38: false
requires-py-39: false
requires-go-18: false
- name: Run :sdks:java:io:kinesis:build
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:kinesis:build
- name: Run :sdks:java:io:kinesis:expansion-service:build
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:kinesis:expansion-service:build
- name: Run :sdks:java:io:kinesis:integrationTest
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:kinesis:integrationTest
arguments: "-PdisableSpotlessCheck=true -PdisableCheckStyle=true"
- name: Run :sdks:java:io:kinesis:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:kinesis:test
Loading