Add 2023.2 Bobcat support

* sync charm-helpers to classic charms
* change openstack-origin/source default to bobcat
* add mantic to metadata series
* align testing with bobcat
* add new bobcat bundles
* add bobcat bundles to tests.yaml
* add bobcat tests to osci.yaml
* update build-on and run-on bases
* drop kinetic
* update charmcraft_channel to 2.x/edge

Change-Id: I75d90bfc1e78a9c3f76f128e4f54846b01653917
This commit is contained in:
Corey Bryant 2023-07-18 16:47:19 -04:00
parent 4bcf39ae51
commit ed578d4dc2
8 changed files with 113 additions and 34 deletions

View File

@ -20,7 +20,6 @@ parts:
- CHARM_INTERFACES_DIR: $CRAFT_PROJECT_DIR/interfaces/ - CHARM_INTERFACES_DIR: $CRAFT_PROJECT_DIR/interfaces/
- CHARM_LAYERS_DIR: $CRAFT_PROJECT_DIR/layers/ - CHARM_LAYERS_DIR: $CRAFT_PROJECT_DIR/layers/
- MAKEFLAGS: -j$(nproc) - MAKEFLAGS: -j$(nproc)
bases: bases:
- build-on: - build-on:
- name: ubuntu - name: ubuntu
@ -30,51 +29,91 @@ bases:
- name: ubuntu - name: ubuntu
channel: "22.04" channel: "22.04"
architectures: [amd64] architectures: [amd64]
- build-on:
- name: ubuntu - name: ubuntu
channel: "22.10" channel: "22.04"
architectures: [s390x]
run-on:
- name: ubuntu
channel: "22.04"
architectures: [s390x]
- build-on:
- name: ubuntu
channel: "22.04"
architectures: [ppc64el]
run-on:
- name: ubuntu
channel: "22.04"
architectures: [ppc64el]
- build-on:
- name: ubuntu
channel: "22.04"
architectures: [arm64]
run-on:
- name: ubuntu
channel: "22.04"
architectures: [arm64]
- build-on:
- name: ubuntu
channel: "23.04"
architectures: [amd64] architectures: [amd64]
run-on:
- name: ubuntu - name: ubuntu
channel: "23.04" channel: "23.04"
architectures: [amd64] architectures: [amd64]
- build-on: - build-on:
- name: ubuntu - name: ubuntu
channel: "22.04" channel: "23.04"
architectures: [arm64] architectures: [s390x]
run-on: run-on:
- name: ubuntu
channel: "22.04"
architectures: [arm64]
- name: ubuntu
channel: "22.10"
architectures: [arm64]
- name: ubuntu - name: ubuntu
channel: "23.04" channel: "23.04"
architectures: [arm64] architectures: [s390x]
- build-on: - build-on:
- name: ubuntu - name: ubuntu
channel: "22.04" channel: "23.04"
architectures: [ppc64el] architectures: [ppc64el]
run-on: run-on:
- name: ubuntu
channel: "22.04"
architectures: [ppc64el]
- name: ubuntu
channel: "22.10"
architectures: [ppc64el]
- name: ubuntu - name: ubuntu
channel: "23.04" channel: "23.04"
architectures: [ppc64el] architectures: [ppc64el]
- build-on: - build-on:
- name: ubuntu - name: ubuntu
channel: "22.04" channel: "23.04"
architectures: [arm64]
run-on:
- name: ubuntu
channel: "23.04"
architectures: [arm64]
- build-on:
- name: ubuntu
channel: "23.10"
architectures: [amd64]
run-on:
- name: ubuntu
channel: "23.10"
architectures: [amd64]
- build-on:
- name: ubuntu
channel: "23.10"
architectures: [s390x] architectures: [s390x]
run-on: run-on:
- name: ubuntu - name: ubuntu
channel: "22.04" channel: "23.10"
architectures: [s390x] architectures: [s390x]
- build-on:
- name: ubuntu - name: ubuntu
channel: "22.10" channel: "23.10"
architectures: [s390x] architectures: [ppc64el]
run-on:
- name: ubuntu - name: ubuntu
channel: "23.04" channel: "23.10"
architectures: [s390x] architectures: [ppc64el]
- build-on:
- name: ubuntu
channel: "23.10"
architectures: [arm64]
run-on:
- name: ubuntu
channel: "23.10"
architectures: [arm64]

