cloud environment confpy
This commit is contained in:
		@ -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/"
 | 
			
		||||
 | 
			
		||||
@ -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:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user