ci_run_n_monitor: print the target regex before adding the X/N bit

To avoid showing something too complex to the user, especially since this isn't something they added themselves or can remove.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27530>
This commit is contained in:
Eric Engestrom
2024-02-08 18:02:31 +00:00
committed by Marge Bot
parent 7154c1eb77
commit 9beb9081fc

View File

@@ -455,13 +455,14 @@ if __name__ == "__main__":
target = '|'.join(args.target)
target = target.strip()
deps = set()
print("🞋 job: " + Fore.BLUE + target + Style.RESET_ALL)
# Implicitly include `parallel:` jobs
target = f'({target})' + r'( \d+/\d+)?'
target_jobs_regex = re.compile(target)
deps = set()
print("🞋 job: " + Fore.BLUE + target + Style.RESET_ALL)
deps = find_dependencies(
token=token,
target_jobs_regex=target_jobs_regex,