Migrate test bundles to charmhub

Change-Id: I59b119167dfd6e741a35366be091c9bf6c184c72
This commit is contained in:
Aurelien Lourot 2022-02-07 12:20:32 +01:00 committed by Billy Olsen
parent 4f8fa55352
commit 95883a75f9
11 changed files with 267 additions and 133 deletions

View File

@ -2,14 +2,24 @@ type: charm
parts:
charm:
after:
- update-certificates
charm-python-packages:
# NOTE(lourot: see
# NOTE(lourot): see
# * https://github.com/canonical/charmcraft/issues/551
# * https://github.com/canonical/charmcraft/issues/632
- setuptools < 58
build-packages:
- git
update-certificates:
plugin: nil
# See https://github.com/canonical/charmcraft/issues/658
override-build: |
apt update
apt install -y ca-certificates
update-ca-certificates
bases:
- name: ubuntu
channel: "20.04"

13
rename.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
charm=$(grep "charm_build_name" osci.yaml | awk '{print $2}')
echo "renaming ${charm}_*.charm to ${charm}.charm"
echo -n "pwd: "
pwd
ls -al
echo "Removing bad downloaded charm maybe?"
if [[ -e "${charm}.charm" ]];
then
rm "${charm}.charm"
fi
echo "Renaming charm here."
mv ${charm}_*.charm ${charm}.charm

View File

@ -1,14 +1,6 @@
ops
# NOTE(lourot): spurious TLS verification issues from opendev.org, switching to
# github.com for now:
git+https://github.com/openstack/charm-ops-openstack#egg=ops_openstack
git+https://opendev.org/openstack/charm-ops-openstack#egg=ops_openstack
ruamel.yaml
# NOTE(lourot): we can't use `pylspci` from PyPI here as charmcraft will then
# attempt a `pip install --no-binary :all: pylspci` and hit
# https://gitlab.com/Lucidiot/pylspci/-/issues/21 . Pulling from source
# instead. Also using a fork on GitHub because of not being able to access
# GitLab behind a proxy:
git+https://github.com/openstack-charmers/pylspci
pylspci

View File

@ -37,18 +37,23 @@ machines:
applications:
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
@ -56,9 +61,10 @@ applications:
- '0'
- '1'
- '2'
channel: latest/edge
ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
charm: ch:ceph-osd
num_units: 6
storage:
osd-devices: '10G'
@ -71,9 +77,10 @@ applications:
- '14'
- '15'
- '16'
channel: quincy/edge
ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
charm: ch:ceph-mon
num_units: 3
options:
source: *openstack-origin
@ -82,17 +89,19 @@ applications:
- '17'
- '18'
- '19'
channel: quincy/edge
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
charm: ch:rabbitmq-server
num_units: 1
options:
source: *openstack-origin
to:
- '3'
channel: latest/edge
nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller
charm: ch:nova-cloud-controller
num_units: 1
options:
openstack-origin: *openstack-origin
@ -100,9 +109,10 @@ applications:
debug: true
to:
- '4'
channel: yoga/edge
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
charm: ch:neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
@ -111,45 +121,51 @@ applications:
neutron-security-groups: true
to:
- '5'
channel: yoga/edge
keystone:
charm: cs:~openstack-charmers-next/keystone
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '6'
channel: yoga/edge
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
charm: ch:neutron-gateway
num_units: 1
options:
openstack-origin: *openstack-origin
bridge-mappings: physnet1:br-ex
to:
- '7'
channel: yoga/edge
glance:
charm: cs:~openstack-charmers-next/glance
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '8'
channel: yoga/edge
neutron-openvswitch:
charm: cs:~openstack-charmers-next/neutron-openvswitch
charm: ch:neutron-openvswitch
channel: yoga/edge
placement:
charm: cs:~openstack-charmers-next/placement
charm: ch:placement
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '9'
channel: yoga/edge
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
charm: ch:nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
@ -165,6 +181,7 @@ applications:
libvirt-image-backend: rbd
to:
- '10'
channel: yoga/edge
nova-compute-nvidia-vgpu:
charm: ../../nova-compute-nvidia-vgpu.charm

View File

