Commit Graph

4 Commits

Author SHA1 Message Date
Jarek Potiuk b041ecb2a9
The Cancel step is now optimised in one job (#5782)
The cancel steps were tried in separate jobs but it causes
an unnecessary increase in the number of jobs blocking the queue
even if we limited parallelism. This PR combines all the cancel
actions into a single job with multiple steps.

While this is a bit more copy&pasting and less DRY it is also
far more optimised and "aggressive" - i.e. once any cancel
job starts to be running it will immediately cancel all duplicates
for all workflows.
2020-11-03 19:31:36 +08:00
Jarek Potiuk 63c016d3f6
Simplifies canceling workflow (#5776)
Instead of multiple workflow-runs generated for different workflows
this change replces it with single workflow, cancelling all others.
It is triggered by only one CI-IT workflow, because this one is
always triggered when all others are. It also sets parallelism
of the matrix to 4, so that there are not too many jobs in
parallel taken when this workflow runs.
2020-11-03 14:31:24 +08:00
吴晟 Wu Sheng 19752ad098
Upgrade the cancel plugin (#5766) 2020-11-02 10:40:25 +08:00
kezhenxu94 a5300880d7
[CI] Cancel outdated jobs when new builds are fired (#5558) 2020-11-02 00:19:57 +08:00