Set environment for SBV internally automatically to internal
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com> Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
This commit is contained in:
		@ -5,3 +5,4 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
   .. service_card::
 | 
					   .. service_card::
 | 
				
			||||||
      :service_type: {{ service_type }}
 | 
					      :service_type: {{ service_type }}
 | 
				
			||||||
 | 
					      :environment: {{ environment }}
 | 
				
			||||||
 | 
				
			|||||||
@ -201,6 +201,7 @@ def process_repositories(args, service):
 | 
				
			|||||||
                site_name="Internal Documentation Portal",
 | 
					                site_name="Internal Documentation Portal",
 | 
				
			||||||
                logo_url="https://docs-int.otc-service.com",
 | 
					                logo_url="https://docs-int.otc-service.com",
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
 | 
					        context["environment"] = args.target_environment
 | 
				
			||||||
        sbv_title = (service["service_title"] + "\n"
 | 
					        sbv_title = (service["service_title"] + "\n"
 | 
				
			||||||
                     + ('=' * len(service["service_title"])))
 | 
					                     + ('=' * len(service["service_title"])))
 | 
				
			||||||
        context["sbv_title"] = sbv_title
 | 
					        context["sbv_title"] = sbv_title
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user