Allow overriding the container registry namespace for Ussuri

Adds the job.alt_container_registry_namespace variable to allow setting
an alternative namespace for Ussuri jobs

Change-Id: I46d2be197922e5431954be0dbc69f2d7fe2dfd84
This commit is contained in:
Rafael Castillo 2022-01-10 12:35:44 -07:00
parent b70d2ade3c
commit 4ad6c5758e

View File

@ -26,7 +26,10 @@ docker_registry_host: >-
# for rdo-cloud & vexxhost based check jobs, set 'tripleoussuri'
# as docker_registry_namespace.
docker_registry_namespace: >-
{% if cloudenv is defined and cloudenv in ['rdo', 'vexxhost', 'psi'] -%}
{% if job is defined and
job.alt_container_registry_namespace is defined -%}
{{ job.alt_container_registry_namespace }}
{% elif cloudenv is defined and cloudenv in ['rdo', 'vexxhost', 'psi'] -%}
tripleoussuri
{%- else -%}
tripleou