ci_run_n_monitor: require user to add an explicit .*
at the end if jobs like *-full
are wanted
Most of the time, these jobs are not wanted, so let's make this a full match instead of prefix match so that users only get what they ask for. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26066>
This commit is contained in:

committed by
Marge Bot

parent
ce7cda417f
commit
a5e20a5c31
@@ -105,7 +105,7 @@ def monitor_pipeline(
|
||||
to_cancel = []
|
||||
for job in pipeline.jobs.list(all=True, sort="desc"):
|
||||
# target jobs
|
||||
if target_jobs_regex.match(job.name):
|
||||
if target_jobs_regex.fullmatch(job.name):
|
||||
target_id = job.id
|
||||
|
||||
if stress and job.status in ["success", "failed"]:
|
||||
|
Reference in New Issue
Block a user