Updates for jammy/22.03 enablement

- charmcraft: build-on 20.04 -> run-on 20.04/22.04 [*archs]
- Refresh tox targets
- Drop impish bundles and OSCI testing
- Add jammy metadata

Drop NRPE from Jammy bundles as the charm is not updated to
support Python 3.10 yet.

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/742
Change-Id: Idd8a2e2387da0012ba78d50960630e7a1472dc8e
This commit is contained in:
James Page 2022-04-06 09:50:25 +01:00 committed by Frode Nordahl
parent bd72421016
commit 2ea68bb50d
No known key found for this signature in database
GPG Key ID: 6A5D59A3BA48373F
7 changed files with 21 additions and 99 deletions

View File

@ -19,7 +19,15 @@ parts:
cp -r $CHARMCRAFT_STAGE/* .
bases:
- name: ubuntu
channel: "20.04"
architectures:
- amd64
- build-on:
- name: ubuntu
channel: "20.04"
architectures:
- amd64
run-on:
- name: ubuntu
channel: "20.04"
architectures: [amd64, s390x, ppc64el, arm64]
- name: ubuntu
channel: "22.04"
architectures: [amd64, s390x, ppc64el, arm64]

View File

@ -1,7 +1,7 @@
- project:
templates:
- charm-unit-jobs-py38
- charm-unit-jobs-py39
- charm-unit-jobs-py310
- charm-xena-functional-jobs
- charm-yoga-functional-jobs
vars:

View File

@ -8,7 +8,7 @@ tags:
- networking
series:
- focal
- impish
- jammy
subordinate: false
extra-bindings:
data:

View File

@ -1,85 +0,0 @@
variables:
openstack-origin: &openstack-origin distro
local_overlay_enabled: False
series: impish
comment:
- 'machines section to decide order of deployment. database sooner = faster'
machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
'3':
'4':
'5':
'6':
'7':
'8':
applications:
vault-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
vault:
charm: ch:vault
num_units: 1
to:
- '3'
channel: latest/edge
nrpe:
charm: cs:nrpe
ovn-central:
charm: ch:ovn-central
num_units: 3
options:
source: *openstack-origin
to:
- '4'
- '5'
- '6'
channel: latest/edge
ovn-dedicated-chassis:
charm: ../../../ovn-dedicated-chassis.charm
num_units: 2
options:
source: *openstack-origin
to:
- '7'
- '8'
relations:
- - 'vault-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'vault:shared-db'
- 'vault-mysql-router:shared-db'
- - 'ovn-central:certificates'
- 'vault:certificates'
- - 'ovn-dedicated-chassis:ovsdb'
- 'ovn-central:ovsdb'
- - 'ovn-dedicated-chassis:certificates'
- 'vault:certificates'
- - 'ovn-dedicated-chassis:nrpe-external-master'
- 'nrpe:nrpe-external-master'

View File

@ -45,9 +45,6 @@ applications:
- '3'
channel: latest/edge
nrpe:
charm: cs:nrpe
ovn-central:
charm: ch:ovn-central
num_units: 3
@ -81,5 +78,3 @@ relations:
- 'ovn-central:ovsdb'
- - 'ovn-dedicated-chassis:certificates'
- 'vault:certificates'
- - 'ovn-dedicated-chassis:nrpe-external-master'
- 'nrpe:nrpe-external-master'

View File

@ -2,13 +2,12 @@ charm_name: ovn-dedicated-chassis
gate_bundles:
- focal-xena
- impish-xena
- focal-yoga
smoke_bundles:
- focal-xena
- focal-yoga
dev_bundles:
- focal-yoga
- jammy-yoga
target_deploy_status:

View File

@ -93,6 +93,11 @@ basepython = python3.9
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
[testenv:py310]
basepython = python3.10
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
deps = flake8==3.9.2