cloud environment confpy

This commit is contained in:
Gode, Sebastian 2025-04-29 12:42:08 +00:00
parent 825934bab0
commit 3fb50bcc25
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ otcdocs_doc_type = '{{ doc_type }}'
otcdocs_service_category = '{{ service_category }}'
otcdocs_service_title = '{{ service_title }}'
otcdocs_service_type = '{{ service_type }}'
otcdocs_cloud_environment = '{{ otcdocs_cloud_environment }}'
otcdocs_search_environment = '{{ otcdocs_search_environment }}'
otcdocs_search_index = '{{ otcdocs_search_index }}'
otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/"

View File

@ -215,6 +215,7 @@ def process_repositories(args, service):
context["service_category"] = service['service_category']
context["service_title"] = service['service_title']
context["service_type"] = service['service_type']
context["otcdocs_cloud_environment"] = args.cloud_environment
conf_py_content = conf_py_template.render(**context)
with open(conf_py_path, "w", encoding="utf-8", newline="") as out: