mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
ci_run_n_monitor: add comment to explain "MR > fork" logic
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25186>
This commit is contained in:
parent
717cff829c
commit
7eabe9bb40
1 changed files with 2 additions and 0 deletions
|
|
@ -317,9 +317,11 @@ if __name__ == "__main__":
|
|||
else:
|
||||
if not REV:
|
||||
REV = check_output(['git', 'rev-parse', 'HEAD']).decode('ascii').strip()
|
||||
# Look for an MR pipeline first
|
||||
cur_project = gl.projects.get("mesa/mesa")
|
||||
pipe = wait_for_pipeline(cur_project, REV, timeout=10)
|
||||
if not pipe:
|
||||
# Fallback to a pipeline in the user's fork
|
||||
cur_project = get_gitlab_project(gl, args.project)
|
||||
pipe = wait_for_pipeline(cur_project, REV)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue