Skip to content

Commit

Permalink
Test bundles for focal-wallaby and hirsute-wallaby
Browse files Browse the repository at this point in the history
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

hisute-wallaby test is disabled (moved to dev) due to [1].

[1] canonical/layer-basic#194

Change-Id: I34b3a2f1f2509a287023659f9172931b345e569d
  • Loading branch information
ajkavanagh committed Apr 15, 2021
1 parent 0d4bf2d commit 31f3727
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 2 deletions.
62 changes: 62 additions & 0 deletions src/tests/bundles/focal-wallaby.yaml
@@ -0,0 +1,62 @@
variables:
openstack-origin: &openstack-origin cloud:focal-wallaby

series: focal

comment:
- 'machines section to decide order of deployment. database sooner = faster'

machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
'3':
'4':
series: bionic

applications:

keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router

mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
# Reduce chances of spurious "super-read-only" failures, see lp:1882205
expel-timeout: 20
to:
- '0'
- '1'
- '2'

keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '3'

ldap-server:
charm: cs:~openstack-charmers/ldap-test-fixture
num_units: 1
series: bionic
to:
- '4'

keystone-ldap:
charm: ../../../keystone-ldap

relations:
- - 'keystone:domain-backend'
- 'keystone-ldap:domain-backend'

- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
62 changes: 62 additions & 0 deletions src/tests/bundles/hirsute-wallaby.yaml
@@ -0,0 +1,62 @@
variables:
openstack-origin: &openstack-origin distro

series: hirsute

comment:
- 'machines section to decide order of deployment. database sooner = faster'

machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
'3':
'4':
series: bionic

applications:

keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router

mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
# Reduce chances of spurious "super-read-only" failures, see lp:1882205
expel-timeout: 20
to:
- '0'
- '1'
- '2'

keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '3'

ldap-server:
charm: cs:~openstack-charmers/ldap-test-fixture
num_units: 1
series: bionic
to:
- '4'

keystone-ldap:
charm: ../../../keystone-ldap

relations:
- - 'keystone:domain-backend'
- 'keystone-ldap:domain-backend'

- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
6 changes: 4 additions & 2 deletions src/tests/tests.yaml
@@ -1,7 +1,7 @@
charm_name: keystone-ldap

smoke_bundles:
- bionic-train
- focal-ussuri

gate_bundles:
- xenial-mitaka
Expand All @@ -11,6 +11,7 @@ gate_bundles:
- bionic-ussuri
- focal-ussuri
- focal-victoria
- focal-wallaby
- groovy-victoria

dev_bundles:
Expand All @@ -19,6 +20,7 @@ dev_bundles:
- xenial-pike
- xenial-queens
- bionic-rocky
- hirsute-wallaby

target_deploy_status:
keystone-ldap:
Expand All @@ -31,4 +33,4 @@ tests:

tests_options:
force_deploy:
- groovy-victoria
- hirsute-wallaby

0 comments on commit 31f3727

Please sign in to comment.