Set airship-citycloud mirror url to opendev.org

New clouds aren't getting openstack.org mirrors but instead opendev.org
names. We have to override the mirror name based on region and cloud in
order for jobs to properly find the mirror.

Change-Id: I4ed2f55416f1898746c414b2c443bc9bd5a100fe
This commit is contained in:
Clark Boylan 2020-02-08 13:51:48 -08:00
parent f736763c81
commit a56b4c1c82

View File

@ -4,7 +4,7 @@
# new opendev.org based mirrors, but then eventually be removed once # new opendev.org based mirrors, but then eventually be removed once
# all are updated. # all are updated.
zuul_site_mirror_fqdn: >- zuul_site_mirror_fqdn: >-
{%- if nodepool.region + "." + nodepool.cloud in [ "DFW.rax", "ORD.rax", "regionOne.fortnebula", "mtl01.inap", "RegionOne.linaro-us" ] -%} {%- if nodepool.region + "." + nodepool.cloud in [ "DFW.rax", "ORD.rax", "regionOne.fortnebula", "mtl01.inap", "RegionOne.linaro-us", "Kna1.airship-citycloud" ] -%}
mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.opendev.org mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.opendev.org
{%- else -%} {%- else -%}
mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.openstack.org mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.openstack.org