Commit Graph

22 Commits

Author SHA1 Message Date
Alex Kavanagh 052d651226 Updates for caracal testing support
These updates, on the master branch, are to support testing the caracal
packages and support of the charms for caracal.  They do NOT lock the charms
down, and don't change the testing branches to stable branches.

Change-Id: Iffc97e7963469742439da25040e204fd27000976
2024-02-24 19:57:38 +00:00
Corey Bryant c1c0741322 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: I482a4f2b2f76bcf88cf47c5744ab494f79613d2e
2023-03-07 23:57:37 +00:00
Liam Young dced8f1cda Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: Ieafa1cd0749433e60af561015ec5a50822e79863
2023-01-17 17:49:58 +00:00
Corey Bryant 884d6c0ab1 Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml

Change-Id: I2cb698f719106e54b06009f24ea47259419e9cad
2022-08-26 18:40:41 +00:00
Alex Kavanagh c9f9802fdd Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
  target.
- ensure that the openstack-origin is yoga
- Remove overlay as no longer needed in charmhub with explicit .charm
- Pin setuptools < 50.0 in src/wheelhouse.txt

Change-Id: Ie15e3e0530345f488565454e673e40981f606bdd
2022-04-07 18:16:39 +01:00
Alex Kavanagh 3e4eee4215 Update to build using charmcraft
Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft.  Changes:

- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
    -> indicate build with charmcraft
- modify tox.ini
    -> tox -e build does charmcraft build/rename
    -> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
  and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI

Depends-On: https://review.opendev.org/c/openstack/charm-nova-cell-controller/+/830520
Change-Id: I47fd77c67776817f7b8d8918f0ec29d420f1763a
2022-02-23 14:19:44 +00:00
Corey Bryant 464bbb7d59 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: I6d7d32dd016e436d8463f88331682f53c4741e8d
2021-11-22 14:33:46 -05:00
Alex Kavanagh 0296147aeb Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- rebuild to pick up charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: Idda2655a4342f078c55338d99e51d0c27b480051
2021-09-27 15:48:20 +01:00
Aurelien Lourot be4cbcbd38 Sync release-tools
In order to fix ResolutionImpossible on tox invocation.

https://github.com/openstack-charmers/release-tools/issues/151
https://github.com/openstack-charmers/release-tools/pull/152

Change-Id: I27a464ae745adb9d176c7e84c9c7b06bb3f8d889
2021-07-22 14:58:41 +02:00
Alex Kavanagh b0339cf672 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure stable/21.04 branch for charms.openstack
  - ensure stable/21.04 branch for charm-helpers

Change-Id: I0b89619963f796132356b174f7bd9f3a85a681f4
2021-04-03 20:31:08 +01:00
Alex Kavanagh e45a8f7806 Updates to pin charm-tools to 2.8.3
* Update requirements.txt to pin charm-tools to 2.8.3
* Update tox.ini to change the build parameters.
* This upgrades from <2.7 which adds reproducible charms
* Bug was fixed that controlled the default output directory
  doesn't get 'builds' appended.  The tox change puts it
  back so that stable & master both build to the same
  directory.  This may be reviewed in the future.

Change-Id: Ieae91b9ffda65f21741f742e03662cdaf73b3177
2021-02-17 12:15:45 +00:00
Alex Kavanagh f2c8cc75b9 Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/440
Change-Id: I10a6a748b8fee04a0395da37d599e0c50d28f01c
2020-10-09 16:24:19 +02:00
Alex Kavanagh 0f9d80856f Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt

Change-Id: I635df238fde900be5b04cc060279c6fbcff581e6
2020-07-27 20:56:39 +01:00
Ryan Beisner b5eab37317
Sync charm/ceph helpers, tox, and requirements
Change-Id: I3cf3f6640f3a485a8ca09859c868a6f7277ab680
2019-09-30 20:59:27 -05:00
Camille Rodriguez 2d70fac071 Avoid pollution and false positives with tox.ini
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: I45e3c717349cf2f91b0ed56d0f53ac73ae447572
2019-08-27 13:53:16 -04:00
Corey Bryant e49d35f00e Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Note that python35-charm-jobs is retained since this charm is supported
on Xenial.

Change-Id: Ide9f404d46a12cad640b488237e85a902b462484
Story: #2005924
Task: #34228
2019-07-30 10:20:34 -04:00
Pete Vander Giessen 43682fd0b3 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: Ia0853d60d45b3cf8864a4c25ddbc591f8cc54014
2019-03-07 17:12:27 -05:00
Paul Goins b893eeba30 Added tox environment for gathering coverage
This technique was borrowed from the tox "cover" environment in
openstack/nova's tox.ini.  This leverages the fact that stestr lets
you override the python executable via the PYTHON environment
variable.  Doing this allows us to easily generate coverage for our
unit tests.

An important caveat is that this does not provide any coverage for
tests via zaza, amulet, etc.  It is purely focused on the unit tests.

Note that this replaces the previous .coveragerc; coverage
configuration is instead pulled from tox.ini.

Change-Id: I191b4f8a584e03b967e423a72657622c761f246a
2019-03-01 14:42:23 +01:00
Ryan Beisner 36189ac193
Update tests, tox, series and readme for 18.11 release
Change-Id: I5012167e6f69e57812f1d60b50318d2dbe72e17a
2018-11-19 15:09:21 -06:00
Liam Young 029dbf8f5e Functional tests 2018-10-08 14:22:07 +00:00
Liam Young 70b7b69a4c Update tox.ini for py36 2018-07-27 07:19:59 +00:00
Liam Young 29d6d050ad initial commit 2018-06-28 08:21:28 +00:00