@ -37,18 +37,23 @@ machines:
applications:
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
@ -56,9 +61,10 @@ applications:
- '0'
- '1'
- '2'
channel: latest/edge
ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
charm: ch:ceph-osd
num_units: 6
storage:
osd-devices: '10G'
@ -71,9 +77,10 @@ applications:
- '14'
- '15'
- '16'
channel: quincy/edge
ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
charm: ch:ceph-mon
num_units: 3
options:
source: *openstack-origin
@ -82,17 +89,19 @@ applications:
- '17'
- '18'
- '19'
channel: quincy/edge
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
charm: ch:rabbitmq-server
num_units: 1
options:
source: *openstack-origin
to:
- '3'
channel: latest/edge
nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller
charm: ch:nova-cloud-controller
num_units: 1
options:
openstack-origin: *openstack-origin
@ -100,9 +109,10 @@ applications:
debug: true
to:
- '4'
channel: yoga/edge
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
charm: ch:neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
@ -111,45 +121,51 @@ applications:
neutron-security-groups: true
to:
- '5'
channel: yoga/edge
keystone:
charm: cs:~openstack-charmers-next/keystone
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '6'
channel: yoga/edge
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
charm: ch:neutron-gateway
num_units: 1
options:
openstack-origin: *openstack-origin
bridge-mappings: physnet1:br-ex
to:
- '7'
channel: yoga/edge
glance:
charm: cs:~openstack-charmers-next/glance
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '8'
channel: yoga/edge
neutron-openvswitch:
charm: cs:~openstack-charmers-next/neutron-openvswitch
charm: ch:neutron-openvswitch
channel: yoga/edge
placement:
charm: cs:~openstack-charmers-next/placement
charm: ch:placement
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '9'
channel: yoga/edge
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
charm: ch:nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
@ -165,6 +181,7 @@ applications:
libvirt-image-backend: rbd
to:
- '10'
channel: yoga/edge
nova-compute-nvidia-vgpu:
charm: ../../nova-compute-nvidia-vgpu.charm

View File

@ -37,18 +37,23 @@ machines:
applications:
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
@ -56,9 +61,10 @@ applications:
- '0'
- '1'
- '2'
channel: latest/edge
ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
charm: ch:ceph-osd
num_units: 6
storage:
osd-devices: '10G'
@ -71,9 +77,10 @@ applications:
- '14'
- '15'
- '16'
channel: quincy/edge
ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
charm: ch:ceph-mon
num_units: 3
options:
source: *openstack-origin
@ -82,17 +89,19 @@ applications:
- '17'
- '18'
- '19'
channel: quincy/edge
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
charm: ch:rabbitmq-server
num_units: 1
options:
source: *openstack-origin
to:
- '3'
channel: latest/edge
nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller
charm: ch:nova-cloud-controller
num_units: 1
options:
openstack-origin: *openstack-origin
@ -100,9 +109,10 @@ applications:
debug: true
to:
- '4'
channel: yoga/edge
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
charm: ch:neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
@ -111,45 +121,51 @@ applications:
neutron-security-groups: true
to:
- '5'
channel: yoga/edge
keystone:
charm: cs:~openstack-charmers-next/keystone
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '6'
channel: yoga/edge
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
charm: ch:neutron-gateway
num_units: 1
options:
openstack-origin: *openstack-origin
bridge-mappings: physnet1:br-ex
to:
- '7'
channel: yoga/edge
glance:
charm: cs:~openstack-charmers-next/glance
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '8'
channel: yoga/edge
neutron-openvswitch:
charm: cs:~openstack-charmers-next/neutron-openvswitch
charm: ch:neutron-openvswitch
channel: yoga/edge
placement:
charm: cs:~openstack-charmers-next/placement
charm: ch:placement
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '9'
channel: yoga/edge
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
charm: ch:nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
@ -165,6 +181,7 @@ applications:
libvirt-image-backend: rbd
to:
- '10'
channel: yoga/edge
nova-compute-nvidia-vgpu:
charm: ../../nova-compute-nvidia-vgpu.charm

View File

