Commit Graph

9 Commits

Author SHA1 Message Date
Chris MacNaughton a1267f4919 Add support for interim Ubuntu releases
- update bundles to include UCA pocket tests
- update test configuration
- update metadata to include kinetic and lunar
- update snapcraft to allow run-on for kinetic and lunar

Change-Id: I05ce01c13efdd453c06e3c8d615d64bad6e27727
2023-03-20 13:39:08 -04:00
Corey Bryant 51f59879d3 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: Ieb1ef7b7ab76775f5769621a6a7cbcfb18c40b7f
2022-08-26 18:40:29 +00:00
Chris MacNaughton 1f4dbd3a5d Updates for jammy enablement
- charmcraft: build-on 20.04 -> run-on 20.04/22.04 [*archs]
- Refresh tox targets
- Drop impish bundles and OSCI testing
- Add jammy metadata
- Default source is yoga
- Charmhelpers and charms.ceph sync

Change-Id: I39f091db8ef8f18c0a40d4e46d54dfc964c03d70
2022-04-08 10:23:48 +01:00
Hervé Beraud c817ef666b 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: If352ea32d18cd3d1d8bc5577a32c0397e1cb7e93
2021-12-15 11:03:09 +00:00
inspurericzhang 3c34176c55 Switch to Ussuri jobs
Change-Id: I071200484b8fc28548264ad76c821f241d77f7f2
2019-10-31 17:39:24 +08:00
Corey Bryant 843c06f449 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: Ie3b80cb280794688c9a907779c30e049a13936f1
Story: #2005924
Task: #34228
2019-08-16 22:00:40 +00:00
Ghanshyam Mann 52478cc395 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: I17d4ecbe471032b256b2113768a8e62c4fd45161
2019-04-23 23:13:00 +00:00
James Page 53794aad7a Switch charm runtime to python3
Update charm to execute hooks and actions under Python 3; this
includes dealing with upgrades (by switching the upgrade-charm
hook to be a bash script which installs the required charm runtime
dependencies).

This commit also drops code from ceph.py which was used across
other ceph charms in the past; only the functions required for this
charm have been retained.

Change-Id: I5e222d907bfa34ffacad16c51abd1278d7d82f56
2019-01-18 13:31:33 +02:00
Doug Hellmann 00ce913cac 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: I855fc3fba891988b687c48f32e5e3badbaac59de
Story: #2002586
Task: #24317
2018-09-11 13:07:44 -04:00