diff --git a/.github/workflows/job-precommit-java-io-amqp.yml b/.github/workflows/job-precommit-java-io-amqp.yml new file mode 100644 index 000000000000..58832adf4d67 --- /dev/null +++ b/.github/workflows/job-precommit-java-io-amqp.yml @@ -0,0 +1,54 @@ +# 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. + +# Test for Precommit Java IO AMPQ + +name: Precommit Java IO AMQP + +on: + workflow_dispatch: + schedule: + - cron: '0 */6 * * *' + push: + branches: ['master', 'release-*'] + tags: 'v*' + pull_request_target: + branches: ['master', 'release-*'] + tags: 'v*' + paths: ['sdks/java/io/amqp/**'] +permissions: read-all + +jobs: + run-precommit-java-io-amqp: + name: Run Precommit Java IO AMQP + runs-on: [self-hosted, ubuntu-20.04] + timeout-minutes: 200 + 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: SDKs Java IO AMQP - :sdks:java:io:amqp:test + uses: ./.github/actions/gradle-command-self-hosted-action + with: + gradle-command: :sdks:java:io:amqp:test \ No newline at end of file diff --git a/.github/workflows/job-precommit-java-runner-samza.yml b/.github/workflows/job-precommit-java-runner-samza.yml new file mode 100644 index 000000000000..5c09fdf880fe --- /dev/null +++ b/.github/workflows/job-precommit-java-runner-samza.yml @@ -0,0 +1,54 @@ +# 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. + +# Test for Precommit Java Runner Samza + +name: Precommit Runners Samza + +on: + workflow_dispatch: + schedule: + - cron: '0 */6 * * *' + push: + branches: ['master', 'release-*'] + tags: 'v*' + pull_request_target: + branches: ['master', 'release-*'] + tags: 'v*' + paths: ['runners/samza/**'] +permissions: read-all + +jobs: + run-precommit-runners-samza: + name: Run Precommit Runners Samza + runs-on: [self-hosted, ubuntu-20.04] + timeout-minutes: 200 + 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: Runners Samza - :runners:samza:test + uses: ./.github/actions/gradle-command-self-hosted-action + with: + gradle-command: :runners:samza:test \ No newline at end of file diff --git a/.github/workflows/job-precommit-java-runner-spark.yml b/.github/workflows/job-precommit-java-runner-spark.yml new file mode 100644 index 000000000000..9d730f382810 --- /dev/null +++ b/.github/workflows/job-precommit-java-runner-spark.yml @@ -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. + +# Test for Precommit Java Runner Spark + +name: Precommit Runners Spark + +on: + workflow_dispatch: + schedule: + - cron: '0 */6 * * *' + push: + branches: ['master', 'release-*'] + tags: 'v*' + pull_request_target: + branches: ['master', 'release-*'] + tags: 'v*' + paths: ['runners/spark/**'] +permissions: read-all + +jobs: + run-precommit-runners-spark: + name: Run Precommit Runners Spark + runs-on: [self-hosted, ubuntu-20.04] + timeout-minutes: 200 + 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: Runners Spark 2 - :runners:spark:2:test + uses: ./.github/actions/gradle-command-self-hosted-action + with: + gradle-command: :runners:spark:2:test + - name: Runners Spark 3 - :runners:spark:3:test + uses: ./.github/actions/gradle-command-self-hosted-action + with: + gradle-command: :runners:spark:3:test \ No newline at end of file diff --git a/CI.md b/CI.md index 0fcc87da9521..11330b374563 100644 --- a/CI.md +++ b/CI.md @@ -143,6 +143,10 @@ Service Account shall have following permissions ([IAM roles](https://cloud.goog | Workflow | Description | Requires GCP Credentials | |----------------------------------------------------------------------------------|-------------------------|---------------------------| | [job-precommit-placeholder.yml](.github/workflows/job-precommit-placeholder.yml) | Description placeholder | Yes/No | +| [job-precommit-placeholder.yml](.github/workflows/job-precommit-placeholder.yml) | Description placeholder | Yes/No | +| [job-precommit-java-io-amqp.yml](.github/workflows/job-precommit-java-io-amqp.yml) | Run Java IO AMQP | No | +| [job-precommit-java-io-hbase.yml](.github/workflows/job-precommit-java-runner-spark.yml) | Run Java Runner Spark | No | +| [job-precommit-java-io-hcatalog.yml](.github/workflows/job-precommit-java-runner-samza.yml) | Run Java Runner Samza | No | ### PostCommit Workflows | Workflow | Description | Requires GCP Credentials |