cloud environment confpy
This commit is contained in:
parent
825934bab0
commit
3fb50bcc25
@ -47,6 +47,7 @@ otcdocs_doc_type = '{{ doc_type }}'
|
|||||||
otcdocs_service_category = '{{ service_category }}'
|
otcdocs_service_category = '{{ service_category }}'
|
||||||
otcdocs_service_title = '{{ service_title }}'
|
otcdocs_service_title = '{{ service_title }}'
|
||||||
otcdocs_service_type = '{{ service_type }}'
|
otcdocs_service_type = '{{ service_type }}'
|
||||||
|
otcdocs_cloud_environment = '{{ otcdocs_cloud_environment }}'
|
||||||
otcdocs_search_environment = '{{ otcdocs_search_environment }}'
|
otcdocs_search_environment = '{{ otcdocs_search_environment }}'
|
||||||
otcdocs_search_index = '{{ otcdocs_search_index }}'
|
otcdocs_search_index = '{{ otcdocs_search_index }}'
|
||||||
otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/"
|
otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/"
|
||||||
|
@ -215,6 +215,7 @@ def process_repositories(args, service):
|
|||||||
context["service_category"] = service['service_category']
|
context["service_category"] = service['service_category']
|
||||||
context["service_title"] = service['service_title']
|
context["service_title"] = service['service_title']
|
||||||
context["service_type"] = service['service_type']
|
context["service_type"] = service['service_type']
|
||||||
|
context["otcdocs_cloud_environment"] = args.cloud_environment
|
||||||
|
|
||||||
conf_py_content = conf_py_template.render(**context)
|
conf_py_content = conf_py_template.render(**context)
|
||||||
with open(conf_py_path, "w", encoding="utf-8", newline="") as out:
|
with open(conf_py_path, "w", encoding="utf-8", newline="") as out:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user