Add yoga bundles and release-tool syncs

* charm-helpers sync for classic charms
* pin pyparsing for aodhclient
* pin cffi for py35
* add non-voting focal-yoga bundle
* add non-voting jammy-yoga bundle
* add series metadata for jammy
* switch xena bundles to voting
* run focal-ussuri as smoke tests
* remove trusty, xenial, and groovy metadata and tests

Change-Id: Ic01c91ede3d820e8eb9258fd0d19799efb4ebccb
This commit is contained in:
Corey Bryant 2021-10-29 17:00:38 -04:00
parent 0740a468ef
commit 5f3c1de4f1
6 changed files with 100 additions and 20 deletions

View File

@ -6,18 +6,20 @@
# - charm-functional-jobs # - charm-functional-jobs
check: check:
jobs: jobs:
- impish-xena: - bionic-stein
- bionic-train
- bionic-ussuri
- focal-ussuri
- focal-victoria
- focal-wallaby
- focal-xena
- focal-yoga:
voting: false voting: false
- hirsute-wallaby - hirsute-wallaby
- groovy-victoria - impish-xena:
- focal-xena: voting: false
- jammy-yoga:
voting: false voting: false
- focal-wallaby
- focal-victoria
- focal-ussuri
- bionic-ussuri
- bionic-train
- bionic-stein
vars: vars:
needs_charm_build: true needs_charm_build: true
charm_build_name: barbican charm_build_name: barbican

View File

@ -9,6 +9,7 @@
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85 setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
# Build requirements # Build requirements
cffi==1.14.6; python_version < '3.6' # cffi 1.15.0 drops support for py35.
charm-tools==2.8.3 charm-tools==2.8.3
simplejson simplejson

View File

@ -0,0 +1,74 @@
variables:
openstack-origin: &openstack-origin cloud:focal-yoga
series: &series focal
machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
'3':
'4':
'5':
applications:
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
barbican-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '0'
- '1'
- '2'
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '3'
barbican:
series: *series
charm: ../../../barbican
num_units: 1
options:
openstack-origin: *openstack-origin
debug: true
to:
- '4'
rabbitmq-server:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '5'
relations:
- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'barbican:shared-db'
- 'barbican-mysql-router:shared-db'
- - 'barbican-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'keystone:identity-service'
- 'barbican:identity-service'
- - 'rabbitmq-server:amqp'
- 'barbican:amqp'

View File

@ -1,7 +1,7 @@
variables: variables:
openstack-origin: &openstack-origin distro openstack-origin: &openstack-origin distro
series: &series groovy series: &series jammy
machines: machines:
'0': '0':

View File

@ -2,22 +2,23 @@ charm_name: barbican
smoke_bundles: smoke_bundles:
- focal-ussuri - focal-ussuri
gate_bundles: gate_bundles:
- impish-xena
- groovy-victoria
- focal-xena
- focal-wallaby
- focal-victoria
- focal-ussuri
- bionic-ussuri
- bionic-train
- bionic-stein - bionic-stein
dev_bundles: - bionic-ussuri
- focal-ussuri
- focal-victoria
- focal-wallaby
- focal-xena
- hirsute-wallaby - hirsute-wallaby
- impish-xena
dev_bundles:
- bionic-rocky - bionic-rocky
- bionic-train
- focal-yoga
- jammy-yoga
tests: tests:
- zaza.openstack.charm_tests.barbican.tests.BarbicanTest - zaza.openstack.charm_tests.barbican.tests.BarbicanTest
tests_options: tests_options:
force_deploy: force_deploy:
- hirsute-wallaby - hirsute-wallaby
- groovy-victoria
- impish-xena - impish-xena
- jammy-yoga

View File

@ -3,6 +3,8 @@
# choices of *requirements.txt files for OpenStack Charms: # choices of *requirements.txt files for OpenStack Charms:
# https://github.com/openstack-charmers/release-tools # https://github.com/openstack-charmers/release-tools
# #
pyparsing<3.0.0 # aodhclient is pinned in zaza and needs pyparsing < 3.0.0, but cffi also needs it, so pin here.
cffi==1.14.6; python_version < '3.6' # cffi 1.15.0 drops support for py35.
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85 setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
stestr>=2.2.0 stestr>=2.2.0