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
71 changes: 71 additions & 0 deletions .github/workflows/job-postcommit-xvr-direct.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 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 triage pull requests and apply a label based on the
# paths that are modified in the pull request.

# Runs the CrossLanguageValidatesRunner suite on the Direct runner

name: PostCommit XVR Direct

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: 'v*'
pull_request_target:
branches: [ 'master', 'release-*' ]
tags: 'v*'
permissions: read-all

jobs:
set-properties:
runs-on: [self-hosted, ubuntu-20.04]
outputs:
properties: ${{ steps.test-properties.outputs.properties }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- id: test-properties
uses: ./.github/actions/setup-default-test-properties

xvr-direct:
needs: set-properties
name: PostCommit XVR Direct
runs-on: [self-hosted, ubuntu-20.04]
strategy:
fail-fast: false
matrix:
version: ${{fromJson(needs.set-properties.outputs.properties).PythonTestProperties.ALL_SUPPORTED_VERSIONS}}
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

- name: Run :sdks:python:test-suites:direct:xlang:validatesCrossLanguageRunner
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:python:test-suites:direct:xlang:validatesCrossLanguageRunner
arguments: "-PpythonVersion=${{ matrix.version }}"
71 changes: 71 additions & 0 deletions .github/workflows/job-postcommit-xvr-flink.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 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 triage pull requests and apply a label based on the
# paths that are modified in the pull request.

# Runs the CrossLanguageValidatesRunner suite on the Flink runner

name: PostCommit XVR Flink

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: 'v*'
pull_request_target:
branches: [ 'master', 'release-*' ]
tags: 'v*'
permissions: read-all

jobs:
set-properties:
runs-on: [self-hosted, ubuntu-20.04]
outputs:
properties: ${{ steps.test-properties.outputs.properties }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- id: test-properties
uses: ./.github/actions/setup-default-test-properties

xvr-flink:
needs: set-properties
name: PostCommit XVR Flink
runs-on: [self-hosted, ubuntu-20.04]
strategy:
fail-fast: false
matrix:
version: ${{fromJson(needs.set-properties.outputs.properties).PythonTestProperties.ALL_SUPPORTED_VERSIONS}}
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

- name: Run :runners:flink:1.13:job-server:validatesCrossLanguageRunner
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :runners:flink:1.13:job-server:validatesCrossLanguageRunner
arguments: "-PpythonVersion=${{ matrix.version }}"
54 changes: 54 additions & 0 deletions .github/workflows/job-postcommit-xvr-gousingjava-dataflow.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.

# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.

# Runs the CrossLanguageValidatesRunner GoUsingJava suite on the Dataflow runner

name: PostCommit XVR Go Using Java Dataflow

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: 'v*'
pull_request_target:
branches: [ 'master', 'release-*' ]
tags: 'v*'
permissions: read-all

jobs:
xvr-dataflow:
name: PostCommit XVR Go Using Java Dataflow
runs-on: [self-hosted, ubuntu-20.04]
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

- name: Run :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerGoUsingJava
uses: ./.github/actions/gradle-command-self-hosted-action
env:
USER: beam-sdk
with:
gradle-command: :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerGoUsingJava
71 changes: 71 additions & 0 deletions .github/workflows/job-postcommit-xvr-javausingpython-dataflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 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 triage pull requests and apply a label based on the
# paths that are modified in the pull request.

# Runs the CrossLanguageValidatesRunner JavaUsingPython suite on the Dataflow runner

name: PostCommit XVR Java Using Python Dataflow

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: 'v*'
pull_request_target:
branches: [ 'master', 'release-*' ]
tags: 'v*'
permissions: read-all

jobs:
set-properties:
runs-on: [self-hosted, ubuntu-20.04]
outputs:
properties: ${{ steps.test-properties.outputs.properties }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- id: test-properties
uses: ./.github/actions/setup-default-test-properties

xvr-dataflow:
needs: set-properties
name: PostCommit XVR Java Using Python Dataflow
runs-on: [self-hosted, ubuntu-20.04]
strategy:
fail-fast: false
matrix:
version: ${{fromJson(needs.set-properties.outputs.properties).PythonTestProperties.ALL_SUPPORTED_VERSIONS}}
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

- name: Run :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerJavaUsingPython
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerJavaUsingPython
arguments: "-PpythonVersion=${{ matrix.version }}"
71 changes: 71 additions & 0 deletions .github/workflows/job-postcommit-xvr-pythonusingjava-dataflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 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 triage pull requests and apply a label based on the
# paths that are modified in the pull request.

# Runs the CrossLanguageValidatesRunner PythonUsingJava suite on the Dataflow runner

name: PostCommit XVR Python Using Java Dataflow

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *'
push:
branches: ['master', 'release-*']
tags: 'v*'
pull_request_target:
branches: [ 'master', 'release-*' ]
tags: 'v*'
permissions: read-all

jobs:
set-properties:
runs-on: [self-hosted, ubuntu-20.04]
outputs:
properties: ${{ steps.test-properties.outputs.properties }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- id: test-properties
uses: ./.github/actions/setup-default-test-properties

xvr-dataflow:
needs: set-properties
name: PostCommit XVR Python Using Java Dataflow
runs-on: [self-hosted, ubuntu-20.04]
strategy:
fail-fast: false
matrix:
version: ${{fromJson(needs.set-properties.outputs.properties).PythonTestProperties.ALL_SUPPORTED_VERSIONS}}
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

- name: Run :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerPythonUsingJava
uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerPythonUsingJava
arguments: "-PpythonVersion=${{ matrix.version }}"

This file was deleted.

Loading