@ -37,18 +37,23 @@ machines:
applications:
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
@ -56,9 +61,10 @@ applications:
- '0'
- '1'
- '2'
channel: latest/edge
ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
charm: ch:ceph-osd
num_units: 6
storage:
osd-devices: '10G'
@ -71,9 +77,10 @@ applications:
- '14'
- '15'
- '16'
channel: quincy/edge
ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
charm: ch:ceph-mon
num_units: 3
options:
source: *openstack-origin
@ -82,17 +89,19 @@ applications:
- '17'
- '18'
- '19'
channel: quincy/edge
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
charm: ch:rabbitmq-server
num_units: 1
options:
source: *openstack-origin
to:
- '3'
channel: latest/edge
nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller
charm: ch:nova-cloud-controller
num_units: 1
options:
openstack-origin: *openstack-origin
@ -100,9 +109,10 @@ applications:
debug: true
to:
- '4'
channel: yoga/edge
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
charm: ch:neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
@ -111,45 +121,51 @@ applications:
neutron-security-groups: true
to:
- '5'
channel: yoga/edge
keystone:
charm: cs:~openstack-charmers-next/keystone
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '6'
channel: yoga/edge
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
charm: ch:neutron-gateway
num_units: 1
options:
openstack-origin: *openstack-origin
bridge-mappings: physnet1:br-ex
to:
- '7'
channel: yoga/edge
glance:
charm: cs:~openstack-charmers-next/glance
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '8'
channel: yoga/edge
neutron-openvswitch:
charm: cs:~openstack-charmers-next/neutron-openvswitch
charm: ch:neutron-openvswitch
channel: yoga/edge
placement:
charm: cs:~openstack-charmers-next/placement
charm: ch:placement
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '9'
channel: yoga/edge
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
charm: ch:nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
@ -165,6 +181,7 @@ applications:
libvirt-image-backend: rbd
to:
- '10'
channel: yoga/edge
nova-compute-nvidia-vgpu:
charm: ../../nova-compute-nvidia-vgpu.charm

View File

@ -37,18 +37,23 @@ machines:
applications:
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
@ -56,9 +61,10 @@ applications:
- '0'
- '1'
- '2'
channel: latest/edge
ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
charm: ch:ceph-osd
num_units: 6
storage:
osd-devices: '10G'
@ -71,9 +77,10 @@ applications:
- '14'
- '15'
- '16'
channel: quincy/edge
ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
charm: ch:ceph-mon
num_units: 3
options:
source: *openstack-origin
@ -82,17 +89,19 @@ applications:
- '17'
- '18'
- '19'
channel: quincy/edge
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
charm: ch:rabbitmq-server
num_units: 1
options:
source: *openstack-origin
to:
- '3'
channel: latest/edge
nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller
charm: ch:nova-cloud-controller
num_units: 1
options:
openstack-origin: *openstack-origin
@ -100,9 +109,10 @@ applications:
debug: true
to:
- '4'
channel: yoga/edge
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
charm: ch:neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
@ -111,45 +121,51 @@ applications:
neutron-security-groups: true
to:
- '5'
channel: yoga/edge
keystone:
charm: cs:~openstack-charmers-next/keystone
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '6'
channel: yoga/edge
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
charm: ch:neutron-gateway
num_units: 1
options:
openstack-origin: *openstack-origin
bridge-mappings: physnet1:br-ex
to:
- '7'
channel: yoga/edge
glance:
charm: cs:~openstack-charmers-next/glance
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '8'
channel: yoga/edge
neutron-openvswitch:
charm: cs:~openstack-charmers-next/neutron-openvswitch
charm: ch:neutron-openvswitch
channel: yoga/edge
placement:
charm: cs:~openstack-charmers-next/placement
charm: ch:placement
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '9'
channel: yoga/edge
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
charm: ch:nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
@ -165,6 +181,7 @@ applications:
libvirt-image-backend: rbd
to:
- '10'
channel: yoga/edge
nova-compute-nvidia-vgpu:
charm: ../../nova-compute-nvidia-vgpu.charm

View File

