Skip to content

Commit 5f57746

Browse files
MDBF-1223: Cancelled RelWithDebInfo builders trigger autobake builders
This was a nice feature in the past, when playing whack-a-mole to stop a build and immediatly trigger one that will deliver packages on CI. Now, with MDBF-1200, we may forget this childhood game, and allow the build canceller to stop older build requests without any side-effects (i.e. triggering other builds). We still don't stop failed tests from triggering package builders, and it is ok; dev's should decide if the generated packages are worth a dime.
1 parent a96fcbf commit 5f57746

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

common_factories.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@ def addPostTests(factory):
119119
"mariadb_version": Property("mariadb_version"),
120120
"master_branch": Property("master_branch"),
121121
},
122-
doStepIf=hasAutobake,
122+
doStepIf=(
123+
lambda step: hasAutobake(step)
124+
and step.build.results != results.CANCELLED
125+
),
123126
)
124127
)
125128
# create package and upload to master

0 commit comments

Comments
 (0)