Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms * sync from release-tools * switch to release-specific zosci functional tests * run focal-ussuri as smoke tests * remove trusty, xenial, and groovy metadata/tests * drop py35 and add py39 Change-Id: I3c3f0032f3a4027954175f08933ecf977f317ad1
This commit is contained in:
25
osci.yaml
25
osci.yaml
@@ -1,22 +1,13 @@
|
|||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- charm-unit-jobs
|
- charm-yoga-unit-jobs
|
||||||
check:
|
- charm-yoga-functional-jobs
|
||||||
jobs:
|
- charm-xena-functional-jobs
|
||||||
- impish-xena:
|
- charm-wallaby-functional-jobs
|
||||||
voting: false
|
- charm-victoria-functional-jobs
|
||||||
- hirsute-wallaby
|
- charm-ussuri-functional-jobs
|
||||||
- groovy-victoria
|
- charm-stein-functional-jobs
|
||||||
- focal-xena:
|
- charm-queens-functional-jobs
|
||||||
voting: false
|
|
||||||
- focal-wallaby
|
|
||||||
- focal-victoria
|
|
||||||
- focal-ussuri
|
|
||||||
- bionic-ussuri
|
|
||||||
- bionic-queens
|
|
||||||
- bionic-stein
|
|
||||||
- bionic-train
|
|
||||||
- bionic-rocky
|
|
||||||
vars:
|
vars:
|
||||||
needs_charm_build: true
|
needs_charm_build: true
|
||||||
charm_build_name: cinder-lvm
|
charm_build_name: cinder-lvm
|
||||||
|
|||||||
76
src/tests/bundles/focal-yoga.yaml
Normal file
76
src/tests/bundles/focal-yoga.yaml
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
series: focal
|
||||||
|
variables:
|
||||||
|
openstack-origin: &openstack-origin cloud:focal-yoga
|
||||||
|
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
|
||||||
|
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-lvm:storage-backend
|
||||||
|
applications:
|
||||||
|
mysql-innodb-cluster:
|
||||||
|
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
|
||||||
|
num_units: 3
|
||||||
|
options:
|
||||||
|
source: *openstack-origin
|
||||||
|
to:
|
||||||
|
- '0'
|
||||||
|
- '1'
|
||||||
|
- '2'
|
||||||
|
rabbitmq-server:
|
||||||
|
charm: cs:~openstack-charmers-next/rabbitmq-server
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
source: *openstack-origin
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
keystone:
|
||||||
|
charm: cs:~openstack-charmers-next/keystone
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
keystone-mysql-router:
|
||||||
|
charm: cs:~openstack-charmers-next/mysql-router
|
||||||
|
cinder:
|
||||||
|
charm: cs:~openstack-charmers-next/cinder
|
||||||
|
storage:
|
||||||
|
block-devices: '40G'
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
block-device: None
|
||||||
|
overwrite: "true"
|
||||||
|
ephemeral-unmount: /mnt
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
cinder-lvm:
|
||||||
|
charm: cinder-lvm
|
||||||
|
options:
|
||||||
|
block-device: '/tmp/vol1|4G'
|
||||||
|
alias: zaza-lvm
|
||||||
|
cinder-mysql-router:
|
||||||
|
charm: cs:~openstack-charmers-next/mysql-router
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
series: groovy
|
series: jammy
|
||||||
variables:
|
variables:
|
||||||
openstack-origin: &openstack-origin distro
|
openstack-origin: &openstack-origin distro
|
||||||
comment:
|
comment:
|
||||||
@@ -5,20 +5,23 @@ configure:
|
|||||||
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
|
||||||
gate_bundles:
|
gate_bundles:
|
||||||
- bionic-queens
|
- bionic-queens
|
||||||
- bionic-rocky
|
|
||||||
- bionic-stein
|
- bionic-stein
|
||||||
- bionic-train
|
|
||||||
- bionic-ussuri
|
- bionic-ussuri
|
||||||
- focal-ussuri
|
- focal-ussuri
|
||||||
- focal-victoria
|
- focal-victoria
|
||||||
- focal-wallaby
|
- focal-wallaby
|
||||||
- focal-xena
|
- focal-xena
|
||||||
- groovy-victoria
|
|
||||||
- hirsute-wallaby
|
- hirsute-wallaby
|
||||||
smoke_bundles:
|
|
||||||
- bionic-ussuri
|
|
||||||
dev_bundles:
|
|
||||||
- impish-xena
|
- impish-xena
|
||||||
test_options:
|
smoke_bundles:
|
||||||
|
- focal-ussuri
|
||||||
|
dev_bundles:
|
||||||
|
- bionic-rocky
|
||||||
|
- bionic-train
|
||||||
|
- focal-yoga
|
||||||
|
- jammy-yoga
|
||||||
|
tests_options:
|
||||||
force_deploy:
|
force_deploy:
|
||||||
|
- hirsute-wallaby
|
||||||
- impish-xena
|
- impish-xena
|
||||||
|
- jammy-yoga
|
||||||
|
|||||||
@@ -1,10 +1,54 @@
|
|||||||
# Lint and unit test requirements
|
# This file is managed centrally by release-tools and should not be modified
|
||||||
flake8
|
# within individual charm repos. See the 'global' dir contents for available
|
||||||
os-testr>=0.4.1
|
# choices of *requirements.txt files for OpenStack Charms:
|
||||||
|
# https://github.com/openstack-charmers/release-tools
|
||||||
|
#
|
||||||
|
pyparsing<3.0.0 # aodhclient is pinned in zaza and needs pyparsing < 3.0.0, but cffi also needs it, so pin here.
|
||||||
|
cffi==1.14.6; python_version < '3.6' # cffi 1.15.0 drops support for py35.
|
||||||
|
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
|
||||||
|
|
||||||
|
stestr>=2.2.0
|
||||||
|
|
||||||
|
# Dependency of stestr. Workaround for
|
||||||
|
# https://github.com/mtreinish/stestr/issues/145
|
||||||
|
cliff<3.0.0
|
||||||
|
|
||||||
|
# Dependencies of stestr. Newer versions use keywords that didn't exist in
|
||||||
|
# python 3.5 yet (e.g. "ModuleNotFoundError")
|
||||||
|
importlib-metadata<3.0.0; python_version < '3.6'
|
||||||
|
importlib-resources<3.0.0; python_version < '3.6'
|
||||||
|
|
||||||
|
# Some Zuul nodes sometimes pull newer versions of these dependencies which
|
||||||
|
# dropped support for python 3.5:
|
||||||
|
osprofiler<2.7.0;python_version<'3.6'
|
||||||
|
stevedore<1.31.0;python_version<'3.6'
|
||||||
|
debtcollector<1.22.0;python_version<'3.6'
|
||||||
|
oslo.utils<=3.41.0;python_version<'3.6'
|
||||||
|
|
||||||
|
requests>=2.18.4
|
||||||
charms.reactive
|
charms.reactive
|
||||||
mock>=1.2
|
|
||||||
|
# Newer mock seems to have some syntax which is newer than python3.5 (e.g.
|
||||||
|
# f'{something}'
|
||||||
|
mock>=1.2,<4.0.0; python_version < '3.6'
|
||||||
|
mock>=1.2; python_version >= '3.6'
|
||||||
|
|
||||||
|
nose>=1.3.7
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
git+https://github.com/openstack/charms.openstack.git#egg=charms-openstack
|
git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack
|
||||||
git+https://github.com/juju/charm-helpers.git#egg=charmhelpers
|
#
|
||||||
netifaces
|
# Revisit for removal / mock improvement:
|
||||||
psutil
|
#
|
||||||
|
# NOTE(lourot): newer versions of cryptography require a Rust compiler to build,
|
||||||
|
# see
|
||||||
|
# * https://github.com/openstack-charmers/zaza/issues/421
|
||||||
|
# * https://mail.python.org/pipermail/cryptography-dev/2021-January/001003.html
|
||||||
|
#
|
||||||
|
netifaces # vault
|
||||||
|
psycopg2-binary # vault
|
||||||
|
tenacity # vault
|
||||||
|
pbr==5.6.0 # vault
|
||||||
|
cryptography<3.4 # vault, keystone-saml-mellon
|
||||||
|
lxml # keystone-saml-mellon
|
||||||
|
hvac # vault, barbican-vault
|
||||||
|
psutil # cinder-lvm
|
||||||
|
|||||||
10
tox.ini
10
tox.ini
@@ -55,6 +55,11 @@ basepython = python3
|
|||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = stestr run --slowest {posargs}
|
commands = stestr run --slowest {posargs}
|
||||||
|
|
||||||
|
[testenv:py35]
|
||||||
|
basepython = python3.5
|
||||||
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
commands = stestr run --slowest {posargs}
|
||||||
|
|
||||||
[testenv:py36]
|
[testenv:py36]
|
||||||
basepython = python3.6
|
basepython = python3.6
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
@@ -70,6 +75,11 @@ basepython = python3.8
|
|||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = stestr run --slowest {posargs}
|
commands = stestr run --slowest {posargs}
|
||||||
|
|
||||||
|
[testenv:py39]
|
||||||
|
basepython = python3.9
|
||||||
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
commands = stestr run --slowest {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = flake8==3.9.2
|
deps = flake8==3.9.2
|
||||||
|
|||||||
Reference in New Issue
Block a user