mirror of https://gitlab.freedesktop.org/mesa/mesa
ci: ci_run_n_monitor.py: fail when job is not found
Acked-by: Emma Anholt <emma@anholt.net> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19902>
This commit is contained in:
parent
50c7abefa6
commit
c415d8f08b
|
@ -256,6 +256,9 @@ def find_dependencies(target_job: str, project_path: str, sha: str) -> set[str]:
|
|||
)
|
||||
|
||||
target_dep_dag = filter_dag(dag, target_job)
|
||||
if not target_dep_dag:
|
||||
print(Fore.RED + "The job(s) were not found in the pipeline." + Fore.RESET)
|
||||
sys.exit(1)
|
||||
print(Fore.YELLOW)
|
||||
print("Detected job dependencies:")
|
||||
print()
|
||||
|
|
Loading…
Reference in New Issue