Add Antelope support
* sync charm-helpers to classic charms * change openstack-origin/source default to antelope * align testing with antelope * add new antelope bundles * add antelope bundles to tests.yaml * add antelope tests to osci.yaml and .zuul.yaml * update build-on and run-on bases Change-Id: I698b89d2c4dfff7b667a810a42adda665773a5ce
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- openstack-python3-charm-zed-jobs
|
- openstack-python3-charm-jobs
|
||||||
- openstack-cover-jobs
|
- openstack-cover-jobs
|
||||||
|
@@ -32,3 +32,6 @@ bases:
|
|||||||
- name: ubuntu
|
- name: ubuntu
|
||||||
channel: "22.10"
|
channel: "22.10"
|
||||||
architectures: [amd64, s390x, ppc64el, arm64]
|
architectures: [amd64, s390x, ppc64el, arm64]
|
||||||
|
- name: ubuntu
|
||||||
|
channel: "23.04"
|
||||||
|
architectures: [amd64, s390x, ppc64el, arm64]
|
||||||
|
@@ -12,6 +12,7 @@ tags:
|
|||||||
series:
|
series:
|
||||||
- jammy
|
- jammy
|
||||||
- kinetic
|
- kinetic
|
||||||
|
- lunar
|
||||||
subordinate: true
|
subordinate: true
|
||||||
provides:
|
provides:
|
||||||
storage-backend:
|
storage-backend:
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
templates:
|
templates:
|
||||||
- charm-unit-jobs-py310
|
- charm-unit-jobs-py310
|
||||||
# Does not have working functional tests. Virtual appliance doesn't exist yet.
|
# Does not have working functional tests. Virtual appliance doesn't exist yet.
|
||||||
# - charm-zed-functional-jobs
|
# - charm-functional-jobs
|
||||||
vars:
|
vars:
|
||||||
needs_charm_build: true
|
needs_charm_build: true
|
||||||
charm_build_name: cinder-solidfire
|
charm_build_name: cinder-solidfire
|
||||||
|
@@ -1,18 +1,31 @@
|
|||||||
# This file is managed centrally. If you find the need to modify this as a
|
# This file is managed centrally by release-tools and should not be modified
|
||||||
# one-off, please don't. Intead, consult #openstack-charms and ask about
|
# within individual charm repos. See the 'global' dir contents for available
|
||||||
# requirements management in charms via bot-control. Thank you.
|
# choices of *requirements.txt files for OpenStack Charms:
|
||||||
charm-tools>=2.4.4
|
# https://github.com/openstack-charmers/release-tools
|
||||||
coverage>=3.6
|
#
|
||||||
mock>=1.2
|
# TODO: Distill the func test requirements from the lint/unit test
|
||||||
flake8>=4.0.1
|
# requirements. They are intertwined. Also, Zaza itself should specify
|
||||||
stestr>=2.2.0
|
# all of its own requirements and if it doesn't, fix it there.
|
||||||
|
#
|
||||||
|
pyparsing<3.0.0 # aodhclient is pinned in zaza and needs pyparsing < 3.0.0, but cffi also needs it, so pin here.
|
||||||
|
|
||||||
requests>=2.18.4
|
requests>=2.18.4
|
||||||
psutil
|
|
||||||
# oslo.i18n dropped py35 support
|
stestr>=2.2.0
|
||||||
oslo.i18n<4.0.0
|
|
||||||
|
# Dependency of stestr. Workaround for
|
||||||
|
# https://github.com/mtreinish/stestr/issues/145
|
||||||
|
cliff<3.0.0
|
||||||
|
|
||||||
|
coverage>=4.5.2
|
||||||
|
pyudev # for ceph-* charm unit tests (need to fix the ceph-* charm unit tests/mocking)
|
||||||
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
|
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
|
||||||
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack
|
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack
|
||||||
pytz # workaround for 14.04 pip/tox
|
|
||||||
pyudev # for ceph-* charm unit tests (not mocked?)
|
# Needed for charm-glance:
|
||||||
|
git+https://opendev.org/openstack/tempest.git#egg=tempest
|
||||||
|
|
||||||
|
croniter # needed for charm-rabbitmq-server unit tests
|
||||||
|
psutil
|
||||||
ops
|
ops
|
||||||
git+https://opendev.org/openstack/charm-ops-openstack#egg=ops_openstack
|
git+https://opendev.org/openstack/charm-ops-openstack#egg=ops_openstack
|
||||||
|
76
tests/bundles/jammy-antelope.yaml
Normal file
76
tests/bundles/jammy-antelope.yaml
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
series: jammy
|
||||||
|
variables:
|
||||||
|
openstack-origin: &openstack-origin cloud:jammy-antelope
|
||||||
|
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':
|
||||||
|
constraints: mem=4G root-disk=16G
|
||||||
|
|
||||||
|
applications:
|
||||||
|
mysql-innodb-cluster:
|
||||||
|
charm: ch:mysql-innodb-cluster
|
||||||
|
channel: latest/edge
|
||||||
|
num_units: 3
|
||||||
|
options:
|
||||||
|
source: *openstack-origin
|
||||||
|
to:
|
||||||
|
- '0'
|
||||||
|
- '1'
|
||||||
|
- '2'
|
||||||
|
rabbitmq-server:
|
||||||
|
charm: ch:rabbitmq-server
|
||||||
|
channel: latest/edge
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
source: *openstack-origin
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
keystone:
|
||||||
|
charm: ch:keystone
|
||||||
|
channel: latest/edge
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
keystone-mysql-router:
|
||||||
|
charm: ch:mysql-router
|
||||||
|
channel: latest/edge
|
||||||
|
cinder:
|
||||||
|
charm: ch:cinder
|
||||||
|
channel: latest/edge
|
||||||
|
num_units: 1
|
||||||
|
storage:
|
||||||
|
block-devices: '40G'
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
block-device: None
|
||||||
|
overwrite: "true"
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
|
||||||
|
cinder-mysql-router:
|
||||||
|
charm: ch:mysql-router
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
cinder-solidfire:
|
||||||
|
charm: ../../cinder-solidfire.charm
|
||||||
|
|
||||||
|
relations:
|
||||||
|
- [ keystone:shared-db, keystone-mysql-router:shared-db ]
|
||||||
|
- [ keystone-mysql-router:db-router, mysql-innodb-cluster:db-router ]
|
||||||
|
- [ cinder:shared-db, cinder-mysql-router:shared-db ]
|
||||||
|
- [ cinder-mysql-router:db-router, mysql-innodb-cluster:db-router ]
|
||||||
|
- [ cinder:identity-service, keystone:identity-service ]
|
||||||
|
- [ cinder:amqp, rabbitmq-server:amqp ]
|
||||||
|
- [ cinder:storage-backend, cinder-solidfire:storage-backend ]
|
@@ -1,4 +1,4 @@
|
|||||||
series: jammy
|
series: lunar
|
||||||
variables:
|
variables:
|
||||||
openstack-origin: &openstack-origin distro
|
openstack-origin: &openstack-origin distro
|
||||||
comment:
|
comment:
|
@@ -4,10 +4,10 @@ tests:
|
|||||||
configure:
|
configure:
|
||||||
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
||||||
gate_bundles:
|
gate_bundles:
|
||||||
- jammy-yoga
|
|
||||||
dev_bundles:
|
|
||||||
- jammy-yoga
|
|
||||||
- jammy-zed
|
- jammy-zed
|
||||||
|
dev_bundles:
|
||||||
|
- jammy-antelope
|
||||||
- kinetic-zed
|
- kinetic-zed
|
||||||
|
- lunar-antelope
|
||||||
smoke_bundles:
|
smoke_bundles:
|
||||||
- jammy-yoga
|
- jammy-zed
|
||||||
|
Reference in New Issue
Block a user