vmware/test: set vmware/scenario/vcenter_only alias (#65515)
Add the `vmware/scenario/vcenter_only` alias to be able to identify the vmware test roles that can be tested with just on vcenter instance. Also, add a check to be sure we don't try to attach ESXi hosts if none has been defined.
This commit is contained in:
parent
212fb40147
commit
a8efe7442c
40 changed files with 43 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
- fail:
|
||||||
|
msg: "No ESXi hosts defined. esxi_hosts is empty."
|
||||||
|
when: "esxi_hosts|length == 0"
|
||||||
|
|
||||||
- name: Add ESXi Hosts to vCenter
|
- name: Add ESXi Hosts to vCenter
|
||||||
vmware_host:
|
vmware_host:
|
||||||
datacenter_name: '{{ dc1 }}'
|
datacenter_name: '{{ dc1 }}'
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
unsupported
|
unsupported
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
unsupported
|
unsupported
|
||||||
skip/python2.6
|
skip/python2.6
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -4,3 +4,4 @@ destructive
|
||||||
needs/file/contrib/inventory/vmware_inventory.py
|
needs/file/contrib/inventory/vmware_inventory.py
|
||||||
needs/file/contrib/inventory/vmware_inventory.ini
|
needs/file/contrib/inventory/vmware_inventory.ini
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
unsupported
|
unsupported
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
shippable/vcenter/group1
|
shippable/vcenter/group1
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
cloud/vcenter
|
cloud/vcenter
|
||||||
unsupported
|
unsupported
|
||||||
needs/target/prepare_vmware_tests
|
needs/target/prepare_vmware_tests
|
||||||
|
zuul/vmware/vcenter_only
|
||||||
|
|
Loading…
Reference in a new issue