172 lines
7.8 KiB
YAML
172 lines
7.8 KiB
YAML
# 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.
|
|
|
|
name: Cancel
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: [CI AND IT]
|
|
types:
|
|
- requested
|
|
|
|
jobs:
|
|
# Cancel outdated builds in the repo, including all action tasks of all commits.
|
|
# It runs for all workflow types
|
|
cancel-outdated-builds:
|
|
runs-on: ubuntu-18.04
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds ci-it.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: ci-it.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds docker-ci.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: docker-ci.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.cluster.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.cluster.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.go.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.go.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.istio.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.istio.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.jdk-versions.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.jdk-versions.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.js.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.js.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.kafka.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.kafka.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.php.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.php.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.php.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.php.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.profiling.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.profiling.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.python.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.python.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.storages.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.storages.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.ttl.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.ttl.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds e2e.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: e2e.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds plugins-jdk14-test.0.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: plugins-jdk14-test.0.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds plugins-test.0.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: plugins-test.0.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds plugins-test.1.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: plugins-test.1.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds plugins-test.2.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: plugins-test.2.yaml
|
|
- uses: apache/airflow-cancel-workflow-runs@953e057dc81d3458935a18d1184c386b0f6b5738
|
|
name: Cancel Outdated Builds plugins-test.3.yaml
|
|
with:
|
|
cancelMode: allDuplicates
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|
|
workflowFileName: plugins-test.3.yaml
|