Zuul changes for PDF
All checks were successful
gl/check check status: success (18dab6c658c8231a3d685505e9800ccc22de3203)

This commit is contained in:
2024-12-05 13:51:21 +00:00
parent c0a83341f4
commit 18dab6c658
3 changed files with 14 additions and 1 deletions

View File

@ -299,6 +299,12 @@ def process_repositories(args, service):
if args.update_zuul:
"""Update zuul.yaml"""
context = dict(docs=[])
for doc in service_docs:
if doc["type"] == "dev":
doc["type"] = "dev-guide"
context["docs"].append(doc)
context["service_type"] = service['service_type']
zuul_yaml_content = zuul_yaml_template.render(**context)
zuul_yaml_path = pathlib.Path(copy_to, "zuul.yaml")