Browse Source

Add focal-ussuri and bionic-ussuri bundle

This patch adds a focal-ussuri and bionic-ussuri bundles to the tests
for the charm.

Change-Id: Iae4483145d6b38c7cad4f4af1b56f2d9e79d00f9
changes/05/718505/1
Alex Kavanagh 2 months ago
parent
commit
30f7404436
13 changed files with 111 additions and 12 deletions
  1. +1
    -0
      src/metadata.yaml
  2. +0
    -0
      src/tests/bundles/bionic-queens.yaml
  3. +0
    -0
      src/tests/bundles/bionic-rocky.yaml
  4. +0
    -0
      src/tests/bundles/bionic-stein.yaml
  5. +0
    -0
      src/tests/bundles/bionic-train.yaml
  6. +34
    -0
      src/tests/bundles/bionic-ussuri.yaml
  7. +58
    -0
      src/tests/bundles/focal-ussuri.yaml
  8. +0
    -0
      src/tests/bundles/trusty-mitaka.yaml
  9. +0
    -0
      src/tests/bundles/xenial-mitaka.yaml
  10. +0
    -0
      src/tests/bundles/xenial-ocata.yaml
  11. +0
    -0
      src/tests/bundles/xenial-pike.yaml
  12. +0
    -0
      src/tests/bundles/xenial-queens.yaml
  13. +18
    -12
      src/tests/tests.yaml

+ 1
- 0
src/metadata.yaml View File

@@ -17,6 +17,7 @@ series:
- xenial
- bionic
- eoan
- focal
- trusty
provides:
domain-backend:


src/tests/bundles/bionic_queens.yaml → src/tests/bundles/bionic-queens.yaml View File


src/tests/bundles/bionic_rocky.yaml → src/tests/bundles/bionic-rocky.yaml View File


src/tests/bundles/bionic_stein.yaml → src/tests/bundles/bionic-stein.yaml View File


src/tests/bundles/bionic_train.yaml → src/tests/bundles/bionic-train.yaml View File


+ 34
- 0
src/tests/bundles/bionic-ussuri.yaml View File

@@ -0,0 +1,34 @@
series: bionic

machines:
'0':
constraints: mem=3072M
'1':
'2':

applications:
percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster
num_units: 1
to:
- '0'
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: cloud:bionic-ussuri
to:
- '1'
ldap-server:
charm: cs:~openstack-charmers/ldap-test-fixture
num_units: 1
to:
- '2'
keystone-ldap:
charm: ../../../keystone-ldap

relations:
- - 'keystone:domain-backend'
- 'keystone-ldap:domain-backend'
- - 'keystone:shared-db'
- 'percona-cluster:shared-db'

+ 58
- 0
src/tests/bundles/focal-ussuri.yaml View File

@@ -0,0 +1,58 @@
variables:
openstack-origin: &openstack-origin distro

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':

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
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
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'

src/tests/bundles/trusty_mitaka.yaml → src/tests/bundles/trusty-mitaka.yaml View File


src/tests/bundles/xenial_mitaka.yaml → src/tests/bundles/xenial-mitaka.yaml View File


src/tests/bundles/xenial_ocata.yaml → src/tests/bundles/xenial-ocata.yaml View File


src/tests/bundles/xenial_pike.yaml → src/tests/bundles/xenial-pike.yaml View File


src/tests/bundles/xenial_queens.yaml → src/tests/bundles/xenial-queens.yaml View File


+ 18
- 12
src/tests/tests.yaml View File

@@ -1,21 +1,23 @@
charm_name: keystone-ldap

smoke_bundles:
- bionic_train
- bionic-train

gate_bundles:
- xenial_mitaka
- xenial_ocata
- xenial_pike
- xenial_queens
- bionic_queens
- bionic_rocky
- bionic_stein
- bionic_train
- trusty_mitaka
- xenial-mitaka
- xenial-ocata
- xenial-pike
- xenial-queens
- bionic-queens
- bionic-rocky
- bionic-stein
- bionic-train
- bionic-ussuri
- focal-ussuri
- trusty-mitaka

dev_bundles:
- bionic_train
- bionic-train

target_deploy_status:
keystone-ldap:
@@ -24,4 +26,8 @@ target_deploy_status:


tests:
- zaza.openstack.charm_tests.keystone.tests.LdapTests
- zaza.openstack.charm_tests.keystone.tests.LdapTests

tests_options:
force_deploy:
- focal-ussuri

Loading…
Cancel
Save