Skip to content
Draft
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
55 changes: 55 additions & 0 deletions .github/workflows/job-precommit-java-mqtt-io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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 MQTT IO Unit Tests in Java SDK

name: Java MQTT IO

on:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request:
branches: ['master', 'release-*']
tags: ['v*']
# paths: ['sdks/java/io/mqtt/**']
permissions: read-all

jobs:
java-mqtt-io:
name: Run Java MQTT IO
runs-on: self-hosted
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- 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:mqtt:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:mqtt:test
55 changes: 55 additions & 0 deletions .github/workflows/job-precommit-java-parquet-io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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 Parquet IO Unit Tests in Java SDK

name: Java Parquet IO

on:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request:
branches: ['master', 'release-*']
tags: ['v*']
# paths: ['sdks/java/io/parquet/**']
permissions: read-all

jobs:
java-parquet-io:
name: Run Java Parquet IO
runs-on: self-hosted
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- 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:parquet:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:parquet:test
55 changes: 55 additions & 0 deletions .github/workflows/job-precommit-java-pulsar-io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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 Pulsar IO Unit Tests in Java SDK

name: Java Pulsar IO

on:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request:
branches: ['master', 'release-*']
tags: ['v*']
# paths: ['sdks/java/io/pulsar/**']
permissions: read-all

jobs:
java-pulsar-io:
name: Run Java Pulsar IO
runs-on: self-hosted
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- 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:pulsar:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:pulsar:test
55 changes: 55 additions & 0 deletions .github/workflows/job-precommit-java-rabbitmq-io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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 RabbitMQ IO Unit Tests in Java SDK

name: Java RabbitMQ IO

on:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request:
branches: ['master', 'release-*']
tags: ['v*']
# paths: ['sdks/java/io/rabbitmq/**']
permissions: read-all

jobs:
java-rabbitmq-io:
name: Run Java RabbitMQ IO
runs-on: self-hosted
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- 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:rabbitmq:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:rabbitmq:test
55 changes: 55 additions & 0 deletions .github/workflows/job-precommit-java-redis-io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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 Redis IO Unit Tests in Java SDK

name: Java Redis IO

on:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: ['v*']
pull_request:
branches: ['master', 'release-*']
tags: ['v*']
# paths: ['sdks/java/io/redis/**']
permissions: read-all

jobs:
java-redis-io:
name: Run Java Redis IO
runs-on: self-hosted
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- 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:redis:test
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:java:io:redis:test
27 changes: 27 additions & 0 deletions CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,33 @@ Service Account shall have following permissions ([IAM roles](https://cloud.goog
| Java Wordcount Direct Runner | Runs Java WordCount example with Direct Runner. | Yes | Yes | Yes | - |
| Java Wordcount Dataflow | Runs Java WordCount example with DataFlow Runner. | - | Yes | Yes | Yes |

### PreCommit Workflows

#### Java MQTT IO - [job-precommit-java-mqtt-io.yml](.github/workflows/job-precommit-java-mqtt-io.yml)
| Job | Description | Pull Request Run | Direct Push/Merge Run | Scheduled Run | Requires GCP Credentials |
|------------------|------------------------------|------------------|-----------------------|---------------|--------------------------|
| Run Java MQTT IO | Runs Java MQTT IO Unit Tests | Yes | Yes | Yes | - |

#### Java Parquet IO - [job-precommit-java-parquet-io.yml](.github/workflows/job-precommit-java-parquet-io.yml)
| Job | Description | Pull Request Run | Direct Push/Merge Run | Scheduled Run | Requires GCP Credentials |
|---------------------|---------------------------------|------------------|-----------------------|---------------|--------------------------|
| Run Java Parquet IO | Runs Java Parquet IO Unit Tests | Yes | Yes | Yes | - |

#### Java Pulsar IO - [job-precommit-java-pulsar-io.yml](.github/workflows/job-precommit-java-pulsar-io.yml)
| Job | Description | Pull Request Run | Direct Push/Merge Run | Scheduled Run | Requires GCP Credentials |
|--------------------|--------------------------------|------------------|-----------------------|---------------|--------------------------|
| Run Java Pulsar IO | Runs Java Pulsar IO Unit Tests | Yes | Yes | Yes | - |

#### Java RabbitMQ IO - [job-precommit-java-rabbitmq-io.yml](.github/workflows/job-precommit-java-rabbitmq-io.yml)
| Job | Description | Pull Request Run | Direct Push/Merge Run | Scheduled Run | Requires GCP Credentials |
|----------------------|----------------------------------|------------------|-----------------------|---------------|--------------------------|
| Run Java RabbitMQ IO | Runs Java RabbitMQ IO Unit Tests | Yes | Yes | Yes | - |

#### Java Redis IO - [job-precommit-java-redis-io.yml](.github/workflows/job-precommit-java-redis-io.yml)
| Job | Description | Pull Request Run | Direct Push/Merge Run | Scheduled Run | Requires GCP Credentials |
|-------------------|-------------------------------|------------------|-----------------------|---------------|--------------------------|
| Run Java Redis IO | Runs Java Redis IO Unit Tests | Yes | Yes | Yes | - |

### GitHub Action Tips

* If you introduce changes to the workflow it is possible that your changes will not be present in the check run triggered in Pull Request.
Expand Down