Add Groovy test bundles
Change-Id: I459221e7556fbda4467ac7adb16fa3c88e50cc7e
This commit is contained in:
parent
dd63909c1c
commit
7fa991df4d
1
src/tests/bundles/groovy-full-ha.yaml
Symbolic link
1
src/tests/bundles/groovy-full-ha.yaml
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
groovy-full.yaml
|
159
src/tests/bundles/groovy-full.yaml
Normal file
159
src/tests/bundles/groovy-full.yaml
Normal file
@ -0,0 +1,159 @@
|
|||||||
|
variables:
|
||||||
|
openstack-origin: &openstack-origin distro
|
||||||
|
|
||||||
|
series: &series groovy
|
||||||
|
|
||||||
|
applications:
|
||||||
|
keystone-mysql-router:
|
||||||
|
charm: ../../../mysql-router
|
||||||
|
nova-mysql-router:
|
||||||
|
charm: ../../../mysql-router
|
||||||
|
glance-mysql-router:
|
||||||
|
charm: ../../../mysql-router
|
||||||
|
neutron-mysql-router:
|
||||||
|
charm: ../../../mysql-router
|
||||||
|
placement-mysql-router:
|
||||||
|
charm: ../../../mysql-router
|
||||||
|
vault-mysql-router:
|
||||||
|
charm: ../../../mysql-router
|
||||||
|
mysql-innodb-cluster:
|
||||||
|
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
|
||||||
|
num_units: 3
|
||||||
|
options:
|
||||||
|
source: *openstack-origin
|
||||||
|
keystone:
|
||||||
|
charm: cs:~openstack-charmers-next/keystone
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
rabbitmq-server:
|
||||||
|
charm: cs:~openstack-charmers-next/rabbitmq-server
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
source: *openstack-origin
|
||||||
|
vault:
|
||||||
|
charm: cs:~openstack-charmers-next/vault
|
||||||
|
num_units: 1
|
||||||
|
ovn-central:
|
||||||
|
charm: cs:~openstack-charmers-next/ovn-central
|
||||||
|
num_units: 3
|
||||||
|
options:
|
||||||
|
source: *openstack-origin
|
||||||
|
neutron-api-plugin-ovn:
|
||||||
|
charm: cs:~openstack-charmers-next/neutron-api-plugin-ovn
|
||||||
|
neutron-api:
|
||||||
|
charm: cs:~openstack-charmers-next/neutron-api
|
||||||
|
series: *series
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
flat-network-providers: physnet1
|
||||||
|
neutron-security-groups: true
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
glance:
|
||||||
|
charm: cs:~openstack-charmers-next/glance
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
nova-cloud-controller:
|
||||||
|
charm: cs:~openstack-charmers-next/nova-cloud-controller
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
network-manager: Neutron
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
ovn-chassis:
|
||||||
|
charm: cs:~openstack-charmers-next/ovn-chassis
|
||||||
|
nova-compute:
|
||||||
|
charm: cs:~openstack-charmers-next/nova-compute
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
config-flags: default_ephemeral_format=ext4
|
||||||
|
enable-live-migration: true
|
||||||
|
enable-resize: true
|
||||||
|
migration-auth-type: ssh
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
placement:
|
||||||
|
charm: cs:~openstack-charmers-next/placement
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
memcached:
|
||||||
|
charm: cs:memcached
|
||||||
|
num_units: 1
|
||||||
|
series: bionic
|
||||||
|
relations:
|
||||||
|
- - neutron-api:amqp
|
||||||
|
- rabbitmq-server:amqp
|
||||||
|
- - neutron-api:neutron-api
|
||||||
|
- nova-cloud-controller:neutron-api
|
||||||
|
- - neutron-api:identity-service
|
||||||
|
- keystone:identity-service
|
||||||
|
- - nova-cloud-controller:amqp
|
||||||
|
- rabbitmq-server:amqp
|
||||||
|
- - nova-compute:amqp
|
||||||
|
- rabbitmq-server:amqp
|
||||||
|
- - nova-cloud-controller:identity-service
|
||||||
|
- keystone:identity-service
|
||||||
|
- - nova-cloud-controller:cloud-compute
|
||||||
|
- nova-compute:cloud-compute
|
||||||
|
- - glance:identity-service
|
||||||
|
- keystone:identity-service
|
||||||
|
- - glance:amqp
|
||||||
|
- rabbitmq-server:amqp
|
||||||
|
- - nova-compute:image-service
|
||||||
|
- glance:image-service
|
||||||
|
- - nova-cloud-controller:image-service
|
||||||
|
- glance:image-service
|
||||||
|
- - placement:identity-service
|
||||||
|
- keystone:identity-service
|
||||||
|
- - placement:placement
|
||||||
|
- nova-cloud-controller:placement
|
||||||
|
- - neutron-api-plugin-ovn:neutron-plugin
|
||||||
|
- neutron-api:neutron-plugin-api-subordinate
|
||||||
|
- - ovn-central:certificates
|
||||||
|
- vault:certificates
|
||||||
|
- - ovn-central:ovsdb-cms
|
||||||
|
- neutron-api-plugin-ovn:ovsdb-cms
|
||||||
|
- - neutron-api:certificates
|
||||||
|
- vault:certificates
|
||||||
|
- - ovn-chassis:nova-compute
|
||||||
|
- nova-compute:neutron-plugin
|
||||||
|
- - ovn-chassis:certificates
|
||||||
|
- vault:certificates
|
||||||
|
- - ovn-chassis:ovsdb
|
||||||
|
- ovn-central:ovsdb
|
||||||
|
- - vault:certificates
|
||||||
|
- neutron-api-plugin-ovn:certificates
|
||||||
|
- - vault:certificates
|
||||||
|
- glance:certificates
|
||||||
|
- - vault:certificates
|
||||||
|
- keystone:certificates
|
||||||
|
- - vault:certificates
|
||||||
|
- nova-cloud-controller:certificates
|
||||||
|
- - vault:certificates
|
||||||
|
- placement:certificates
|
||||||
|
- - memcached:cache
|
||||||
|
- nova-cloud-controller:memcache
|
||||||
|
- - keystone:shared-db
|
||||||
|
- keystone-mysql-router:shared-db
|
||||||
|
- - glance:shared-db
|
||||||
|
- glance-mysql-router:shared-db
|
||||||
|
- - nova-cloud-controller:shared-db
|
||||||
|
- nova-mysql-router:shared-db
|
||||||
|
- - neutron-api:shared-db
|
||||||
|
- neutron-mysql-router:shared-db
|
||||||
|
- - placement:shared-db
|
||||||
|
- placement-mysql-router:shared-db
|
||||||
|
- - vault:shared-db
|
||||||
|
- vault-mysql-router:shared-db
|
||||||
|
- - keystone-mysql-router:db-router
|
||||||
|
- mysql-innodb-cluster:db-router
|
||||||
|
- - nova-mysql-router:db-router
|
||||||
|
- mysql-innodb-cluster:db-router
|
||||||
|
- - glance-mysql-router:db-router
|
||||||
|
- mysql-innodb-cluster:db-router
|
||||||
|
- - neutron-mysql-router:db-router
|
||||||
|
- mysql-innodb-cluster:db-router
|
||||||
|
- - placement-mysql-router:db-router
|
||||||
|
- mysql-innodb-cluster:db-router
|
||||||
|
- - vault-mysql-router:db-router
|
||||||
|
- mysql-innodb-cluster:db-router
|
14
src/tests/bundles/groovy.yaml
Normal file
14
src/tests/bundles/groovy.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
series: groovy
|
||||||
|
relations:
|
||||||
|
- ["keystone:shared-db", "mysql-router:shared-db"]
|
||||||
|
- ["mysql-router:db-router", "mysql-innodb-cluster:db-router"]
|
||||||
|
applications:
|
||||||
|
mysql-router:
|
||||||
|
charm: ../../../mysql-router
|
||||||
|
mysql-innodb-cluster:
|
||||||
|
series: groovy
|
||||||
|
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
|
||||||
|
num_units: 3
|
||||||
|
keystone:
|
||||||
|
charm: cs:~openstack-charmers-next/keystone
|
||||||
|
num_units: 1
|
16
src/tests/bundles/overlays/groovy-full-ha.yaml.j2
Normal file
16
src/tests/bundles/overlays/groovy-full-ha.yaml.j2
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
applications:
|
||||||
|
keystone:
|
||||||
|
num_units: 3
|
||||||
|
options:
|
||||||
|
vip: {{TEST_VIP00}}
|
||||||
|
nova-cloud-controller:
|
||||||
|
num_units: 3
|
||||||
|
options:
|
||||||
|
vip: {{TEST_VIP01}}
|
||||||
|
keystone-hacluster:
|
||||||
|
charm: cs:~openstack-charmers-next/hacluster
|
||||||
|
nova-hacluster:
|
||||||
|
charm: cs:~openstack-charmers-next/hacluster
|
||||||
|
relations:
|
||||||
|
- ["keystone:ha", "keystone-hacluster:ha"]
|
||||||
|
- ["nova-cloud-controller:ha", "nova-hacluster:ha"]
|
@ -1,7 +1,7 @@
|
|||||||
charm_name: mysql-router
|
charm_name: mysql-router
|
||||||
configure:
|
configure:
|
||||||
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
||||||
- focal_full_model:
|
- full_model:
|
||||||
- zaza.openstack.charm_tests.vault.setup.auto_initialize
|
- zaza.openstack.charm_tests.vault.setup.auto_initialize
|
||||||
- zaza.openstack.charm_tests.glance.setup.add_lts_image
|
- zaza.openstack.charm_tests.glance.setup.add_lts_image
|
||||||
- zaza.openstack.charm_tests.neutron.setup.basic_overcloud_network
|
- zaza.openstack.charm_tests.neutron.setup.basic_overcloud_network
|
||||||
@ -10,17 +10,19 @@ configure:
|
|||||||
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
||||||
tests:
|
tests:
|
||||||
- zaza.openstack.charm_tests.keystone.tests.AuthenticationAuthorizationTest
|
- zaza.openstack.charm_tests.keystone.tests.AuthenticationAuthorizationTest
|
||||||
- focal_full_model:
|
- full_model:
|
||||||
- zaza.openstack.charm_tests.keystone.tests.AuthenticationAuthorizationTest
|
- zaza.openstack.charm_tests.keystone.tests.AuthenticationAuthorizationTest
|
||||||
dev_bundles:
|
dev_bundles:
|
||||||
|
- groovy
|
||||||
|
- full_model: groovy-full-ha
|
||||||
gate_bundles:
|
gate_bundles:
|
||||||
- focal_full_model: focal-full-ha
|
- full_model: focal-full-ha
|
||||||
smoke_bundles:
|
smoke_bundles:
|
||||||
- focal
|
- focal
|
||||||
tests_options:
|
tests_options:
|
||||||
force_deploy:
|
force_deploy:
|
||||||
- focal
|
- groovy
|
||||||
- focal-full-ha
|
- groovy-full-ha
|
||||||
target_deploy_status:
|
target_deploy_status:
|
||||||
neutron-api-plugin-ovn:
|
neutron-api-plugin-ovn:
|
||||||
workload-status: waiting
|
workload-status: waiting
|
||||||
|
Loading…
Reference in New Issue
Block a user