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
54 changes: 54 additions & 0 deletions .github/workflows/job-precommit-java-io-amqp.yml
Original file line number Diff line number Diff line change
@@ -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
54 changes: 54 additions & 0 deletions .github/workflows/job-precommit-java-runner-samza.yml
Original file line number Diff line number Diff line change
@@ -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
58 changes: 58 additions & 0 deletions .github/workflows/job-precommit-java-runner-spark.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.

# 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
4 changes: 4 additions & 0 deletions CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down