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:
Gonéri Le Bouder 2019-12-04 17:12:29 -05:00 committed by GitHub
parent 212fb40147
commit a8efe7442c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 43 additions and 0 deletions

View file

@ -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
vmware_host:
datacenter_name: '{{ dc1 }}'

View file

@ -1,2 +1,3 @@
shippable/vcenter/group1
cloud/vcenter
zuul/vmware/vcenter_only

View file

@ -1,2 +1,3 @@
shippable/vcenter/group1
cloud/vcenter
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
unsupported
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,2 +1,3 @@
shippable/vcenter/group1
cloud/vcenter
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
unsupported
skip/python2.6
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -4,3 +4,4 @@ destructive
needs/file/contrib/inventory/vmware_inventory.py
needs/file/contrib/inventory/vmware_inventory.ini
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
shippable/vcenter/group1
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,2 +1,3 @@
cloud/vcenter
unsupported
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
shippable/vcenter/group1
cloud/vcenter
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only

View file

@ -1,3 +1,4 @@
cloud/vcenter
unsupported
needs/target/prepare_vmware_tests
zuul/vmware/vcenter_only