Migrate designate-bind tests to zaza
removing disco_stein as its EOL func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/170 Change-Id: Ia0ef2561364182ac017287a39328109846317279 Closes-Bug: #1828424
This commit is contained in:
parent
3b76da9d5c
commit
6b514da320
|
@ -1,33 +1,8 @@
|
||||||
# This file is managed centrally. If you find the need to modify this as a
|
# This file is managed centrally by release-tools and should not be modified
|
||||||
# one-off, please don't. Intead, consult #openstack-charms and ask about
|
# within individual charm repos. See the 'global' dir contents for available
|
||||||
# requirements management in charms via bot-control. Thank you.
|
# choices of *requirements.txt files for OpenStack Charms:
|
||||||
charm-tools>=2.4.4
|
# https://github.com/openstack-charmers/release-tools
|
||||||
coverage>=3.6
|
#
|
||||||
mock>=1.2
|
# Functional Test Requirements (let Zaza's dependencies solve all dependencies here!)
|
||||||
flake8>=2.2.4,<=2.4.1
|
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
|
||||||
stestr>=2.2.0
|
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack
|
||||||
requests>=2.18.4
|
|
||||||
# BEGIN: Amulet OpenStack Charm Helper Requirements
|
|
||||||
# Liberty client lower constraints
|
|
||||||
amulet>=1.14.3,<2.0;python_version=='2.7'
|
|
||||||
bundletester>=0.6.1,<1.0;python_version=='2.7'
|
|
||||||
aodhclient>=0.1.0
|
|
||||||
gnocchiclient>=3.1.0,<3.2.0
|
|
||||||
python-barbicanclient>=4.0.1
|
|
||||||
python-ceilometerclient>=1.5.0
|
|
||||||
python-cinderclient>=1.4.0,<5.0.0
|
|
||||||
python-designateclient>=1.5,<3.0.0
|
|
||||||
python-glanceclient>=1.1.0
|
|
||||||
python-heatclient>=0.8.0
|
|
||||||
python-keystoneclient>=1.7.1
|
|
||||||
python-manilaclient>=1.8.1
|
|
||||||
python-neutronclient>=3.1.0
|
|
||||||
python-novaclient>=2.30.1
|
|
||||||
python-openstackclient>=1.7.0
|
|
||||||
python-swiftclient>=2.6.0
|
|
||||||
pika>=0.10.0,<1.0
|
|
||||||
distro-info
|
|
||||||
git+https://github.com/juju/charm-helpers.git#egg=charmhelpers
|
|
||||||
# END: Amulet OpenStack Charm Helper Requirements
|
|
||||||
pytz # workaround for 14.04 pip/tox
|
|
||||||
pyudev # for ceph-* charm unit tests (not mocked?)
|
|
|
@ -1,9 +0,0 @@
|
||||||
# Overview
|
|
||||||
|
|
||||||
This directory provides Amulet tests to verify basic deployment functionality
|
|
||||||
from the perspective of this charm, its requirements and its features, as
|
|
||||||
exercised in a subset of the full OpenStack deployment test bundle topology.
|
|
||||||
|
|
||||||
For full details on functional testing of OpenStack charms please refer to
|
|
||||||
the [functional testing](http://docs.openstack.org/developer/charm-guide/testing.html#functional-testing)
|
|
||||||
section of the OpenStack Charm Guide.
|
|
|
@ -0,0 +1,58 @@
|
||||||
|
series: bionic
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -0,0 +1,61 @@
|
||||||
|
series: bionic
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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-rocky
|
||||||
|
to:
|
||||||
|
- '1'
|
||||||
|
rabbitmq-server:
|
||||||
|
charm: cs:~openstack-charmers-next/rabbitmq-server
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '2'
|
||||||
|
designate:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
openstack-origin: cloud:bionic-rocky
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -0,0 +1,61 @@
|
||||||
|
series: bionic
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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-stein
|
||||||
|
to:
|
||||||
|
- '1'
|
||||||
|
rabbitmq-server:
|
||||||
|
charm: cs:~openstack-charmers-next/rabbitmq-server
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '2'
|
||||||
|
designate:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
openstack-origin: cloud:bionic-stein
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -0,0 +1,61 @@
|
||||||
|
series: bionic
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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-train
|
||||||
|
to:
|
||||||
|
- '1'
|
||||||
|
rabbitmq-server:
|
||||||
|
charm: cs:~openstack-charmers-next/rabbitmq-server
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '2'
|
||||||
|
designate:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
openstack-origin: cloud:bionic-train
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -0,0 +1,58 @@
|
||||||
|
series: disco
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -0,0 +1,61 @@
|
||||||
|
series: trusty
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
openstack-origin: cloud:trusty-mitaka
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -0,0 +1,58 @@
|
||||||
|
series: xenial
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -0,0 +1,61 @@
|
||||||
|
series: xenial
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
openstack-origin: cloud:xenial-ocata
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -0,0 +1,61 @@
|
||||||
|
series: xenial
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
openstack-origin: cloud:xenial-pike
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -0,0 +1,61 @@
|
||||||
|
series: xenial
|
||||||
|
|
||||||
|
machines:
|
||||||
|
'0':
|
||||||
|
constraints: mem=3072M
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'3':
|
||||||
|
'4':
|
||||||
|
'5':
|
||||||
|
|
||||||
|
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:
|
||||||
|
charm: cs:~openstack-charmers-next/designate
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
nameservers: 'ns1.mojotest.com.'
|
||||||
|
openstack-origin: cloud:xenial-queens
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
memcached:
|
||||||
|
charm: cs:~memcached-team/memcached
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
designate-bind:
|
||||||
|
charm: ../../../designate-bind
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
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'
|
|
@ -1,24 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
# Copyright 2016 Canonical Ltd
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
"""Amulet tests on a basic designate-bind deployment on queens."""
|
|
||||||
|
|
||||||
from basic_deployment import DesignateBindDeployment
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
deployment = DesignateBindDeployment(series='bionic')
|
|
||||||
deployment.run_tests()
|
|
|
@ -1,27 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
# Copyright 2016 Canonical Ltd
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
"""Amulet tests on a basic designate-bind deployment on bionic-rocky."""
|
|
||||||
|
|
||||||
from basic_deployment import DesignateBindDeployment
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
deployment = DesignateBindDeployment(
|
|
||||||
series='bionic',
|
|
||||||
openstack='cloud:bionic-rocky',
|
|
||||||
source='cloud:bionic-updates/rocky')
|
|
||||||
deployment.run_tests()
|
|
|
@ -1,27 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
# Copyright 2016 Canonical Ltd
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
"""Amulet tests on a basic designate-bind deployment on bionic-stein."""
|
|
||||||
|
|
||||||
from basic_deployment import DesignateBindDeployment
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
deployment = DesignateBindDeployment(
|
|
||||||
series='bionic',
|
|
||||||
openstack='cloud:bionic-stein',
|
|
||||||
source='cloud:bionic-stein')
|
|
||||||
deployment.run_tests()
|
|
|
@ -1,27 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
# Copyright 2019 Canonical Ltd
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
"""Amulet tests on a basic designate-bind deployment on bionic-train."""
|
|
||||||
|
|
||||||
from basic_deployment import DesignateBindDeployment
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
deployment = DesignateBindDeployment(
|
|
||||||
series='bionic',
|
|
||||||
openstack='cloud:bionic-train',
|
|
||||||
source='cloud:bionic-train')
|
|
||||||
deployment.run_tests()
|
|
|
@ -1,27 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
# Copyright 2016 Canonical Ltd
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
"""Amulet tests on a basic designate-bind deployment on trusty-mitaka."""
|
|
||||||
|
|
||||||
from basic_deployment import DesignateBindDeployment
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
deployment = DesignateBindDeployment(
|
|
||||||
series='trusty',
|
|
||||||
openstack='cloud:trusty-mitaka',
|
|
||||||
source='cloud:trusty-updates/mitaka')
|
|
||||||
deployment.run_tests()
|
|
|
@ -1,24 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
# Copyright 2016 Canonical Ltd
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
"""Amulet tests on a basic designate-bind deployment on mitaka."""
|
|
||||||
|
|
||||||
from basic_deployment import DesignateBindDeployment
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
deployment = DesignateBindDeployment(series='xenial')
|
|
||||||
deployment.run_tests()
|
|
|
@ -1,27 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
# Copyright 2016 Canonical Ltd
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
"""Amulet tests on a basic designate-bind deployment on xenial-ocata."""
|
|
||||||
|
|
||||||
from basic_deployment import DesignateBindDeployment
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
deployment = DesignateBindDeployment(
|
|
||||||
series='xenial',
|
|
||||||
openstack='cloud:xenial-ocata',
|
|
||||||
source='cloud:xenial-updates/ocata')
|
|
||||||
deployment.run_tests()
|
|
|
@ -1,27 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
# Copyright 2016 Canonical Ltd
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
"""Amulet tests on a basic designate-bind deployment on xenial-pike."""
|
|
||||||
|
|
||||||
from basic_deployment import DesignateBindDeployment
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
deployment = DesignateBindDeployment(
|
|
||||||
series='xenial',
|
|
||||||
openstack='cloud:xenial-pike',
|
|
||||||
source='cloud:xenial-updates/pike')
|
|
||||||
deployment.run_tests()
|
|
|
@ -1,27 +0,0 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
# Copyright 2016 Canonical Ltd
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
"""Amulet tests on a basic designate-bind deployment on xenial-queens."""
|
|
||||||
|
|
||||||
from basic_deployment import DesignateBindDeployment
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
deployment = DesignateBindDeployment(
|
|
||||||
series='xenial',
|
|
||||||
openstack='cloud:xenial-queens',
|
|
||||||
source='cloud:xenial-updates/queens')
|
|
||||||
deployment.run_tests()
|
|
|
@ -1,18 +1,21 @@
|
||||||
# Bootstrap the model if necessary.
|
charm_name: designate-bind
|
||||||
bootstrap: True
|
|
||||||
# Re-use bootstrap node.
|
smoke_bundles:
|
||||||
reset: True
|
- bionic_train
|
||||||
# Use tox/requirements to drive the venv instead of bundletester's venv feature.
|
|
||||||
virtualenv: False
|
gate_bundles:
|
||||||
# Leave makefile empty, otherwise unit/lint tests will rerun ahead of amulet.
|
- trusty_mitaka
|
||||||
makefile: []
|
- xenial_mitaka
|
||||||
# Do not specify juju PPA sources. Juju is presumed to be pre-installed
|
- xenial_ocata
|
||||||
# and configured in all test runner environments.
|
- xenial_pike
|
||||||
#sources:
|
- xenial_queens
|
||||||
# Do not specify or rely on system packages.
|
- bionic_queens
|
||||||
#packages:
|
- bionic_rocky
|
||||||
# Do not specify python packages here. Use test-requirements.txt
|
- bionic_stein
|
||||||
# and tox instead. ie. The venv is constructed before bundletester
|
- bionic_train
|
||||||
# is invoked.
|
|
||||||
#python-packages:
|
dev_bundles:
|
||||||
reset_timeout: 600
|
- bionic_train
|
||||||
|
|
||||||
|
tests:
|
||||||
|
- zaza.openstack.charm_tests.designate.tests.DesignateTests
|
29
src/tox.ini
29
src/tox.ini
|
@ -1,4 +1,4 @@
|
||||||
# Source charm (with amulet): ./src/tox.ini
|
# Source charm (with zaza): ./src/tox.ini
|
||||||
# This file is managed centrally by release-tools and should not be modified
|
# This file is managed centrally by release-tools and should not be modified
|
||||||
# within individual charm repos. See the 'global' dir contents for available
|
# within individual charm repos. See the 'global' dir contents for available
|
||||||
# choices of tox.ini for OpenStack Charms:
|
# choices of tox.ini for OpenStack Charms:
|
||||||
|
@ -15,41 +15,36 @@ skip_missing_interpreters = False
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
PYTHONHASHSEED=0
|
PYTHONHASHSEED=0
|
||||||
CHARM_DIR={envdir}
|
|
||||||
AMULET_SETUP_TIMEOUT=5400
|
|
||||||
whitelist_externals = juju
|
whitelist_externals = juju
|
||||||
passenv = HOME TERM AMULET_* CS_* OS_* TEST_*
|
passenv = HOME TERM CS_* OS_* TEST_*
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
install_command =
|
install_command =
|
||||||
pip install {opts} {packages}
|
pip install {opts} {packages}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
deps=charm-tools
|
||||||
commands = charm-proof
|
commands = charm-proof
|
||||||
|
|
||||||
[testenv:func-noop]
|
[testenv:func-noop]
|
||||||
# DRY RUN - For Debug
|
basepython = python3
|
||||||
basepython = python2.7
|
|
||||||
commands =
|
commands =
|
||||||
bundletester -vl DEBUG -r json -o func-results.json --test-pattern "gate-*" -n --no-destroy
|
functest-run-suite --help
|
||||||
|
|
||||||
[testenv:func]
|
[testenv:func]
|
||||||
# Run all gate tests which are +x (expected to always pass)
|
basepython = python3
|
||||||
basepython = python2.7
|
|
||||||
commands =
|
commands =
|
||||||
bundletester -vl DEBUG -r json -o func-results.json --test-pattern "gate-*" --no-destroy
|
functest-run-suite --keep-model
|
||||||
|
|
||||||
[testenv:func-smoke]
|
[testenv:func-smoke]
|
||||||
# Run a specific test as an Amulet smoke test (expected to always pass)
|
basepython = python3
|
||||||
basepython = python2.7
|
|
||||||
commands =
|
commands =
|
||||||
bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-train --no-destroy
|
functest-run-suite --keep-model --smoke
|
||||||
|
|
||||||
[testenv:func-dev]
|
[testenv:func-target]
|
||||||
# Run all development test targets which are +x (may not always pass!)
|
basepython = python3
|
||||||
basepython = python2.7
|
|
||||||
commands =
|
commands =
|
||||||
bundletester -vl DEBUG -r json -o func-results.json --test-pattern "dev-*" --no-destroy
|
functest-run-suite --keep-model --bundle {posargs}
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
Loading…
Reference in New Issue