Commit Graph

16 Commits

Author SHA1 Message Date
Liam Young 6e42563bf4 Sync test-requirements.txt from release-tools
Change-Id: I8c880069d152603ca3dded43bdedf39e4565385f
2022-06-27 09:35:26 +00:00
Hervé Beraud 6ff8acbd6a 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: Ie96a81d19be4f14efc7067ddb9c47827f5255ccf
2021-12-15 11:11:14 +00:00
Corey Bryant e3091504fe Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* pin pyparsing for aodhclient
* pin cffi for py35
* add non-voting focal-yoga bundle
* add non-voting jammy-yoga bundle
* add series metadata for jammy
* switch xena bundles to voting
* run focal-ussuri as smoke tests
* remove groovy bundles

Change-Id: I7d9f44bd0dbff25a6c2b0649aa3a86c1869cd7d8
2021-11-05 13:53:31 -04:00
Aurelien Lourot 524a3572f3 Sync release-tools
In order to fix ResolutionImpossible on tox invocation.

https://github.com/openstack-charmers/release-tools/issues/151
https://github.com/openstack-charmers/release-tools/pull/152

Change-Id: I7e20ce898d770ce93e784f123e172f39eab7a2db
2021-07-22 15:00:29 +02:00
Alex Kavanagh 570ab6f465 Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.

Change-Id: Iecc63d575d0ed1b1d533766888e16b061adb626c
2021-05-03 16:10:32 +01:00
Alex Kavanagh cc72eee482 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure stable/21.04 branch for charms.openstack
  - ensure stable/21.04 branch for charm-helpers

Change-Id: I520e34a35b250954c0691250c779eee6e804c749
2021-04-03 20:37:28 -07:00
Aurelien Lourot 151034b84e Sync release-tools
Sync release-tools boilerplate containing these changes
in order to pin pip < 20.3:
https://github.com/openstack-charmers/release-tools/pull/125
https://github.com/openstack-charmers/release-tools/pull/126
https://github.com/openstack-charmers/release-tools/pull/127
https://github.com/openstack-charmers/release-tools/pull/129

Change-Id: I9b801a2ca6c7679117fcd2322cc324c7a8d8077b
2020-12-15 11:17:06 +01:00
Alex Kavanagh a4635c13a8 Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Change-Id: I1bf6a834b3678f631f6335af9f0e8b779f863c66
2020-09-27 19:39:08 +01:00
Ryan Beisner 9b68baa799
Sync charm/ceph helpers, tox, and requirements
Change-Id: I340623964d1d016fb8425803bf963394a27935e5
2019-09-30 22:10:15 -05:00
David Ames 257c58f373 Convert percona-cluster to Zaza
Convert amulet tests to zaza.
Add additional tests for new cold boot actions.
Use multi-model tests.yaml for different tests for bionic and xenial.

Change-Id: I5dadefa6092acecdaae194370a81b05a69b09909
2019-07-18 13:57:58 -07:00
Pete Vander Giessen bad07251d8 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: Iabc59ae7ae228f5db9b1be4b03868825afb23394
2019-03-07 17:12:58 -05:00
Ryan Beisner a5ebe488eb Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I60b6b713df3ce3c53a5d339569bbd53a9148d874
2018-10-03 13:11:40 -05:00
David Ames 45f5a8a9a6 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I22d7f8f37bf53635cb689803eb6e9b5170181bb1
2017-05-02 16:04:45 -07:00
James Page 6578871698 Use bundletester for amulet test execution
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.

Rename amulet tests inline with gate-* and dev-* naming standards.

Update README to refer to functional testing section of the charm
guide.

Add basic multi-unit test for Xenial.

Change-Id: I06a976d9fc6418f04f46f3c3cca83d2fb47f3ee4
2016-07-21 14:24:52 +01:00
James Page 10be2a1a94 Update to charm-tools >= 2.0.0
The new release of charm-tools no longer ships the charm
command; update minimum version requirement and switch
to using charm-proof instead, unblocking current pep8
failures across all charms.

Also pin the version of requests to 2.6.0 until theblues
(indirect dependency of charm-tools) sort out its
requirements versioning.

Change-Id: I5a429afce4f29b1591608a17dc5d5edfd45f8744
2016-03-23 09:30:17 +00:00
James Page 5cf419bdbb Add tox support for check/gate
This charm was missed pre-migration to git/gerrit.

Add support for executing pep8 and unit tests using tox.

Change-Id: I5518e870c572ccc292d6fe4e9b7c910c7f3f0260
2016-03-02 10:20:07 +00:00