Merge "Test validate-host role"

This commit is contained in:
Zuul 2018-08-14 11:21:39 +00:00 committed by Gerrit Code Review
commit 24f7dc5441
3 changed files with 15 additions and 0 deletions

View File

@ -10,4 +10,5 @@
- include: mirror-info.yaml
- include: configure-mirrors.yaml
- include: fetch-zuul-cloner.yaml
- include: validate-host.yaml

13
tests/validate-host.yaml Normal file
View File

@ -0,0 +1,13 @@
- name: Test the validate-host role
pre_tasks:
# NOTE(pabelanger): Until we hit the validate-host role, we have a minimal
# set of ansible variables collected by zuul-executor. This doesn't include
# network variables (ansible_default_ipv4 / ansible_default_ipv6) so gather
# these variables as they are important to the configure-unbound role.
- name: Gather network facts
setup:
gather_subset: 'network'
hosts: all
roles:
- role: validate-host
zuul_site_traceroute_host: git.openstack.org

View File

@ -26,6 +26,7 @@
- ^roles/mirror-info/.*
- ^roles/set-zuul-log-path-fact/.*
- ^roles/use-cached-repos/.*
- ^roles/validate-host/.*
- ^tests/.*
- job: