No zuul check on public
This commit is contained in:
@ -2,10 +2,8 @@
|
|||||||
- 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 %}
|
||||||
|
@ -356,10 +356,11 @@ def process_repositories(args, service):
|
|||||||
context["docs"].append(doc)
|
context["docs"].append(doc)
|
||||||
if args.cloud_environment == "swiss":
|
if args.cloud_environment == "swiss":
|
||||||
context["template"] = "helpcenter-swiss-base-jobs"
|
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"
|
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["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