Test validate-host role
Add validate-host to our zuul role integration job. This will allow us to test changes to the validate host role and be more confident in making those changes. Depends-On: https://review.openstack.org/563790 Change-Id: If2db235d143e3edace75db724928c9e482720b93
This commit is contained in:
parent
973df4ecea
commit
ac90eed05d
@ -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
13
tests/validate-host.yaml
Normal 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
|
@ -26,6 +26,7 @@
|
||||
- ^roles/mirror-info/.*
|
||||
- ^roles/set-zuul-log-path-fact/.*
|
||||
- ^roles/use-cached-repos/.*
|
||||
- ^roles/validate-host/.*
|
||||
- ^tests/.*
|
||||
|
||||
- job:
|
||||
|
Loading…
x
Reference in New Issue
Block a user