ci/lava: Wrap job definition dump into a collapsed section
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16323>
This commit is contained in:
parent
fc2ae8d375
commit
c9d4076c1e
|
@ -479,8 +479,13 @@ def main(args):
|
||||||
job_definition = generate_lava_yaml(args)
|
job_definition = generate_lava_yaml(args)
|
||||||
|
|
||||||
if args.dump_yaml:
|
if args.dump_yaml:
|
||||||
print("LAVA job definition (YAML):")
|
with GitlabSection(
|
||||||
print(hide_sensitive_data(job_definition))
|
"yaml_dump",
|
||||||
|
"LAVA job definition (YAML)",
|
||||||
|
type=LogSectionType.LAVA_BOOT,
|
||||||
|
start_collapsed=True,
|
||||||
|
):
|
||||||
|
print(hide_sensitive_data(job_definition))
|
||||||
job = LAVAJob(proxy, job_definition)
|
job = LAVAJob(proxy, job_definition)
|
||||||
|
|
||||||
if errors := job.validate():
|
if errors := job.validate():
|
||||||
|
|
Loading…
Reference in New Issue