Commit Graph

8 Commits

Author SHA1 Message Date
Corey Bryant 35a347d69e 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: I35b051fb5a86081380abe9d73b88b797b91febac
2023-03-07 20:32:46 +00:00
Corey Bryant 118f10a707 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: I785cad8d470af5560ba2eb0616622d454e9d1c1b
2022-08-26 18:40:27 +00:00
Alex Kavanagh 9be9a1ab58 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: Ibcb6a078314c0bd92a0d45d31cd2adaf60b8b68d
2022-04-05 15:11:01 +01:00
Hervé Beraud dc22f20319 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: I27ccd34f2337533b217d8c6f817a6d5a14e47abb
2021-12-15 11:06:20 +00:00
kangyufei dcab152011 Switch to Ussuri jobs
Change-Id: I7a12098d2ad83459596c83e91c50ec3f62dd90d7
2019-10-23 09:37:18 +08:00
Corey Bryant 10227d51be 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: Ice9db9398dbc1cfec7afbdfd0a1fd4234be4c1b1
Story: #2005924
Task: #34228
2019-07-30 10:17:44 -04:00
Alex Kavanagh 7cc006d262 Convert charm to Python 3
Change-Id: Id2a87f639619ecbdc9e02960e9530133c6816f78
2019-04-24 13:53:55 +01:00
Doug Hellmann 6a9a7ca1eb 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: Ia7c13ed8ffbba0bbf64d2d8a169785a62dee6d99
Story: #2002586
Task: #24317
2018-09-11 13:06:20 -04:00