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
4 changed files with 7 additions and 40 deletions

View File

@ -293,24 +293,6 @@ documents:
service_type: dis service_type: dis
title: User Guide title: User Guide
type: umn type: umn
- environment: internal
hc_location: api/dli
html_location: docs/dli/api-ref
link: /data-lake-insight/api-ref/
pdf_name: dli-api-ref
rst_location: api-ref/source
service_type: dli
title: API Reference
type: api-ref
- environment: internal
hc_location: usermanual/dli
html_location: docs/dli/umn
link: /data-lake-insight/umn/
pdf_name: dli-umn
rst_location: umn/source
service_type: dli
title: User Guide
type: umn
- hc_location: api/dms - hc_location: api/dms
html_location: docs/dms/api-ref html_location: docs/dms/api-ref
link: /distributed-message-service/api-ref/ link: /distributed-message-service/api-ref/
@ -691,18 +673,17 @@ documents:
html_location: docs/obs/pfs html_location: docs/obs/pfs
link: /object-storage-service/parallel-file-system/ link: /object-storage-service/parallel-file-system/
pdf_name: obs-pfs pdf_name: obs-pfs
rst_location: doc/parallel-file-system/source rst_location: doc/pfs/source
service_type: obs service_type: obs
title: Parallel File System (PFS) title: Parallel File System (PFS)
type: parallel-file-system type: pfs
- environment: internal - html_location: docs/obs/perms-cfg
html_location: docs/obs/perms-cfg
link: /object-storage-service/permissions-configuration-guide/ link: /object-storage-service/permissions-configuration-guide/
pdf_name: obs-perms-cfg pdf_name: obs-perms-cfg
rst_location: doc/permissions-configuration-guide/source rst_location: doc/perms-cfg/source
service_type: obs service_type: obs
title: Permissions Configuration Guide title: Permissions Configuration Guide
type: permissions-configuration-guide type: perms-cfg
- hc_location: api_swift/obs - hc_location: api_swift/obs
html_location: docs/obs/api-swift html_location: docs/obs/api-swift
link: /object-storage-service/swiftapi/ link: /object-storage-service/swiftapi/
@ -1269,19 +1250,6 @@ services:
teams: teams:
- name: docs-network-rw - name: docs-network-rw
permission: write permission: write
- repositories:
- environment: internal
repo: docs/data-lake-insight
type: gitea
- environment: public
repo: docs/data-lake-insight
type: github
service_category: big_data
service_title: Data Lake Insight
service_type: dli
teams:
- name: docs-bigdata-ai-rw
permission: write
- repositories: - repositories:
- environment: internal - environment: internal
repo: docs/data-replication-service repo: docs/data-replication-service

View File

@ -35,7 +35,7 @@ commands =
{[testenv:json-{{ doc.type }}]commands} {[testenv:json-{{ doc.type }}]commands}
{%- endfor %} {%- endfor %}
[testenv:pdf-docs] [testenv:docs-pdf]
deps = -r{toxinidir}/doc/requirements.txt deps = -r{toxinidir}/doc/requirements.txt
allowlist_externals = allowlist_externals =
rm rm

View File

@ -3,4 +3,3 @@ ruamel.yaml
requests requests
jinja2 jinja2
dirsync dirsync
cookiecutter

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