Commit Graph

21 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
Liam Young 42d520d4e3 Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I957d1e86bc59351404becaca64c8766d687cb1e0
2023-01-16 16:12:09 +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
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
Arif Ali f4d772e6a3
Enable pipeline_yaml for mitaka and above
This configuration for pipeline.yaml is still valid for mitaka and
above, so adding this in.

The ceilometer-collector package is not available in newer openstack
releases, so basing this on QUEENS_SERVICES.

This should solve the custom requirement of pipeline moving forward.

Other fixes:
* Update test-requirements.txt for cffi and related pins.
* Update focal-xena bundle to fix memcached series bionic requirement.

Closes-Bug: 1938807
Change-Id: I1946b6f172cdae6f444d07999d5e54d4e11a450e
2021-11-03 13:49:49 +00:00
Aurelien Lourot 32cb42625d 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: I3e5f7928a45235fb9182fa3e766c55cbe1767950
2021-07-22 14:51:46 +02:00
Alex Kavanagh 6a96078648 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: I38f603abe72625797824035dd1413685f1407f22
2021-05-03 16:02:24 +01:00
Alex Kavanagh 6c89d26256 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: I52bdd82cdbcd04f6ee773b8eb1a555d397e0ad4b
2021-04-03 20:21:10 +01:00
Alex Kavanagh 9dac6d3e3f Updates for testing period for 20.01 release
* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure master branch for charms.openstack
  - ensure master branch for charm-helpers

Change-Id: I0ce0530830ed69a2d513973a319961c212467918
2021-01-12 15:27:39 +00:00
Aurelien Lourot a282ce6b09 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

Change-Id: Ia7ca2af7c00c1ca55042b9e7f12558307da42d77
2020-12-11 13:53:06 +01:00
Alex Kavanagh 361eee97f5 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: I824d11bea90e2db8ffba9bfeb22137f150da1c63
2020-09-27 15:27:11 +01:00
Alex Kavanagh 7c0ecdbd1a Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt

Change-Id: Ib6a159eb5c079d5818f5e03e249aa56b600c1ff3
2020-07-30 12:25:11 +01:00
Eduardo Sousa bbf4ad60dd Porting tests from Amulet to Zaza and support for Python 3.8
Zaza tests can be found here:
https://github.com/openstack-charmers/zaza-openstack-tests/pull/59
https://github.com/openstack-charmers/zaza-openstack-tests/pull/185

Support Python 3.8 by pulling a version of charm-helpers containing https://github.com/juju/charm-helpers/pull/423

Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/185
Closes-Bug: #1828424

Change-Id: I844836b0c2f7556da0b73a7917b8ec18052ba841
2020-03-05 12:08:25 +01:00
Stamatis Katsaounis 8d979d771a Pin -python-cinderclient <5.0.0
Recently, python-cinderclient released a new version at 5.0.0. This
removes the v1 client, which the tests currently rely on. This patch
pins the client in ceilometer until the tests are upgraded.

Change-Id: I052feccdd7c2dde6ebd0774175ab112f4f5f4c5b
Signed-off-by: Stamatis Katsaounis <katsaouniss@gmail.com>
2019-10-02 12:45:56 +03:00
Pete Vander Giessen a6fa24941e Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: I8a47c6d9615c3e85d72bbcba8941619512c2da72
2019-03-07 17:10:08 -05:00
Ryan Beisner 2b4f4428a1 Update requirements
Change-Id: I78010884bce5c025901aa16bc32d123ac1d33c9d
2018-10-03 11:14:54 -05:00
Liam Young b64e500f6c Register pipeline conf in quuens+
A bug was causing the events yaml from being rendered on quuens+
deploys. This change adds it to the quuens+ configs.

Closes-Bug: 1773355
Change-Id: I309107da609e186638332d3a9bca00a86ccd6010
2018-05-30 08:13:39 +00:00
David Ames 088f87956c Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I8dc595e95ef57f971b59e0b278374e5823827ff6
2017-04-28 08:41:42 -07:00
Ryan Beisner 48ad1dbba7 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-*, dev-* and dfs-*
naming standards.

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

Change-Id: Id617a634f7d12e8acab07ee121f9fd38b8380c17
2016-07-19 03:31:58 +00:00
James Page 0254587408 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: I0431192e165353aa2fd414f06afaf6ce132f9970
2016-03-23 09:30:16 +00:00
James Page 04f98a687a Add tox support 2015-11-02 09:42:43 +00:00