add func tests
This commit is contained in:
parent
d96c194125
commit
3e705e375b
@ -6,16 +6,11 @@ machines:
|
||||
constraints: mem=3072M
|
||||
'1':
|
||||
'2':
|
||||
'3':
|
||||
relations:
|
||||
- - keystone:shared-db
|
||||
- mysql:shared-db
|
||||
- - keystone
|
||||
- keystone-kerberos
|
||||
- - openstack-dashboard:identity-service
|
||||
- keystone:identity-service
|
||||
- - openstack-dashboard:shared-db
|
||||
- mysql:shared-db
|
||||
applications:
|
||||
mysql:
|
||||
charm: cs:~openstack-charmers-next/percona-cluster
|
||||
@ -30,11 +25,6 @@ applications:
|
||||
token-expiration: 60
|
||||
to:
|
||||
- '1'
|
||||
openstack-dashboard:
|
||||
charm: cs:~openstack-charmers-next/openstack-dashboard
|
||||
num_units: 1
|
||||
to:
|
||||
- '2'
|
||||
keystone-kerberos:
|
||||
charm: ../../../keystone-kerberos
|
||||
options:
|
||||
@ -48,7 +38,4 @@ applications:
|
||||
charm: cs:~openstack-charmers-next/kerberos-test-fixture
|
||||
num_units: 1
|
||||
to:
|
||||
- '3'
|
||||
|
||||
|
||||
|
||||
- '2'
|
||||
|
41
src/tests/bundles/bionic-rocky.yaml
Normal file
41
src/tests/bundles/bionic-rocky.yaml
Normal file
@ -0,0 +1,41 @@
|
||||
series: bionic
|
||||
comment:
|
||||
- 'machines section to decide order of deployment. database sooner = faster'
|
||||
machines:
|
||||
'0':
|
||||
constraints: mem=3072M
|
||||
'1':
|
||||
'2':
|
||||
relations:
|
||||
- - keystone:shared-db
|
||||
- mysql:shared-db
|
||||
- - keystone
|
||||
- keystone-kerberos
|
||||
applications:
|
||||
mysql:
|
||||
charm: cs:~openstack-charmers-next/percona-cluster
|
||||
num_units: 1
|
||||
to:
|
||||
- '0'
|
||||
keystone:
|
||||
charm: cs:~openstack-charmers-next/keystone
|
||||
num_units: 1
|
||||
options:
|
||||
token-provider: 'fernet'
|
||||
token-expiration: 60
|
||||
to:
|
||||
- '1'
|
||||
keystone-kerberos:
|
||||
charm: ../../../keystone-kerberos
|
||||
options:
|
||||
kerberos-realm: 'TESTUBUNTU.COM'
|
||||
kerberos-server: 'kerberos.testubuntu.com'
|
||||
kerberos-domain: 'k8s'
|
||||
resource:
|
||||
keystone_keytab: keystone.keytab
|
||||
|
||||
kerberos-server:
|
||||
charm: cs:~openstack-charmers-next/kerberos-test-fixture
|
||||
num_units: 1
|
||||
to:
|
||||
- '2'
|
41
src/tests/bundles/bionic-stein.yaml
Normal file
41
src/tests/bundles/bionic-stein.yaml
Normal file
@ -0,0 +1,41 @@
|
||||
series: bionic
|
||||
comment:
|
||||
- 'machines section to decide order of deployment. database sooner = faster'
|
||||
machines:
|
||||
'0':
|
||||
constraints: mem=3072M
|
||||
'1':
|
||||
'2':
|
||||
relations:
|
||||
- - keystone:shared-db
|
||||
- mysql:shared-db
|
||||
- - keystone
|
||||
- keystone-kerberos
|
||||
applications:
|
||||
mysql:
|
||||
charm: cs:~openstack-charmers-next/percona-cluster
|
||||
num_units: 1
|
||||
to:
|
||||
- '0'
|
||||
keystone:
|
||||
charm: cs:~openstack-charmers-next/keystone
|
||||
num_units: 1
|
||||
options:
|
||||
token-provider: 'fernet'
|
||||
token-expiration: 60
|
||||
to:
|
||||
- '1'
|
||||
keystone-kerberos:
|
||||
charm: ../../../keystone-kerberos
|
||||
options:
|
||||
kerberos-realm: 'TESTUBUNTU.COM'
|
||||
kerberos-server: 'kerberos.testubuntu.com'
|
||||
kerberos-domain: 'k8s'
|
||||
resource:
|
||||
keystone_keytab: keystone.keytab
|
||||
|
||||
kerberos-server:
|
||||
charm: cs:~openstack-charmers-next/kerberos-test-fixture
|
||||
num_units: 1
|
||||
to:
|
||||
- '2'
|
41
src/tests/bundles/bionic-train.yaml
Normal file
41
src/tests/bundles/bionic-train.yaml
Normal file
@ -0,0 +1,41 @@
|
||||
series: bionic
|
||||
comment:
|
||||
- 'machines section to decide order of deployment. database sooner = faster'
|
||||
machines:
|
||||
'0':
|
||||
constraints: mem=3072M
|
||||
'1':
|
||||
'2':
|
||||
relations:
|
||||
- - keystone:shared-db
|
||||
- mysql:shared-db
|
||||
- - keystone
|
||||
- keystone-kerberos
|
||||
applications:
|
||||
mysql:
|
||||
charm: cs:~openstack-charmers-next/percona-cluster
|
||||
num_units: 1
|
||||
to:
|
||||
- '0'
|
||||
keystone:
|
||||
charm: cs:~openstack-charmers-next/keystone
|
||||
num_units: 1
|
||||
options:
|
||||
token-provider: 'fernet'
|
||||
token-expiration: 60
|
||||
to:
|
||||
- '1'
|
||||
keystone-kerberos:
|
||||
charm: ../../../keystone-kerberos
|
||||
options:
|
||||
kerberos-realm: 'TESTUBUNTU.COM'
|
||||
kerberos-server: 'kerberos.testubuntu.com'
|
||||
kerberos-domain: 'k8s'
|
||||
resource:
|
||||
keystone_keytab: keystone.keytab
|
||||
|
||||
kerberos-server:
|
||||
charm: cs:~openstack-charmers-next/kerberos-test-fixture
|
||||
num_units: 1
|
||||
to:
|
||||
- '2'
|
41
src/tests/bundles/bionic-ussuri.yaml
Normal file
41
src/tests/bundles/bionic-ussuri.yaml
Normal file
@ -0,0 +1,41 @@
|
||||
series: bionic
|
||||
comment:
|
||||
- 'machines section to decide order of deployment. database sooner = faster'
|
||||
machines:
|
||||
'0':
|
||||
constraints: mem=3072M
|
||||
'1':
|
||||
'2':
|
||||
relations:
|
||||
- - keystone:shared-db
|
||||
- mysql:shared-db
|
||||
- - keystone
|
||||
- keystone-kerberos
|
||||
applications:
|
||||
mysql:
|
||||
charm: cs:~openstack-charmers-next/percona-cluster
|
||||
num_units: 1
|
||||
to:
|
||||
- '0'
|
||||
keystone:
|
||||
charm: cs:~openstack-charmers-next/keystone
|
||||
num_units: 1
|
||||
options:
|
||||
token-provider: 'fernet'
|
||||
token-expiration: 60
|
||||
to:
|
||||
- '1'
|
||||
keystone-kerberos:
|
||||
charm: ../../../keystone-kerberos
|
||||
options:
|
||||
kerberos-realm: 'TESTUBUNTU.COM'
|
||||
kerberos-server: 'kerberos.testubuntu.com'
|
||||
kerberos-domain: 'k8s'
|
||||
resource:
|
||||
keystone_keytab: keystone.keytab
|
||||
|
||||
kerberos-server:
|
||||
charm: cs:~openstack-charmers-next/kerberos-test-fixture
|
||||
num_units: 1
|
||||
to:
|
||||
- '2'
|
41
src/tests/bundles/focal-ussuri.yaml
Normal file
41
src/tests/bundles/focal-ussuri.yaml
Normal file
@ -0,0 +1,41 @@
|
||||
series: focal
|
||||
comment:
|
||||
- 'machines section to decide order of deployment. database sooner = faster'
|
||||
machines:
|
||||
'0':
|
||||
constraints: mem=3072M
|
||||
'1':
|
||||
'2':
|
||||
relations:
|
||||
- - keystone:shared-db
|
||||
- mysql:shared-db
|
||||
- - keystone
|
||||
- keystone-kerberos
|
||||
applications:
|
||||
mysql:
|
||||
charm: cs:~openstack-charmers-next/percona-cluster
|
||||
num_units: 1
|
||||
to:
|
||||
- '0'
|
||||
keystone:
|
||||
charm: cs:~openstack-charmers-next/keystone
|
||||
num_units: 1
|
||||
options:
|
||||
token-provider: 'fernet'
|
||||
token-expiration: 60
|
||||
to:
|
||||
- '1'
|
||||
keystone-kerberos:
|
||||
charm: ../../../keystone-kerberos
|
||||
options:
|
||||
kerberos-realm: 'TESTUBUNTU.COM'
|
||||
kerberos-server: 'kerberos.testubuntu.com'
|
||||
kerberos-domain: 'k8s'
|
||||
resource:
|
||||
keystone_keytab: keystone.keytab
|
||||
|
||||
kerberos-server:
|
||||
charm: cs:~openstack-charmers-next/kerberos-test-fixture
|
||||
num_units: 1
|
||||
to:
|
||||
- '2'
|
@ -1,8 +1,14 @@
|
||||
charm_name: keystone-kerberos
|
||||
smoke_bundles:
|
||||
- bionic-queens
|
||||
- bionic-train
|
||||
gate_bundles:
|
||||
- bionic-queens
|
||||
- bionic-queens
|
||||
- bionic-rocky
|
||||
- bionic-stein
|
||||
- bionic-train
|
||||
dev_bundles:
|
||||
- bionic-ussuri
|
||||
- focal-ussuri
|
||||
configure:
|
||||
- zaza.openstack.charm_tests.kerberos.setup.run_all_tests
|
||||
tests:
|
||||
|
Loading…
Reference in New Issue
Block a user