Commit Graph

10 Commits

Author SHA1 Message Date
Corey Bryant 83f29f5f89 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: I2df3dc8ec86a5e41fab7e5bd463a9d708d95fe88
2023-03-07 23:01:06 +00:00
Corey Bryant ac5e1fdc7f 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: I5a88bdb17a93074921b3aa13a3bd0d56478b5bfb
2022-08-31 18:41:31 +01:00
Alex Kavanagh 2ee4b81a48 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

Change-Id: Ideb0b18808ef8ccd17ee8e6c8cb399b3e9798ecc
2022-04-04 15:48:36 +01:00
Hervé Beraud ed42763698 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.

Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: I0417bae3d6311c9dcee53ef974ed49270adb4fc1
2021-12-15 14:37:55 +00:00
kangyufei 03486705c0 Switch to Ussuri jobs
Change-Id: Id01b47dab4de2d0ca66d4eed548808e61ddfb313
2019-10-23 09:40:58 +08:00
Ryan Beisner b0d6fb8eb0
Sync charm/ceph helpers, tox, and requirements
Change-Id: Ibaa8c4dbcb2a484f7dd4d71a0aec78161c6d230f
2019-10-04 11:49:07 -05:00
Corey Bryant f3af5771d7 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

Change-Id: Ieab6102178a09d43e97453c85b2fb19c87ca6ef6
Story: #2005924
Task: #34228
2019-07-30 10:16:11 -04:00
Ghanshyam Mann ec33cadf4c Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I3039e25e4d8f77e4e64fbb63cd924c37c0739887
2019-05-24 09:12:58 +00:00
Paul Goins dc0cfc8ec9 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: I253e35de7ba72fb2f6a3ad018a45924771443465
2019-03-01 11:07:03 +01:00
Doug Hellmann a857c321ae import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ifdedc73537c9b965e06f929a1ac9eb2e2ebe29c2
Story: #2002586
Task: #24317
2018-09-11 13:05:45 -04:00