Cancel duplicated workflows (#7043)

This commit is contained in:
Zhenxu 2021-05-31 23:10:45 +08:00 committed by GitHub
parent 9e66bee7a0
commit 518843633f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 117 additions and 9 deletions

View File

@ -25,6 +25,10 @@ env:
MAVEN_OPTS: -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit
CODECOV_TOKEN: d2065307-8f01-4637-9715-2781ef096db7
concurrency:
group: ci-it-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
CI:
runs-on: ubuntu-latest

View File

@ -24,6 +24,10 @@ on:
schedule:
- cron: '28 3 * * *'
concurrency:
group: codeql-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze

View File

@ -19,6 +19,10 @@ name: Dead Link Checker
on:
pull_request:
concurrency:
group: dlc-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
CheckDeadLinks:
runs-on: ubuntu-latest

View File

@ -24,6 +24,10 @@ on:
schedule:
- cron: '0 18 * * *'
concurrency:
group: docker-ci-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
SKIP_TEST: true
DOCKER_DIR: ./docker

View File

@ -27,6 +27,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-alarm-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Alarm:
name: Alarm

View File

@ -24,6 +24,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-cluster-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
CoordinatorsStorage:
name: Coordinators & Storage

View File

@ -21,6 +21,10 @@ on:
schedule:
- cron: '0 18 * * *'
concurrency:
group: e2e-compat-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Compatibility:
name: Compatibility

View File

@ -24,6 +24,10 @@ on:
schedule:
- cron: '0 18 * * *'
concurrency:
group: e2e-event-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
SKIP_TEST: true

View File

@ -27,6 +27,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-go-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
GOAgent:
name: GO2SKY
@ -50,4 +54,4 @@ jobs:
if: env.SKIP_CI != 'true'
uses: ./.github/actions/e2e-test
with:
test_class: org.apache.skywalking.e2e.GOE2E
test_class: org.apache.skywalking.e2e.GOE2E

View File

@ -31,6 +31,10 @@ env:
SCRIPTS_DIR: test/e2e-mesh/e2e-istio/scripts
SW_OAP_BASE_IMAGE: openjdk:11-jdk
concurrency:
group: e2e-istio-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
als:
runs-on: ubuntu-latest

View File

@ -21,6 +21,10 @@ on:
schedule:
- cron: '0 18 * * *'
concurrency:
group: e2e-jdk-versions-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
JavaVersions:
name: Agent Java Versions

View File

@ -27,6 +27,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-js-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
JavaScriptClient:
name: Java Script Client
@ -76,4 +80,4 @@ jobs:
if: env.SKIP_CI != 'true'
uses: ./.github/actions/e2e-test
with:
test_class: org.apache.skywalking.e2e.browser.BrowserWithClientJSE2E
test_class: org.apache.skywalking.e2e.browser.BrowserWithClientJSE2E

View File

@ -28,6 +28,10 @@ env:
SW_AGENT_JDK_VERSION: 8
SW_STORAGE: influxdb
concurrency:
group: e2e-kafka-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Kafka:
name: Kafka (${{ matrix.case.name }})
@ -62,4 +66,4 @@ jobs:
if: env.SKIP_CI != 'true'
uses: ./.github/actions/e2e-test
with:
test_class: ${{ matrix.case.class }}
test_class: ${{ matrix.case.class }}

View File

@ -27,6 +27,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-log-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Log:
name: Log
@ -54,4 +58,4 @@ jobs:
if: env.SKIP_CI != 'true'
uses: ./.github/actions/e2e-test
with:
test_class: org.apache.skywalking.e2e.log.LogE2E
test_class: org.apache.skywalking.e2e.log.LogE2E

View File

@ -27,6 +27,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-nodejs-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
NodeJSAgent:
name: NodeJSAgent

View File

@ -24,6 +24,10 @@ on:
schedule:
- cron: '0 18 * * *'
concurrency:
group: e2e-php-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
PHPAgent:
name: PHP
@ -47,4 +51,4 @@ jobs:
if: env.SKIP_CI != 'true'
uses: ./.github/actions/e2e-test
with:
test_class: org.apache.skywalking.e2e.PHPE2E
test_class: org.apache.skywalking.e2e.PHPE2E

View File

@ -27,6 +27,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-profiling-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Profiling:
name: Profiling
@ -55,4 +59,4 @@ jobs:
if: env.SKIP_CI != 'true'
uses: ./.github/actions/e2e-test
with:
test_class: org.apache.skywalking.e2e.profile.ProfileE2E
test_class: org.apache.skywalking.e2e.profile.ProfileE2E

View File

@ -27,6 +27,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-python-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
PythonAgent:
name: PythonAgent
@ -50,4 +54,4 @@ jobs:
if: env.SKIP_CI != 'true'
uses: ./.github/actions/e2e-test
with:
test_class: org.apache.skywalking.e2e.PythonE2E
test_class: org.apache.skywalking.e2e.PythonE2E

View File

@ -27,6 +27,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-so11y-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
SelfObservability:
name: SelfObservability

View File

@ -24,6 +24,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-storages-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
StoragePlugins:
name: Storage

View File

@ -27,6 +27,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-ttl-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
TTL:
name: Storage TTL
@ -55,4 +59,4 @@ jobs:
if: env.SKIP_CI != 'true'
uses: ./.github/actions/e2e-test
with:
test_class: org.apache.skywalking.e2e.ttl.StorageTTLE2E
test_class: org.apache.skywalking.e2e.ttl.StorageTTLE2E

View File

@ -28,6 +28,10 @@ on:
env:
SW_AGENT_JDK_VERSION: 8
concurrency:
group: e2e-features-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
FeatureGroup01:
name: Feature
@ -91,4 +95,4 @@ jobs:
if: env.SKIP_CI != 'true'
uses: ./.github/actions/e2e-test
with:
test_class: ${{ matrix.case.class }}
test_class: ${{ matrix.case.class }}

View File

@ -34,6 +34,10 @@ on:
- '!oap-server/**'
- '!**.md'
concurrency:
group: plugins-jdk14-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
PluginsJDK14Test:
name: jdk14

View File

@ -34,6 +34,10 @@ on:
- '!oap-server/**'
- '!**.md'
concurrency:
group: plugins-0-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
PluginsTest:
name: Plugin

View File

@ -34,6 +34,10 @@ on:
- '!oap-server/**'
- '!**.md'
concurrency:
group: plugins-1-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
PluginsTest:
name: Plugin

View File

@ -34,6 +34,10 @@ on:
- '!oap-server/**'
- '!**.md'
concurrency:
group: plugins-2-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
PluginsTest:
name: Plugin

View File

@ -34,6 +34,10 @@ on:
- '!oap-server/**'
- '!**.md'
concurrency:
group: plugins-3-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
PluginsTest:
name: Plugin