View File

@ -6,4 +6,4 @@
needs_charm_build: true needs_charm_build: true
charm_build_name: ovn-dedicated-chassis charm_build_name: ovn-dedicated-chassis
build_type: charmcraft build_type: charmcraft
charmcraft_channel: 2.1/stable charmcraft_channel: 2.x/edge

View File

@ -8,8 +8,8 @@ tags:
- networking - networking
series: series:
- jammy - jammy
- kinetic
- lunar - lunar
- mantic
subordinate: false subordinate: false
extra-bindings: extra-bindings:
data: data:

View File

@ -22,7 +22,7 @@ applications:
channel: latest/edge channel: latest/edge
ovn-dedicated-chassis: ovn-dedicated-chassis:
charm: ../../../ovn-dedicated-chassis_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm charm: ../../../ovn-dedicated-chassis_ubuntu-22.04-amd64.charm
num_units: 2 num_units: 2
options: options:
source: *openstack-origin source: *openstack-origin

View File

@ -1,5 +1,5 @@
variables: variables:
openstack-origin: &openstack-origin cloud:jammy-zed openstack-origin: &openstack-origin cloud:jammy-bobcat
local_overlay_enabled: False local_overlay_enabled: False
@ -22,11 +22,12 @@ applications:
channel: latest/edge channel: latest/edge
ovn-dedicated-chassis: ovn-dedicated-chassis:
charm: ../../../ovn-dedicated-chassis_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm charm: ../../../ovn-dedicated-chassis_ubuntu-22.04-amd64.charm
num_units: 2 num_units: 2
options: options:
source: *openstack-origin source: *openstack-origin
relations: relations:
- - 'ovn-central:certificates' - - 'ovn-central:certificates'

View File

@ -22,7 +22,7 @@ applications:
channel: latest/edge channel: latest/edge
ovn-dedicated-chassis: ovn-dedicated-chassis:
charm: ../../../ovn-dedicated-chassis_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm charm: ../../../ovn-dedicated-chassis_ubuntu-23.04-amd64.charm
num_units: 2 num_units: 2
options: options:
source: *openstack-origin source: *openstack-origin

View File

@ -0,0 +1,38 @@
variables:
openstack-origin: &openstack-origin distro
local_overlay_enabled: False
series: mantic
applications:
vault:
charm: ch:vault
num_units: 1
# The vault raft support is currently only available for jammy
series: jammy
channel: latest/edge
ovn-central:
charm: ch:ovn-central
num_units: 3
options:
source: *openstack-origin
channel: latest/edge
ovn-dedicated-chassis:
charm: ../../../ovn-dedicated-chassis_ubuntu-23.10-amd64.charm
num_units: 2
options:
source: *openstack-origin
relations:
- - 'ovn-central:certificates'
- 'vault:certificates'
- - 'ovn-dedicated-chassis:ovsdb'
- 'ovn-central:ovsdb'
- - 'ovn-dedicated-chassis:certificates'
- 'vault:certificates'

View File

@ -1,15 +1,15 @@
charm_name: ovn-dedicated-chassis charm_name: ovn-dedicated-chassis
gate_bundles: gate_bundles:
- jammy-zed - jammy-antelope
smoke_bundles: smoke_bundles:
- jammy-zed - jammy-antelope
dev_bundles: dev_bundles:
- jammy-zed - jammy-bobcat
- jammy-antelope
- lunar-antelope - lunar-antelope
- mantic-bobcat
target_deploy_status: target_deploy_status:
ovn-central: ovn-central:
@ -32,3 +32,4 @@ tests:
tests_options: tests_options:
force_deploy: force_deploy:
- lunar-antelope - lunar-antelope
- mantic-bobcat