@ -37,18 +37,23 @@ machines:
applications:
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
@ -56,9 +61,10 @@ applications:
- '0'
- '1'
- '2'
channel: latest/edge
ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
charm: ch:ceph-osd
num_units: 6
storage:
osd-devices: '10G'
@ -71,9 +77,10 @@ applications:
- '14'
- '15'
- '16'
channel: quincy/edge
ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
charm: ch:ceph-mon
num_units: 3
options:
source: *openstack-origin
@ -82,17 +89,19 @@ applications:
- '17'
- '18'
- '19'
channel: quincy/edge
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
charm: ch:rabbitmq-server
num_units: 1
options:
source: *openstack-origin
to:
- '3'
channel: latest/edge
nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller
charm: ch:nova-cloud-controller
num_units: 1
options:
openstack-origin: *openstack-origin
@ -100,9 +109,10 @@ applications:
debug: true
to:
- '4'
channel: yoga/edge
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
charm: ch:neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
@ -111,45 +121,51 @@ applications:
neutron-security-groups: true
to:
- '5'
channel: yoga/edge
keystone:
charm: cs:~openstack-charmers-next/keystone
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '6'
channel: yoga/edge
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
charm: ch:neutron-gateway
num_units: 1
options:
openstack-origin: *openstack-origin
bridge-mappings: physnet1:br-ex
to:
- '7'
channel: yoga/edge
glance:
charm: cs:~openstack-charmers-next/glance
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '8'
channel: yoga/edge
neutron-openvswitch:
charm: cs:~openstack-charmers-next/neutron-openvswitch
charm: ch:neutron-openvswitch
channel: yoga/edge
placement:
charm: cs:~openstack-charmers-next/placement
charm: ch:placement
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '9'
channel: yoga/edge
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
charm: ch:nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
@ -165,6 +181,7 @@ applications:
libvirt-image-backend: rbd
to:
- '10'
channel: yoga/edge
nova-compute-nvidia-vgpu:
charm: ../../nova-compute-nvidia-vgpu.charm

View File

@ -37,18 +37,23 @@ machines:
applications:
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
@ -56,9 +61,10 @@ applications:
- '0'
- '1'
- '2'
channel: latest/edge
ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
charm: ch:ceph-osd
num_units: 6
storage:
osd-devices: '10G'
@ -71,9 +77,10 @@ applications:
- '14'
- '15'
- '16'
channel: quincy/edge
ceph-mon:
charm: cs:~openstack-charmers-next/ceph-mon
charm: ch:ceph-mon
num_units: 3
options:
source: *openstack-origin
@ -82,17 +89,19 @@ applications:
- '17'
- '18'
- '19'
channel: quincy/edge
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
charm: ch:rabbitmq-server
num_units: 1
options:
source: *openstack-origin
to:
- '3'
channel: latest/edge
nova-cloud-controller:
charm: cs:~openstack-charmers-next/nova-cloud-controller
charm: ch:nova-cloud-controller
num_units: 1
options:
openstack-origin: *openstack-origin
@ -100,9 +109,10 @@ applications:
debug: true
to:
- '4'
channel: yoga/edge
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
charm: ch:neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
@ -111,45 +121,51 @@ applications:
neutron-security-groups: true
to:
- '5'
channel: yoga/edge
keystone:
charm: cs:~openstack-charmers-next/keystone
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '6'
channel: yoga/edge
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
charm: ch:neutron-gateway
num_units: 1
options:
openstack-origin: *openstack-origin
bridge-mappings: physnet1:br-ex
to:
- '7'
channel: yoga/edge
glance:
charm: cs:~openstack-charmers-next/glance
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '8'
channel: yoga/edge
neutron-openvswitch:
charm: cs:~openstack-charmers-next/neutron-openvswitch
charm: ch:neutron-openvswitch
channel: yoga/edge
placement:
charm: cs:~openstack-charmers-next/placement
charm: ch:placement
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '9'
channel: yoga/edge
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
charm: ch:nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
@ -165,6 +181,7 @@ applications:
libvirt-image-backend: rbd
to:
- '10'
channel: yoga/edge
nova-compute-nvidia-vgpu:
charm: ../../nova-compute-nvidia-vgpu.charm

View File

@ -33,9 +33,9 @@ install_command =
commands = stestr run --slowest {posargs}
allowlist_externals =
git
add-to-archive.py
bash
charmcraft
rename.sh
passenv = HOME TERM CS_* OS_* TEST_*
deps = -r{toxinidir}/test-requirements.txt
@ -117,8 +117,8 @@ deps = -r{toxinidir}/build-requirements.txt
# the old behaviour we rename the file at the end.
commands =
charmcraft clean
charmcraft build
bash -c "mv nova-compute-nvidia-vgpu_*.charm nova-compute-nvidia-vgpu.charm"
charmcraft -v build
{toxinidir}/rename.sh
[testenv:func-noop]
basepython = python3