Add kinetic support

Summary of changes:
- add kinetic to metadata.yaml
- add 21.10 to run-on in charmcraft.yaml
- add kinetic-zed testing bundle

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1014
Related-Bug: #1972730
Change-Id: I28c1f16bdbe2032e678f7c92caee5ddd3fcd4a7f
This commit is contained in:
Felipe Reyes 2023-02-21 14:59:31 -03:00
parent 8446b38347
commit 0628e02983
5 changed files with 66 additions and 0 deletions

View File

@ -33,3 +33,6 @@ bases:
- name: ubuntu
channel: "22.04"
architectures: [amd64, s390x, ppc64el, arm64]
- name: ubuntu
channel: "22.10"
architectures: [amd64, s390x, ppc64el, arm64]

View File

@ -9,6 +9,7 @@ tags:
series:
- focal
- jammy
- kinetic
requires:
juju-info:
interface: juju-info

View File

@ -3,6 +3,9 @@
- charm-unit-jobs-py38
- charm-unit-jobs-py310
- charm-yoga-functional-jobs
check:
jobs:
- kinetic-zed
vars:
needs_charm_build: true
charm_build_name: hacluster

View File

@ -0,0 +1,57 @@
variables:
openstack-origin: &openstack-origin distro
series: kinetic
machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
'3':
'4':
'5':
applications:
keystone-mysql-router:
charm: ch:mysql-router
channel: latest/edge
mysql-innodb-cluster:
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '0'
- '1'
- '2'
channel: latest/edge
keystone:
charm: ch:keystone
num_units: 3
options:
token-expiration: 60
openstack-origin: *openstack-origin
to:
- '3'
- '4'
- '5'
channel: zed/edge
hacluster:
charm: ../../hacluster.charm
subordinate-to:
- keystone
relations:
- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'hacluster:ha'
- 'keystone:ha'
- - "keystone-mysql-router:db-router"
- "mysql-innodb-cluster:db-router"

View File

@ -8,6 +8,7 @@ gate_bundles:
dev_bundles:
- jammy-yoga
- kinetic-zed
configure:
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
@ -22,3 +23,4 @@ tests_options:
hacluster-charm-name: hacluster
force_deploy:
- jammy-yoga
- kinetic-zed