ci_run_n_monitor: drop always-true condition

`--target` is mandatory.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27252>
This commit is contained in:
Eric Engestrom
2024-01-24 23:19:33 +00:00
committed by Marge Bot
parent 8e6643fee5
commit eeba409c54

View File

@@ -384,11 +384,10 @@ if __name__ == "__main__":
target_jobs_regex = re.compile(args.target.strip()) target_jobs_regex = re.compile(args.target.strip())
deps = set() deps = set()
if args.target: print("🞋 job: " + Fore.BLUE + args.target + Style.RESET_ALL)
print("🞋 job: " + Fore.BLUE + args.target + Style.RESET_ALL) deps = find_dependencies(
deps = find_dependencies( target_jobs_regex=target_jobs_regex, iid=pipe.iid, project_path=cur_project
target_jobs_regex=target_jobs_regex, iid=pipe.iid, project_path=cur_project )
)
target_job_id, ret = monitor_pipeline( target_job_id, ret = monitor_pipeline(
cur_project, pipe, target_jobs_regex, deps, args.force_manual, args.stress cur_project, pipe, target_jobs_regex, deps, args.force_manual, args.stress
) )