Skip to content

Commit

Permalink
Merge "Add 2023.2 Bobcat support"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Aug 4, 2023
2 parents 73a39d4 + fd30d13 commit 83514aa
Show file tree
Hide file tree
Showing 9 changed files with 210 additions and 29 deletions.
76 changes: 58 additions & 18 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,51 +28,91 @@ bases:
- name: ubuntu
channel: "22.04"
architectures: [amd64]
- build-on:
- name: ubuntu
channel: "22.10"
architectures: [amd64]
channel: "22.04"
architectures: [s390x]
run-on:
- name: ubuntu
channel: "23.04"
architectures: [amd64]
channel: "22.04"
architectures: [s390x]
- build-on:
- name: ubuntu
channel: "22.04"
architectures: [arm64]
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.10"
channel: "22.04"
architectures: [arm64]
- build-on:
- name: ubuntu
channel: "23.04"
architectures: [arm64]
architectures: [amd64]
run-on:
- name: ubuntu
channel: "23.04"
architectures: [amd64]
- build-on:
- name: ubuntu
channel: "22.04"
architectures: [ppc64el]
channel: "23.04"
architectures: [s390x]
run-on:
- name: ubuntu
channel: "22.04"
architectures: [ppc64el]
channel: "23.04"
architectures: [s390x]
- build-on:
- name: ubuntu
channel: "22.10"
channel: "23.04"
architectures: [ppc64el]
run-on:
- name: ubuntu
channel: "23.04"
architectures: [ppc64el]
- build-on:
- name: ubuntu
channel: "22.04"
architectures: [s390x]
channel: "23.04"
architectures: [arm64]
run-on:
- name: ubuntu
channel: "22.04"
architectures: [s390x]
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: "22.10"
channel: "23.10"
architectures: [s390x]
run-on:
- name: ubuntu
channel: "23.04"
channel: "23.10"
architectures: [s390x]
- build-on:
- name: ubuntu
channel: "23.10"
architectures: [ppc64el]
run-on:
- name: ubuntu
channel: "23.10"
architectures: [ppc64el]
- build-on:
- name: ubuntu
channel: "23.10"
architectures: [arm64]
run-on:
- name: ubuntu
channel: "23.10"
architectures: [arm64]
2 changes: 1 addition & 1 deletion osci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
needs_charm_build: true
charm_build_name: designate
build_type: charmcraft
charmcraft_channel: 2.1/stable
charmcraft_channel: 2.x/edge
2 changes: 1 addition & 1 deletion src/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ options:
description: |
Set the project ID to own all managed resources like auto-created records etc.
openstack-origin:
default: antelope
default: bobcat
2 changes: 1 addition & 1 deletion src/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ tags:
- dns
series:
- jammy
- kinetic
- lunar
- mantic
subordinate: false
provides:
dnsaas:
Expand Down
2 changes: 1 addition & 1 deletion src/tests/bundles/jammy-antelope.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ applications:
- '7'

designate:
charm: ../../../designate_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm
charm: ../../../designate_ubuntu-22.04-amd64.charm
num_units: 1
options:
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
variables:
openstack-origin: &openstack-origin cloud:jammy-zed
openstack-origin: &openstack-origin cloud:jammy-bobcat

local_overlay_enabled: False

Expand Down Expand Up @@ -86,7 +86,7 @@ applications:
- '7'

designate:
charm: ../../../designate_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm
charm: ../../../designate_ubuntu-22.04-amd64.charm
num_units: 1
options:
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
Expand Down
2 changes: 1 addition & 1 deletion src/tests/bundles/lunar-antelope.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ applications:
- '7'

designate:
charm: ../../../designate_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm
charm: ../../../designate_ubuntu-23.04-amd64.charm
num_units: 1
options:
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
Expand Down
139 changes: 139 additions & 0 deletions src/tests/bundles/mantic-bobcat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
variables:
openstack-origin: &openstack-origin distro

local_overlay_enabled: False

series: mantic

machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
'3':
'4':
'5':
'6':
'7':
series: focal
'8':

applications:

keystone-mysql-router:
charm: ch:mysql-router
channel: latest/edge
designate-mysql-router:
charm: ch:mysql-router
channel: latest/edge
neutron-api-mysql-router:
charm: ch:mysql-router
channel: latest/edge

mysql-innodb-cluster:
charm: ch:mysql-innodb-cluster
num_units: 3
to:
- '0'
- '1'
- '2'
channel: latest/edge

rabbitmq-server:
charm: ch:rabbitmq-server
num_units: 1
to:
- '3'
channel: latest/edge

keystone:
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '4'
channel: latest/edge

neutron-api:
charm: ch:neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
openstack-origin: *openstack-origin
to:
- '5'
channel: latest/edge

designate-bind:
charm: ch:designate-bind
num_units: 1
# NOTE(ajkavanagh) apparently it has no openstack origin!
#options:
#openstack-origin: *openstack-origin
to:
- '6'
channel: latest/edge

memcached:
charm: ch:memcached
num_units: 1
# Note that holding memcached at focal as it's not available at mantic yet.
series: focal
to:
- '7'

designate:
charm: ../../../designate_ubuntu-23.10-amd64.charm
num_units: 1
options:
nameservers: 'ns1.amuletexample.com. ns2.amuletexample.com.'
openstack-origin: *openstack-origin
to:
- '8'

nrpe:
charm: ch:nrpe
channel: latest/edge

relations:
- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'

- - 'designate:shared-db'
- 'designate-mysql-router:shared-db'
- - 'designate-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'

- - 'designate:amqp'
- 'rabbitmq-server:amqp'

- - 'designate:identity-service'
- 'keystone:identity-service'

- - 'designate:dns-backend'
- 'designate-bind:dns-backend'

- - 'designate:coordinator-memcached'
- 'memcached:cache'

- - 'designate:dnsaas'
- 'neutron-api:external-dns'

- - 'neutron-api:identity-service'
- 'keystone:identity-service'

- - 'neutron-api:shared-db'
- 'neutron-api-mysql-router:shared-db'
- - 'neutron-api-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'

- - 'neutron-api:amqp'
- 'rabbitmq-server:amqp'

- - 'designate:nrpe-external-master'
- 'nrpe:nrpe-external-master'
10 changes: 6 additions & 4 deletions src/tests/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
charm_name: designate

smoke_bundles:
- jammy-zed
- jammy-antelope

gate_bundles:
- jammy-zed
- jammy-antelope

dev_bundles:
- jammy-antelope
- jammy-bobcat
- lunar-antelope
- mantic-bobcat

tests:
- zaza.openstack.charm_tests.designate.tests.DesignateTests
Expand All @@ -22,6 +23,7 @@ tests_options:
force_deploy:
# nrpe charm doesn't support jammy+ and needs to be force installed
# https://bugs.launchpad.net/charm-nrpe/+bug/1968008
- jammy-zed
- jammy-antelope
- jammy-bobcat
- lunar-antelope
- mantic-bobcat

0 comments on commit 83514aa

Please sign in to comment.