Lines Matching +full:rev +full:- +full:parse
7 # SPDX-License-Identifier: MIT
34 ) -> None:
37 target_jobs_regex = re.compile(".*-traces([:].*)?$")
64 with open(traces_file[0], 'r', encoding='utf-8') as target_file:
72 # parse artifact
74 results_json = bz2.decompress(results_json_bz2).decode("utf-8", errors="replace")
109 with open(traces_file[0], 'w', encoding='utf-8') as target_file:
114 def parse_args() -> None:
115 """Parse args"""
118 epilog="Example: update_traces_checksum.py --rev $(git rev-parse HEAD) "
121 "--rev", metavar="revision", help="repository git revision",
124 "--token",
129 f"otherwise it's read from {TOKEN_DIR / 'gitlab-token'}",
132 "--pipeline-url",
151 REV = pipe.sha variable
153 if not args.rev:
154 print('error: the following arguments are required: --rev')
156 print(f"Revision: {args.rev}")
157 (pipe, cur_project) = wait_for_pipeline([cur_project], args.rev)