Move configure-mirror role into base-test/pre

This moves our mirror configuration out from unittests in zuul-jobs
into our base job. This also creates our site-varaibles file for our
zuul-executors.

Change-Id: I9f495e1568efcbcb74260579ca26ef040eecd748
Depends-On: I4a0749b64a71e551e4fbea5b416b46d2d6433d0b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-08-03 12:36:45 -04:00
parent e1a6b89c7c
commit ee1552d035
2 changed files with 5 additions and 0 deletions

View File

@ -6,3 +6,5 @@
# TODO(mordred) When we have site-local variables, these should go there
zuul_traceroute_host: git.openstack.org
zuul_image_manifest: /etc/dib-builddate.txt
- role: configure-mirrors
mirror_fqdn: "{{ zuul_site_mirror_fqdn }}"

3
zuul/site-variables.yaml Normal file
View File

@ -0,0 +1,3 @@
# This file contains ansible variables that are used by our zuul-executors.
---
zuul_site_mirror_fqdn: "mirror.{{ nodepool.region | lower }}.{{ nodepool.provider | lower }}.openstack.org"