You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/06/24 09:36:35 UTC
[inlong] 01/01: Revert "[INLONG-4653][CI] Add concurrency support on GitHub Actions (#4654)"
This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch revert-4654-INLONG-4653
in repository https://gitbox.apache.org/repos/asf/inlong.git
commit a82e231ae050913e06bba3b1ccfb01cdc9c82fa3
Author: Charles Zhang <do...@apache.org>
AuthorDate: Fri Jun 24 17:36:30 2022 +0800
Revert "[INLONG-4653][CI] Add concurrency support on GitHub Actions (#4654)"
This reverts commit a6c183d2a709bfeacd2165a93d3699e093a73480.
---
.github/workflows/ci_build.yml | 4 ----
.github/workflows/ci_chart_test.yml | 4 ----
.github/workflows/ci_check_license.yml | 4 ----
.github/workflows/ci_docker.yml | 16 +---------------
.github/workflows/ci_ut.yml | 4 ----
5 files changed, 1 insertion(+), 31 deletions(-)
diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index 8cbc00420..dda61fb59 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -52,10 +52,6 @@ on:
- 'inlong-tubemq/**'
- '!**.md'
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
- cancel-in-progress: true
-
jobs:
build:
name: Build
diff --git a/.github/workflows/ci_chart_test.yml b/.github/workflows/ci_chart_test.yml
index 80ffc48ac..dabf18b2a 100644
--- a/.github/workflows/ci_chart_test.yml
+++ b/.github/workflows/ci_chart_test.yml
@@ -40,10 +40,6 @@ env:
CT_CONFIG_PATH: '.github/ct.yml'
KIND_CONFIG_PATH: '.github/kind.yml'
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
- cancel-in-progress: true
-
jobs:
chart-test:
name: Lint and test charts
diff --git a/.github/workflows/ci_check_license.yml b/.github/workflows/ci_check_license.yml
index c451f6756..64846918f 100644
--- a/.github/workflows/ci_check_license.yml
+++ b/.github/workflows/ci_check_license.yml
@@ -19,10 +19,6 @@ name: InLong Check License Header
on: [ push, pull_request ]
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
- cancel-in-progress: true
-
jobs:
check-license:
name: Check license header
diff --git a/.github/workflows/ci_docker.yml b/.github/workflows/ci_docker.yml
index d174918ca..0a696f8ad 100644
--- a/.github/workflows/ci_docker.yml
+++ b/.github/workflows/ci_docker.yml
@@ -40,10 +40,6 @@ on:
- 'inlong-tubemq/tubemq-docker/**'
- '!**.md'
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
- cancel-in-progress: true
-
jobs:
docker:
name: Docker build and push
@@ -77,13 +73,6 @@ jobs:
env:
CI: false
- # Check if only the workflow file is changed.
- - name: Check workflow diff
- id: check-workflow-diff
- uses: apache/pulsar-test-infra/diff-only@master
- with:
- args: .github/workflows/ci_docker.yml
-
# If the changes are being pushed to the master branch or a branch like 'release-1.0.0', this step will output true.
- name: Match branch
id: match-branch
@@ -97,10 +86,7 @@ jobs:
fi
- name: Push Docker images to Docker Hub
- if: |
- success()
- && steps.check-workflow-diff.outputs.changed_only == 'no'
- && steps.match-branch.outputs.match == 'true'
+ if: ${{ success() && steps.match-branch.outputs.match == 'true' }}
working-directory: docker
run: bash +x publish.sh
env:
diff --git a/.github/workflows/ci_ut.yml b/.github/workflows/ci_ut.yml
index 9f8e6dc65..ef365491c 100644
--- a/.github/workflows/ci_ut.yml
+++ b/.github/workflows/ci_ut.yml
@@ -52,10 +52,6 @@ on:
- 'inlong-tubemq/**'
- '!**.md'
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
- cancel-in-progress: true
-
jobs:
unit-test:
name: Unit Test