
Due to a build problem with the reactive plugin, this change falls back on overriding the steps and doing a manual build, but it also ensures the CI system builds the charm using charmcraft. Changes: - add a build-requirements.txt - modify charmcraft.yaml - modify osci.yaml -> indicate build with charmcraft - modify tox.ini -> tox -e build does charmcraft build/rename -> tox -e build-reactive does the reactive build - modify bundles to use the <charm>.charm artifact in tests. and fix deprecation warning re: prefix - tox inception to enable tox -e func-test in the CI Change-Id: I140b1f14b154b73344e2bfebbccd93b692c125ca
94 lines
1.8 KiB
YAML
94 lines
1.8 KiB
YAML
variables:
|
|
openstack-origin: &openstack-origin cloud:focal-yoga
|
|
|
|
local_overlay_enabled: False
|
|
|
|
series: focal
|
|
|
|
comment:
|
|
- 'machines section to decide order of deployment. database sooner = faster'
|
|
machines:
|
|
'0':
|
|
constraints: mem=3072M
|
|
series: bionic
|
|
'1':
|
|
'2':
|
|
'3':
|
|
'4':
|
|
|
|
applications:
|
|
|
|
# TODO: This needs to be replaced with mysql-innodb-cluster + db routers,
|
|
# once https://bugs.launchpad.net/ubuntu/+source/magnum/+bug/1915734 is fixed.
|
|
percona-cluster:
|
|
charm: ch:percona-cluster
|
|
num_units: 1
|
|
series: bionic
|
|
options:
|
|
max-connections: 1000
|
|
innodb-buffer-pool-size: 256M
|
|
to:
|
|
- '0'
|
|
channel: latest/edge
|
|
|
|
rabbitmq-server:
|
|
charm: ch:rabbitmq-server
|
|
num_units: 1
|
|
to:
|
|
- '1'
|
|
channel: latest/edge
|
|
|
|
keystone:
|
|
charm: ch:keystone
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '2'
|
|
channel: latest/edge
|
|
|
|
magnum:
|
|
charm: ch:magnum
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
cert-manager-type: x509keypair
|
|
to:
|
|
- '3'
|
|
channel: latest/edge
|
|
|
|
openstack-dashboard:
|
|
charm: ch:openstack-dashboard
|
|
num_units: 1
|
|
options:
|
|
openstack-origin: *openstack-origin
|
|
to:
|
|
- '4'
|
|
channel: latest/edge
|
|
|
|
magnum-dashboard:
|
|
charm: ../../../magnum-dashboard.charm
|
|
|
|
relations:
|
|
|
|
- - 'keystone:shared-db'
|
|
- 'percona-cluster:shared-db'
|
|
|
|
- - 'magnum:shared-db'
|
|
- 'percona-cluster:shared-db'
|
|
|
|
- - 'magnum:amqp'
|
|
- 'rabbitmq-server:amqp'
|
|
|
|
- - 'magnum:identity-service'
|
|
- 'keystone:identity-service'
|
|
|
|
- - 'openstack-dashboard:shared-db'
|
|
- 'percona-cluster:shared-db'
|
|
|
|
- - 'openstack-dashboard:identity-service'
|
|
- 'keystone:identity-service'
|
|
|
|
- - 'openstack-dashboard:dashboard-plugin'
|
|
- 'magnum-dashboard:dashboard'
|