Additional test updates

* drop trusty/xenial metadata and function tests
* switch to release-specific zosci functional tests
* switch to yoga zosci unit test job
* add py39

Change-Id: Ie263f9a14edfe9d3ffdaaff996bbe6e34def21c5
This commit is contained in:
Corey Bryant 2021-11-12 11:04:30 -05:00
parent b2f0dda387
commit 6f312a6c5d
9 changed files with 13 additions and 413 deletions

View File

@ -1,16 +1,13 @@
- project:
templates:
- charm-unit-jobs
- charm-functional-jobs
check:
jobs:
- focal-xena
- focal-yoga:
voting: false
- impish-xena:
voting: false
- jammy-yoga:
voting: false
- charm-yoga-unit-jobs
- charm-yoga-functional-jobs
- charm-xena-functional-jobs
- charm-wallaby-functional-jobs
- charm-victoria-functional-jobs
- charm-ussuri-functional-jobs
- charm-stein-functional-jobs
- charm-queens-functional-jobs
vars:
needs_charm_build: true
charm_build_name: designate-bind

View File

@ -12,7 +12,6 @@ tags:
- openstack
- dns
series:
- xenial
- bionic
- focal
- groovy

View File

@ -1,77 +0,0 @@
series: trusty
machines:
'0':
constraints: mem=3072M
'1':
'2':
'3':
'4':
'5':
'6':
applications:
percona-cluster:
charm: cs:trusty/percona-cluster
num_units: 1
to:
- '0'
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: cloud:trusty-mitaka
to:
- '1'
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '2'
designate-bind:
charm: ../../../designate-bind
num_units: 1
to:
- '3'
memcached:
charm: cs:~memcached-team/memcached
num_units: 1
to:
- '4'
designate:
charm: cs:~openstack-charmers-next/designate
num_units: 1
options:
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
openstack-origin: cloud:trusty-mitaka
to:
- '5'
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
num_units: 1
options:
openstack-origin: cloud:trusty-mitaka
to:
- '6'
relations:
- - 'designate:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:amqp'
- 'rabbitmq-server:amqp'
- - 'designate:identity-service'
- 'keystone:identity-service'
- - 'keystone:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:dns-backend'
- 'designate-bind:dns-backend'
- - 'designate:coordinator-memcached'
- 'memcached:cache'
- - 'designate:dnsaas'
- 'neutron-api:external-dns'
- - 'neutron-api:identity-service'
- 'keystone:identity-service'
- - 'neutron-api:shared-db'
- 'percona-cluster:shared-db'
- - 'neutron-api:amqp'
- 'rabbitmq-server:amqp'

View File

@ -1,76 +0,0 @@
series: xenial
machines:
'0':
constraints: mem=3072M
'1':
'2':
'3':
'4':
'5':
'6':
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
to:
- '1'
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '2'
designate-bind:
charm: ../../../designate-bind
num_units: 1
to:
- '3'
memcached:
charm: cs:~memcached-team/memcached
num_units: 1
to:
- '4'
designate:
charm: cs:~openstack-charmers-next/designate
num_units: 1
options:
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
to:
- '5'
nrpe:
charm: cs:nrpe
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
num_units: 1
to:
- '6'
relations:
- - 'designate:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:amqp'
- 'rabbitmq-server:amqp'
- - 'designate:identity-service'
- 'keystone:identity-service'
- - 'keystone:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:dns-backend'
- 'designate-bind:dns-backend'
- - 'designate:coordinator-memcached'
- 'memcached:cache'
- - 'designate:dnsaas'
- 'neutron-api:external-dns'
- - 'neutron-api:identity-service'
- 'keystone:identity-service'
- - 'neutron-api:shared-db'
- 'percona-cluster:shared-db'
- - 'neutron-api:amqp'
- 'rabbitmq-server:amqp'
- - 'designate:nrpe-external-master'
- 'nrpe:nrpe-external-master'

View File

