Commit Graph

7 Commits

Author SHA1 Message Date
Dmitrii Shcherbakov 5963ea4fc3 Update the charm for new releases
* Switch to test bundles;
* Update charmcraft.yaml;
* Update requirements files;
* Switch to ch:osci-frr from ch:quagga;
* Update tox config files.

Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1060
Change-Id: Ie611966bb19631a586285f45f27dc52b96ff2937
2023-05-24 14:40:45 +03:00
Alex Kavanagh 13a994f78d Migrate charm charmcraft and for the yoga track
Change-Id: I455d079ffb7ca081d8a1b54d1afcc28d5b8e1751
2022-04-22 12:52:01 -04:00
Hervé Beraud 033a794520 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: I2bb3b81355a3bd9f6f055d1c66b038f4f0abfd0e
2021-12-15 14:21:13 +00:00
Ghanshyam Mann ac40fc3e62 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

charm repos need few updates on either py2 drop or updating
ussuri python template.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: If4e76bcac38ff994486816366d78787a9ac4f5b5
2020-03-24 17:13:15 +00:00
Ryan Beisner 262b5e0752 Sync charm/ceph helpers, tox, and requirements
Change-Id: I37c1817d9b5198dfdeee1e7b14e40aec28362385
2019-10-18 13:31:21 -07:00
Corey Bryant 3ef811544b 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 openstack-python35-jobs is retained since this charm is supported
on Xenial.

Change-Id: I837fd1be8e021c05737d29d0c320736148a589ba
Story: #2005924
Task: #34228
2019-08-09 14:18:14 -04:00
Doug Hellmann 848d318ad3 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: Ifac8e3d46b5d78ca45f51d9ae4cef7abed367060
Story: #2002586
Task: #24317
2018-09-11 13:17:33 -04:00