Environment
This commit is contained in:
@ -2,8 +2,10 @@
|
|||||||
- project:
|
- project:
|
||||||
merge-mode: squash-merge
|
merge-mode: squash-merge
|
||||||
default-branch: main
|
default-branch: main
|
||||||
|
{%- if environment != "public" %}
|
||||||
templates:
|
templates:
|
||||||
- {{ template }}
|
- {{ template }}
|
||||||
|
{%- endif %}
|
||||||
vars:
|
vars:
|
||||||
sphinx_pdf_files:
|
sphinx_pdf_files:
|
||||||
{%- for doc in docs %}
|
{%- for doc in docs %}
|
||||||
|
@ -359,6 +359,7 @@ def process_repositories(args, service):
|
|||||||
elif args.cloud_environment == "eu_de":
|
elif args.cloud_environment == "eu_de":
|
||||||
context["template"] = "helpcenter-base-jobs"
|
context["template"] = "helpcenter-base-jobs"
|
||||||
context["service_type"] = service['service_type']
|
context["service_type"] = service['service_type']
|
||||||
|
context["environment"] = args.target_environment
|
||||||
|
|
||||||
zuul_yaml_content = zuul_yaml_template.render(**context)
|
zuul_yaml_content = zuul_yaml_template.render(**context)
|
||||||
zuul_yaml_path = pathlib.Path(copy_to, "zuul.yaml")
|
zuul_yaml_path = pathlib.Path(copy_to, "zuul.yaml")
|
||||||
|
Reference in New Issue
Block a user