Update the bundles to use the stable track, edge risk for yoga

The bundles for the yoga channel currently point to "latest/edge"
channel for all the charms.  This update points the charms to the
appropriate channel for the charm being used, either from ceph,
openstack, ovn or the misc tracks.

Remove impish bundle as EOL.
Make yoga jobs voting as this branch needs to support yoga on focal and
jammy.

Change-Id: I1c9d3877279e68a1506788f3786da558d0b403fd
This commit is contained in:
Alex Kavanagh 2022-06-15 12:55:12 +01:00
parent dfcdc9ac8b
commit 3be2ffcf74
7 changed files with 22 additions and 133 deletions

View File

@ -5,12 +5,8 @@
check: check:
jobs: jobs:
- test-s3api-focal-xena - test-s3api-focal-xena
- test-s3api-focal-yoga: - test-s3api-focal-yoga
voting: false - test-s3api-jammy-yoga
- test-s3api-impish-xena:
voting: false
- test-s3api-jammy-yoga:
voting: false
vars: vars:
needs_charm_build: true needs_charm_build: true
charm_build_name: swift-proxy charm_build_name: swift-proxy
@ -34,13 +30,6 @@
- test-s3api-focal-xena - test-s3api-focal-xena
vars: vars:
tox_extra_args: test-s3api:focal-yoga tox_extra_args: test-s3api:focal-yoga
- job:
name: test-s3api-impish-xena
parent: func-target
dependencies:
- test-s3api-focal-xena
vars:
tox_extra_args: test-s3api:impish-xena
- job: - job:
name: test-s3api-jammy-yoga name: test-s3api-jammy-yoga
parent: func-target parent: func-target

View File

@ -37,7 +37,8 @@ git+https://github.com/openstack-charmers/zaza.git@stable/yoga#egg=zaza
git+https://github.com/openstack-charmers/zaza-openstack-tests.git@stable/yoga#egg=zaza.openstack git+https://github.com/openstack-charmers/zaza-openstack-tests.git@stable/yoga#egg=zaza.openstack
# Needed for charm-glance: # Needed for charm-glance:
git+https://opendev.org/openstack/tempest.git#egg=tempest;python_version>='3.6' git+https://opendev.org/openstack/tempest.git#egg=tempest;python_version>='3.8'
tempest<31.0.0;python_version<'3.8' and python_version>='3.6'
tempest<24.0.0;python_version<'3.6' tempest<24.0.0;python_version<'3.6'
croniter # needed for charm-rabbitmq-server unit tests croniter # needed for charm-rabbitmq-server unit tests

View File

@ -1,3 +1,5 @@
local_overlay_enabled: False
variables: variables:
openstack-origin: &openstack-origin cloud:focal-xena openstack-origin: &openstack-origin cloud:focal-xena
@ -21,10 +23,10 @@ applications:
keystone-mysql-router: keystone-mysql-router:
charm: ch:mysql-router charm: ch:mysql-router
channel: latest/edge channel: 8.0/edge
glance-mysql-router: glance-mysql-router:
charm: ch:mysql-router charm: ch:mysql-router
channel: latest/edge channel: 8.0/edge
mysql-innodb-cluster: mysql-innodb-cluster:
charm: ch:mysql-innodb-cluster charm: ch:mysql-innodb-cluster
@ -35,7 +37,7 @@ applications:
- '0' - '0'
- '1' - '1'
- '2' - '2'
channel: latest/edge channel: 8.0/edge
keystone: keystone:
expose: True expose: True

View File

@ -1,3 +1,5 @@
local_overlay_enabled: False
variables: variables:
openstack-origin: &openstack-origin cloud:focal-yoga openstack-origin: &openstack-origin cloud:focal-yoga
@ -21,10 +23,10 @@ applications:
keystone-mysql-router: keystone-mysql-router:
charm: ch:mysql-router charm: ch:mysql-router
channel: latest/edge channel: 8.0/edge
glance-mysql-router: glance-mysql-router:
charm: ch:mysql-router charm: ch:mysql-router
channel: latest/edge channel: 8.0/edge
mysql-innodb-cluster: mysql-innodb-cluster:
charm: ch:mysql-innodb-cluster charm: ch:mysql-innodb-cluster
@ -35,7 +37,7 @@ applications:
- '0' - '0'
- '1' - '1'
- '2' - '2'
channel: latest/edge channel: 8.0/edge
keystone: keystone:
expose: True expose: True

View File

@ -1,105 +0,0 @@
variables:
openstack-origin: &openstack-origin distro
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':
applications:
keystone-mysql-router:
charm: ch:mysql-router
channel: latest/edge
glance-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:
expose: True
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '3'
channel: yoga/edge
swift-proxy:
charm: ../../swift-proxy.charm
num_units: 1
options:
zone-assignment: manual
replicas: 1
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
openstack-origin: *openstack-origin
to:
- '4'
glance:
expose: True
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '5'
channel: yoga/edge
swift-storage:
charm: ch:swift-storage
num_units: 1
storage:
block-devices: 'cinder,2G,2'
options:
zone: 1
openstack-origin: *openstack-origin
to:
- '6'
channel: yoga/edge
relations:
- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'glance:shared-db'
- 'glance-mysql-router:shared-db'
- - 'glance-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'glance:identity-service'
- 'keystone:identity-service'
- - 'swift-proxy:identity-service'
- 'keystone:identity-service'
- - 'swift-storage:swift-storage'
- 'swift-proxy:swift-storage'
- - 'glance:object-store'
- 'swift-proxy:object-store'

View File

@ -1,3 +1,5 @@
local_overlay_enabled: False
variables: variables:
openstack-origin: &openstack-origin distro openstack-origin: &openstack-origin distro
@ -21,10 +23,10 @@ applications:
keystone-mysql-router: keystone-mysql-router:
charm: ch:mysql-router charm: ch:mysql-router
channel: latest/edge channel: 8.0/edge
glance-mysql-router: glance-mysql-router:
charm: ch:mysql-router charm: ch:mysql-router
channel: latest/edge channel: 8.0/edge
mysql-innodb-cluster: mysql-innodb-cluster:
charm: ch:mysql-innodb-cluster charm: ch:mysql-innodb-cluster
@ -35,7 +37,7 @@ applications:
- '0' - '0'
- '1' - '1'
- '2' - '2'
channel: latest/edge channel: 8.0/edge
keystone: keystone:
expose: True expose: True

View File

@ -2,15 +2,14 @@ charm_name: swift-proxy
gate_bundles: gate_bundles:
- test-s3api: focal-xena - test-s3api: focal-xena
- test-s3api: impish-xena
dev_bundles:
- test-s3api: focal-yoga - test-s3api: focal-yoga
- test-s3api: jammy-yoga - test-s3api: jammy-yoga
dev_bundles: []
smoke_bundles: smoke_bundles:
# Use no s3api test for smoke # Use no s3api test for smoke
- focal-xena - focal-yoga
configure: configure:
- swift_gr_region1: - swift_gr_region1:
@ -29,7 +28,6 @@ tests:
tests_options: tests_options:
force_deploy: force_deploy:
- impish-xena
- jammy-yoga - jammy-yoga
policyd: policyd:
- service: swift - service: swift