@ -1,81 +0,0 @@
series: xenial
machines:
'0':
constraints: mem=3072M
'1':
'2':
'3':
'4':
'5':
'6':
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:xenial-ocata
to:
- '1'
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '2'
designate-bind:
charm: ../../../designate-bind
num_units: 1
to:
- '3'
memcached:
charm: cs:~memcached-team/memcached
num_units: 1
to:
- '4'
designate:
charm: cs:~openstack-charmers-next/designate
num_units: 1
options:
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
openstack-origin: cloud:xenial-ocata
to:
- '5'
nrpe:
charm: cs:nrpe
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
num_units: 1
options:
openstack-origin: cloud:xenial-ocata
to:
- '6'
relations:
- - 'designate:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:amqp'
- 'rabbitmq-server:amqp'
- - 'designate:identity-service'
- 'keystone:identity-service'
- - 'keystone:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:dns-backend'
- 'designate-bind:dns-backend'
- - 'designate:coordinator-memcached'
- 'memcached:cache'
- - 'designate:dnsaas'
- 'neutron-api:external-dns'
- - 'neutron-api:identity-service'
- 'keystone:identity-service'
- - 'neutron-api:shared-db'
- 'percona-cluster:shared-db'
- - 'neutron-api:amqp'
- 'rabbitmq-server:amqp'
- - 'designate:nrpe-external-master'
- 'nrpe:nrpe-external-master'

View File

@ -1,81 +0,0 @@
series: xenial
machines:
'0':
constraints: mem=3072M
'1':
'2':
'3':
'4':
'5':
'6':
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:xenial-pike
to:
- '1'
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '2'
designate-bind:
charm: ../../../designate-bind
num_units: 1
to:
- '3'
memcached:
charm: cs:~memcached-team/memcached
num_units: 1
to:
- '4'
designate:
charm: cs:~openstack-charmers-next/designate
num_units: 1
options:
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
openstack-origin: cloud:xenial-pike
to:
- '5'
nrpe:
charm: cs:nrpe
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
num_units: 1
options:
openstack-origin: cloud:xenial-pike
to:
- '6'
relations:
- - 'designate:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:amqp'
- 'rabbitmq-server:amqp'
- - 'designate:identity-service'
- 'keystone:identity-service'
- - 'keystone:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:dns-backend'
- 'designate-bind:dns-backend'
- - 'designate:coordinator-memcached'
- 'memcached:cache'
- - 'designate:dnsaas'
- 'neutron-api:external-dns'
- - 'neutron-api:identity-service'
- 'keystone:identity-service'
- - 'neutron-api:shared-db'
- 'percona-cluster:shared-db'
- - 'neutron-api:amqp'
- 'rabbitmq-server:amqp'
- - 'designate:nrpe-external-master'
- 'nrpe:nrpe-external-master'

View File

@ -1,81 +0,0 @@
series: xenial
machines:
'0':
constraints: mem=3072M
'1':
'2':
'3':
'4':
'5':
'6':
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:xenial-queens
to:
- '1'
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '2'
designate-bind:
charm: ../../../designate-bind
num_units: 1
to:
- '3'
memcached:
charm: cs:~memcached-team/memcached
num_units: 1
to:
- '4'
designate:
charm: cs:~openstack-charmers-next/designate
num_units: 1
options:
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
openstack-origin: cloud:xenial-queens
to:
- '5'
nrpe:
charm: cs:nrpe
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
num_units: 1
options:
openstack-origin: cloud:xenial-queens
to:
- '6'
relations:
- - 'designate:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:amqp'
- 'rabbitmq-server:amqp'
- - 'designate:identity-service'
- 'keystone:identity-service'
- - 'keystone:shared-db'
- 'percona-cluster:shared-db'
- - 'designate:dns-backend'
- 'designate-bind:dns-backend'
- - 'designate:coordinator-memcached'
- 'memcached:cache'
- - 'designate:dnsaas'
- 'neutron-api:external-dns'
- - 'neutron-api:identity-service'
- 'keystone:identity-service'
- - 'neutron-api:shared-db'
- 'percona-cluster:shared-db'
- - 'neutron-api:amqp'
- 'rabbitmq-server:amqp'
- - 'designate:nrpe-external-master'
- 'nrpe:nrpe-external-master'

View File

@ -15,11 +15,6 @@ gate_bundles:
- impish-xena
dev_bundles:
- trusty-mitaka
- xenial-mitaka
- xenial-ocata
- xenial-pike
- xenial-queens
- bionic-rocky
- bionic-train
- focal-yoga

View File

@ -75,6 +75,11 @@ basepython = python3.8
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
[testenv:py39]
basepython = python3.9
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
deps = flake8==3.9.2