Compare commits

..

1 Commits

Author SHA1 Message Date
e929d4bfe8 Include pdf filenames into zuul config
All checks were successful
gl/check check status: success (e929d4bfe8caf28aa96be1dc2ee91f64c1d38b73)
Zuul jobs expect to know PDF filenames to be fetching from artifacts.
Best way is to include them into the project config while managing zuul
config.
2023-02-23 15:36:56 +01:00

View File

@ -161,7 +161,7 @@ def process_repositories(args, service):
doc_type = doc["type"] doc_type = doc["type"]
# Collect all PDF files into sphinx_pdf_files var # Collect all PDF files into sphinx_pdf_files var
pdf_name = doc.get('pdf_name') pdf_name = doc.get('pdf_name')
if pdf_name and f"{pdf_name}.pdf" not in sphinx_pdf_files: if pdf_name and pdf_name not in sphinx_pdf_files:
sphinx_pdf_files.append(f"{pdf_name}.pdf") sphinx_pdf_files.append(f"{pdf_name}.pdf")
zuul_config_updated = True zuul_config_updated = True