You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/10/10 16:34:17 UTC
[airflow] branch master updated: Fixes cancelling of too many
workflows. (#11403)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 076fe88 Fixes cancelling of too many workflows. (#11403)
076fe88 is described below
commit 076fe88a1dadc9e9cde4674e79c3dc9e1881dffb
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Sat Oct 10 18:33:06 2020 +0200
Fixes cancelling of too many workflows. (#11403)
A problem was introduced in #11397 where a bit too many "Build Image"
jobs is being cancelled by subsequent Build Image run. For now it
cancels all the Build Image jobs that are running :(.
---
.github/workflows/build-images-workflow-run.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build-images-workflow-run.yml b/.github/workflows/build-images-workflow-run.yml
index 1095120..1340d32 100644
--- a/.github/workflows/build-images-workflow-run.yml
+++ b/.github/workflows/build-images-workflow-run.yml
@@ -124,11 +124,11 @@ jobs:
# to match the jobs using job name rather than use proper API because that feature
# is currently missing in GitHub Actions ¯\_(ツ)_/¯.
id: extract-cancelled-failed-runs
- if: steps.source-run-info-failed.outputs.cancelledRuns != '[]'
+ if: steps.cancel-failed.outputs.cancelledRuns != '[]'
run: |
REGEXP="Source Run id: "
SEPARATOR=""
- for run_id in $(echo "${{ steps.source-run-info-failed.outputs.cancelledRuns }}" | jq '.[]')
+ for run_id in $(echo "${{ steps.cancel-failed.outputs.cancelledRuns }}" | jq '.[]')
do
REGEXP="${REGEXP}${SEPARATOR}(${run_id})"
SEPARATOR="|"