actions-github #58
@ -2,10 +2,8 @@
|
||||
- project:
|
||||
merge-mode: squash-merge
|
||||
default-branch: main
|
||||
{%- if environment != "public" %}
|
||||
templates:
|
||||
- {{ template }}
|
||||
{%- endif %}
|
||||
vars:
|
||||
sphinx_pdf_files:
|
||||
{%- for doc in docs %}
|
||||
|
@ -356,10 +356,11 @@ def process_repositories(args, service):
|
||||
context["docs"].append(doc)
|
||||
if args.cloud_environment == "swiss":
|
||||
context["template"] = "helpcenter-swiss-base-jobs"
|
||||
elif args.cloud_environment == "eu_de":
|
||||
elif args.cloud_environment == "eu_de" and args.target_environment == "internal":
|
||||
context["template"] = "helpcenter-base-jobs"
|
||||
elif args.cloud_environment == "eu_de" and args.target_environment == "public":
|
||||
context["template"] = "helpcenter-base-jobs-no-check"
|
||||
context["service_type"] = service['service_type']
|
||||
context["environment"] = args.target_environment
|
||||
|
||||
zuul_yaml_content = zuul_yaml_template.render(**context)
|
||||
zuul_yaml_path = pathlib.Path(copy_to, "zuul.yaml")
|
||||
|
Reference in New Issue
Block a user