Environment

This commit is contained in:
2025-10-07 09:37:58 +00:00
parent 2174272b35
commit b0f471ac02
2 changed files with 3 additions and 0 deletions

View File

@ -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 %}

View File

@ -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")