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: I21e78586cee5541f9379bf1280655e5df406e117
This commit is contained in:
Corey Bryant 2021-10-29 17:00:43 -04:00
parent 6ead9f54ed
commit 47dacfb907
7 changed files with 26 additions and 13 deletions

View File

@ -1,18 +1,25 @@
- project:
templates:
- charm-unit-jobs
- charm-yoga-unit-jobs
check:
jobs:
- charm-build
- bionic-queens-40_trilio-wlm
- bionic-stein-40_trilio-wlm
- bionic-train-40_trilio-wlm
- bionic-queens-41_trilio-wlm
- bionic-stein-41_trilio-wlm
- bionic-ussuri-41_trilio-wlm
- bionic-train-41_trilio-wlm
- focal-ussuri-41_trilio-wlm
- bionic-train-41-s3_trilio-wlm
# Non-voting due to:
# https://bugs.launchpad.net/charm-trilio-data-mover/+bug/1951999
- bionic-train-40_trilio-wlm:
voting: false
- bionic-train-41_trilio-wlm:
voting: false
- bionic-train-41-s3_trilio-wlm:
voting: false
- bionic-ussuri-41_trilio-wlm:
voting: false
- focal-ussuri-41_trilio-wlm:
voting: false
vars:
needs_charm_build: true
charm_build_name: trilio-wlm
@ -21,10 +28,9 @@
parent: func-target
dependencies:
- osci-lint
- tox-py35
- tox-py36
- tox-py37
- tox-py38
- tox-py39
vars:
tox_extra_args: bionic-train-40
- job:

View File

@ -9,6 +9,7 @@
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
# Build requirements
cffi==1.14.6; python_version < '3.6' # cffi 1.15.0 drops support for py35.
charm-tools==2.8.3
simplejson

View File

@ -15,7 +15,6 @@ tags:
series:
- bionic
- focal
- groovy
resources:
license:
type: file

View File

@ -212,7 +212,7 @@ applications:
nova-compute:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 3
consussurits: mem=4G
constraints: mem=4G
options:
openstack-origin: *openstack-origin
config-flags: default_ephemeral_format=ext4
@ -255,7 +255,7 @@ applications:
expected-osd-count: 3
ceph-osd:
charm: cs:~openstack-charmers-next/ceph-osd
consussurits: mem=1G
constraints: mem=1G
num_units: 3
options:
source: *openstack-origin

View File

@ -22,12 +22,12 @@ skip_missing_interpreters = False
requires = pip < 20.3
virtualenv < 20.0
# NOTE: https://wiki.canonical.com/engineering/OpenStack/InstallLatestToxOnOsci
minversion = 3.2.0
minversion = 3.18.0
[testenv]
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
whitelist_externals = juju
allowlist_externals = juju
passenv = HOME TERM CS_* OS_* TEST_*
deps = -r{toxinidir}/test-requirements.txt
install_command =

View File

@ -3,6 +3,8 @@
# 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

View File

@ -75,6 +75,11 @@ basepython = python3.8
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
[testenv:py39]
basepython = python3.9
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
[testenv:pep8]
basepython = python3
deps = flake8==3.9.2