You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/05/31 15:11:08 UTC

[skywalking] branch master updated: Cancel duplicated workflows (#7043)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 5188436  Cancel duplicated workflows (#7043)
5188436 is described below

commit 518843633f3498762423742d2e92cf25a49cc71d
Author: Zhenxu <ke...@apache.org>
AuthorDate: Mon May 31 23:10:45 2021 +0800

    Cancel duplicated workflows (#7043)
---
 .github/workflows/ci-it.yaml                | 4 ++++
 .github/workflows/codeql.yaml               | 4 ++++
 .github/workflows/dead-link-checker.yaml    | 4 ++++
 .github/workflows/docker-ci.yaml            | 4 ++++
 .github/workflows/e2e.alarm.yaml            | 4 ++++
 .github/workflows/e2e.cluster.yaml          | 4 ++++
 .github/workflows/e2e.compat.yaml           | 4 ++++
 .github/workflows/e2e.event.yaml            | 4 ++++
 .github/workflows/e2e.go.yaml               | 6 +++++-
 .github/workflows/e2e.istio.yaml            | 4 ++++
 .github/workflows/e2e.jdk-versions.yaml     | 4 ++++
 .github/workflows/e2e.js.yaml               | 6 +++++-
 .github/workflows/e2e.kafka.yaml            | 6 +++++-
 .github/workflows/e2e.log.yaml              | 6 +++++-
 .github/workflows/e2e.nodejs.yaml           | 4 ++++
 .github/workflows/e2e.php.yaml              | 6 +++++-
 .github/workflows/e2e.profiling.yaml        | 6 +++++-
 .github/workflows/e2e.python.yaml           | 6 +++++-
 .github/workflows/e2e.so11y.yaml            | 4 ++++
 .github/workflows/e2e.storages.yaml         | 4 ++++
 .github/workflows/e2e.ttl.yaml              | 6 +++++-
 .github/workflows/e2e.yaml                  | 6 +++++-
 .github/workflows/plugins-jdk14-test.0.yaml | 4 ++++
 .github/workflows/plugins-test.0.yaml       | 4 ++++
 .github/workflows/plugins-test.1.yaml       | 4 ++++
 .github/workflows/plugins-test.2.yaml       | 4 ++++
 .github/workflows/plugins-test.3.yaml       | 4 ++++
 27 files changed, 117 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/ci-it.yaml b/.github/workflows/ci-it.yaml
index 3df1e02..7bdd5f1 100644
--- a/.github/workflows/ci-it.yaml
+++ b/.github/workflows/ci-it.yaml
@@ -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
diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml
index 9378a9c..feef0b7 100644
--- a/.github/workflows/codeql.yaml
+++ b/.github/workflows/codeql.yaml
@@ -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
diff --git a/.github/workflows/dead-link-checker.yaml b/.github/workflows/dead-link-checker.yaml
index 63c554b..1934585 100644
--- a/.github/workflows/dead-link-checker.yaml
+++ b/.github/workflows/dead-link-checker.yaml
@@ -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
diff --git a/.github/workflows/docker-ci.yaml b/.github/workflows/docker-ci.yaml
index 52cd6ae..da74c9d 100644
--- a/.github/workflows/docker-ci.yaml
+++ b/.github/workflows/docker-ci.yaml
@@ -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
diff --git a/.github/workflows/e2e.alarm.yaml b/.github/workflows/e2e.alarm.yaml
index 87c2ea2..27837bb 100644
--- a/.github/workflows/e2e.alarm.yaml
+++ b/.github/workflows/e2e.alarm.yaml
@@ -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
diff --git a/.github/workflows/e2e.cluster.yaml b/.github/workflows/e2e.cluster.yaml
index 2b1dbe2..bb13f18 100644
--- a/.github/workflows/e2e.cluster.yaml
+++ b/.github/workflows/e2e.cluster.yaml
@@ -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
diff --git a/.github/workflows/e2e.compat.yaml b/.github/workflows/e2e.compat.yaml
index bdb37eb..4d96053 100644
--- a/.github/workflows/e2e.compat.yaml
+++ b/.github/workflows/e2e.compat.yaml
@@ -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
diff --git a/.github/workflows/e2e.event.yaml b/.github/workflows/e2e.event.yaml
index 04a464f..7db7b7d 100644
--- a/.github/workflows/e2e.event.yaml
+++ b/.github/workflows/e2e.event.yaml
@@ -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
 
diff --git a/.github/workflows/e2e.go.yaml b/.github/workflows/e2e.go.yaml
index 5f7c773..fe37f09 100644
--- a/.github/workflows/e2e.go.yaml
+++ b/.github/workflows/e2e.go.yaml
@@ -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
\ No newline at end of file
+          test_class: org.apache.skywalking.e2e.GOE2E
diff --git a/.github/workflows/e2e.istio.yaml b/.github/workflows/e2e.istio.yaml
index 09f0daa..afc0eeb 100644
--- a/.github/workflows/e2e.istio.yaml
+++ b/.github/workflows/e2e.istio.yaml
@@ -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
diff --git a/.github/workflows/e2e.jdk-versions.yaml b/.github/workflows/e2e.jdk-versions.yaml
index f62410b..4b728cd 100644
--- a/.github/workflows/e2e.jdk-versions.yaml
+++ b/.github/workflows/e2e.jdk-versions.yaml
@@ -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
diff --git a/.github/workflows/e2e.js.yaml b/.github/workflows/e2e.js.yaml
index 8b8bf20..36a3c96 100644
--- a/.github/workflows/e2e.js.yaml
+++ b/.github/workflows/e2e.js.yaml
@@ -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
\ No newline at end of file
+          test_class: org.apache.skywalking.e2e.browser.BrowserWithClientJSE2E
diff --git a/.github/workflows/e2e.kafka.yaml b/.github/workflows/e2e.kafka.yaml
index 62c87d1..36566aa 100644
--- a/.github/workflows/e2e.kafka.yaml
+++ b/.github/workflows/e2e.kafka.yaml
@@ -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 }}
\ No newline at end of file
+          test_class: ${{ matrix.case.class }}
diff --git a/.github/workflows/e2e.log.yaml b/.github/workflows/e2e.log.yaml
index a561493..b61c966 100644
--- a/.github/workflows/e2e.log.yaml
+++ b/.github/workflows/e2e.log.yaml
@@ -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
\ No newline at end of file
+          test_class: org.apache.skywalking.e2e.log.LogE2E
diff --git a/.github/workflows/e2e.nodejs.yaml b/.github/workflows/e2e.nodejs.yaml
index 823f9b4..ca75e28 100644
--- a/.github/workflows/e2e.nodejs.yaml
+++ b/.github/workflows/e2e.nodejs.yaml
@@ -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
diff --git a/.github/workflows/e2e.php.yaml b/.github/workflows/e2e.php.yaml
index 248abfa..e49e36f 100644
--- a/.github/workflows/e2e.php.yaml
+++ b/.github/workflows/e2e.php.yaml
@@ -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
\ No newline at end of file
+          test_class: org.apache.skywalking.e2e.PHPE2E
diff --git a/.github/workflows/e2e.profiling.yaml b/.github/workflows/e2e.profiling.yaml
index 46d0bff..c03ecb0 100644
--- a/.github/workflows/e2e.profiling.yaml
+++ b/.github/workflows/e2e.profiling.yaml
@@ -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
\ No newline at end of file
+          test_class: org.apache.skywalking.e2e.profile.ProfileE2E
diff --git a/.github/workflows/e2e.python.yaml b/.github/workflows/e2e.python.yaml
index 37d991f..efbe391 100644
--- a/.github/workflows/e2e.python.yaml
+++ b/.github/workflows/e2e.python.yaml
@@ -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
\ No newline at end of file
+          test_class: org.apache.skywalking.e2e.PythonE2E
diff --git a/.github/workflows/e2e.so11y.yaml b/.github/workflows/e2e.so11y.yaml
index 80690fd..d292abe 100644
--- a/.github/workflows/e2e.so11y.yaml
+++ b/.github/workflows/e2e.so11y.yaml
@@ -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
diff --git a/.github/workflows/e2e.storages.yaml b/.github/workflows/e2e.storages.yaml
index c567c99..c6a56b6 100644
--- a/.github/workflows/e2e.storages.yaml
+++ b/.github/workflows/e2e.storages.yaml
@@ -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
diff --git a/.github/workflows/e2e.ttl.yaml b/.github/workflows/e2e.ttl.yaml
index 6dd69b9..98725b6 100644
--- a/.github/workflows/e2e.ttl.yaml
+++ b/.github/workflows/e2e.ttl.yaml
@@ -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
\ No newline at end of file
+          test_class: org.apache.skywalking.e2e.ttl.StorageTTLE2E
diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml
index e1c071f..0cfef59 100644
--- a/.github/workflows/e2e.yaml
+++ b/.github/workflows/e2e.yaml
@@ -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 }}
\ No newline at end of file
+          test_class: ${{ matrix.case.class }}
diff --git a/.github/workflows/plugins-jdk14-test.0.yaml b/.github/workflows/plugins-jdk14-test.0.yaml
index 1e2dd24..f2a5d96 100644
--- a/.github/workflows/plugins-jdk14-test.0.yaml
+++ b/.github/workflows/plugins-jdk14-test.0.yaml
@@ -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
diff --git a/.github/workflows/plugins-test.0.yaml b/.github/workflows/plugins-test.0.yaml
index c241d99..9c8ac3f 100644
--- a/.github/workflows/plugins-test.0.yaml
+++ b/.github/workflows/plugins-test.0.yaml
@@ -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
diff --git a/.github/workflows/plugins-test.1.yaml b/.github/workflows/plugins-test.1.yaml
index 2cc7654..30e43e4 100644
--- a/.github/workflows/plugins-test.1.yaml
+++ b/.github/workflows/plugins-test.1.yaml
@@ -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
diff --git a/.github/workflows/plugins-test.2.yaml b/.github/workflows/plugins-test.2.yaml
index 39298f1..4cc7128 100644
--- a/.github/workflows/plugins-test.2.yaml
+++ b/.github/workflows/plugins-test.2.yaml
@@ -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
diff --git a/.github/workflows/plugins-test.3.yaml b/.github/workflows/plugins-test.3.yaml
index 8f94865..d74d22a 100644
--- a/.github/workflows/plugins-test.3.yaml
+++ b/.github/workflows/plugins-test.3.yaml
@@ -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