Skip to content

Commit 8878050

Browse files
raukadahopenshift-merge-bot[bot]
authored andcommitted
Set proper value for cifmw_update_containers_registry/tag
Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com>
1 parent cff4b91 commit 8878050

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

.zuul.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@
237237
cifmw_update_containers_watcher: true
238238
watcher_services_tag: watcher_latest
239239
watcher_registry_url: "{{ content_provider_os_registry_url }}"
240-
cifmw_update_containers_tag: current-tested
241-
cifmw_update_containers_registry: quay.rdoproject.org
242240
cifmw_test_operator_tempest_image_tag: watcher_latest
243241

244242
extra-vars:

ci/scenarios/edpm.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,23 @@ cifmw_install_yamls_whitelisted_vars:
8888
- 'WATCHER_REPO'
8989
- 'WATCHER_BRANCH'
9090
- 'OUTPUT_DIR'
91+
92+
cifmw_update_containers_registry: >-
93+
{%- if content_provider_os_registry_url is defined and content_provider_os_registry_url != 'null' and cifmw_repo_setup_release == 'master' -%}
94+
{{ content_provider_os_registry_url | split('/') | first }}
95+
{%- elif content_provider_os_registry_url is defined and content_provider_os_registry_url == 'null' and cifmw_repo_setup_release == 'master' -%}
96+
quay.rdoproject.org
97+
{%- elif watcher_registry_url is defined -%}
98+
{{ watcher_registry_url | split('/') | first }}
99+
{%- else -%}
100+
quay.io
101+
{%- endif -%}
102+
103+
cifmw_update_containers_tag: >-
104+
{%- if content_provider_os_registry_url is defined and content_provider_os_registry_url != 'null' -%}
105+
watcher_latest
106+
{%- elif content_provider_os_registry_url is defined and content_provider_os_registry_url == 'null' and cifmw_repo_setup_release == 'master' -%}
107+
current-tested
108+
{%- else -%}
109+
current-podified
110+
{%- endif -%}

0 commit comments

Comments
 (0)