9 Commits

Author SHA1 Message Date
Myles Penner
9e144219ef Add charmcraft 3 support
Summary of changes:
- Update the charmcraft.yaml file to use base and platforms, only
  allowing noble support.
- Update config to default to caracal.
- Update osci.yaml to use the charmcraft 3.x/beta
- Drop non-noble tests
- Update constraints file from -2024.1.txt to -noble.txt
- Add charmbuild to .zuul.yaml

Change-Id: Icce812e910696bdaa7f3b7e6e3febcc1c274ad30
2024-09-04 18:10:24 +00:00
Corey Bryant
2c9ab73ee2 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: I413800b76b1386e278ca5b0f8ded7f11ff1c5b2e
2023-03-08 14:06:23 +00:00
Corey Bryant
1167cc6133 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: I4cae0a313230a8617beac36a2dbfe0c019c5e0de
2022-09-29 18:09:14 +00:00
Alex Kavanagh
c1569236c2 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: I166d5b7399f2b6746768707388824a25f68d11cf
2022-04-06 16:44:49 +01:00
Hervé Beraud
0225c61e76 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: Ib7e61c0293e398b831fbf8a6ade02bf833b78948
2021-12-15 14:04:23 +00:00
Corey Bryant
89ea5a4fbf 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: I10bcd0c4847e2f0828c8df6d23d148d2b55c74f7
Story: #2005924
Task: #34228
2019-08-30 20:11:48 +00:00
David Ames
e2731d14f3 Enable OSCI testing of keystone-saml-mellon
Move to zaza.openstack testing

The following need to be reviewed and merged first
https://github.com/openstack-charmers/zaza-openstack-tests/pull/7
https://github.com/openstack-charmers/bot-control/pull/113

Change-Id: Ifa8fc7526f6bd2c4fe1ff7d34a38eb5c6049cbd1
2019-05-21 16:37:59 +00:00
David Ames
bee2dd15f4 Remove zuul.yaml for gerrit
The zuul.yaml file cannot exist for the gerrit import process.
Temporarily remove it. We will re-add it after we get imported into
gerrit.
2019-05-02 10:50:34 -06:00
Ryan Beisner
3545fd8b37
Add repo bits to prep for gerrit 2019-02-25 15:39:05 +01:00