Commit Graph

23 Commits

Author SHA1 Message Date
Corey Bryant 558a95df94 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: Ibceaa9d30d3d4a9a4e67fe5e45446b94f1d2e064
2023-03-08 13:22:36 +00:00
Liam Young 795b91ed29 Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I5555e7d3fd49ed3440a11c632f34323bd820b302
2023-01-16 18:05:06 +00:00
Corey Bryant 0eeb90b755 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: I782ea5c502b7bc0eb9941c7eb8d4b830f07b218a
2022-08-26 18:40:31 +00:00
Alex Kavanagh 5f86b1cb19 Update to classic charms to build using charmcraft in CI
This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests.  This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.

Change-Id: I8a57a9ae84668d67dd29dd819152716b366461a4
2022-02-17 12:30:07 -05:00
Corey Bryant 85b46bb1b6 Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* sync from release-tools
* switch to release-specific zosci functional tests
* run focal-ussuri as smoke tests
* remove trusty, xenial, and groovy metadata/tests
* drop py35 and add py39

Change-Id: I315a7941cd6c5eaea698657af122adb221f5647f
2021-11-17 13:49:42 -05:00
Aurelien Lourot c1835063b5 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: I8073fcd19b850a66e8a855b86614773e089fd017
2021-07-22 14:53:30 +02:00
Alex Kavanagh 9d959b54ec 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: Ic5760af94bbc62f33ac5202711857b8a65f2600f
2021-05-03 16:04:07 +01:00
Alex Kavanagh e9acf917dd 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: If7594a71715a0c8ea268ceb9a576f54d85c8200c
2021-04-03 20:23:45 +01:00
Alex Kavanagh 9261c6c6be 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: I20570a90789e3d36339aa0bd4305e32af1226dfc
2021-01-14 13:24:28 +00:00
Aurelien Lourot 5d49a71fab 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: I8b4cc2a642d2c11e9d04073a7f380a56ad3daa99
2020-12-11 13:55:27 +01:00
Alex Kavanagh fd20c1eb70 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: Ibd20dd33b17a348a7a8aeae93f119fc47a56eb9e
2020-09-26 18:31:49 +01:00
Frode Nordahl 86986d13ce
Add BlueStore Compression support
Unpin flake8

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/398
Change-Id: I19de6b53a8f6c8f6492f5acccc3ea8d8a14cc4d9
2020-09-17 12:34:26 +02:00
Alex Kavanagh 30c5b684d2 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: I7ccbf8bdb825406a7a49a6844764b8a49c5c84a8
2020-07-27 20:51:22 +01:00
Hervé Beraud 455cc94d0f 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.

Change-Id: I7e645c6fcc302ed152c57e997c32ebe658e4d0bd
2020-06-08 22:37:47 +02:00
James Page f200d8dff5 Require relation to nova-compute application
Without a relation to at least one nova-compute application a
cinder-ceph backend will not be functional as the libvirt
secrets will not have been created to allow access to the
ceph cluster from libvirt/qemu.

Add a simple context to check that the 'ceph-access' relation
is present.  This will result in a blocked status if the
relation is not detected - for example:

  Missing relations: nova-compute

Change-Id: Iedbf4aafc2348cbf6f14257417e86aa9aeb48a81
Closes-Bug: 1718051
2020-05-28 06:46:39 +01:00
Ryan Beisner c0f870c4ff Move charm tests to zaza
Use the same assertions as the cinder charm. Also port the 499 original
test, which is in the associated depends in zaza-openstack-tests.

Change-Id: I86f2ab205d0f082dd6b185ccbfa314bccf4e5bfb
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/246
Closes-Bug: #1828424
2020-05-20 09:47:32 +01:00
Ryan Beisner bb0c9725a7
Sync charm/ceph helpers, tox, and requirements
Change-Id: I76d6a3b018dba414667bc585b67bece1e1f54d6f
2019-09-30 22:41:38 -05:00
Pete Vander Giessen 62ef2303ca Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: I54762881d7356e3ded38a11f00600e3ded6acf7a
2019-03-07 17:10:57 -05:00
Ryan Beisner c8fcfd37d2 Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

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

Change-Id: I4ddc4d75eb86210abb073a92d8ed217a3f39fa55
2017-04-28 08:42:11 -07:00
Ryan Beisner 695848f0ba 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.

Also remove brittle auth conf checks which are failing at
cinder-ceph master. Even without those explicit checks, if auth
fails, functional tests will still fail and block.

Change-Id: I91e638f98f70c7098f089c7e60c1181632b39222
2016-07-20 03:34:22 +00:00
James Page 92f69b1444 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: I9ffc23d111d35833dc44fc33a27111bed55b6577
2016-03-23 09:30:16 +00:00
James Page 2fb135098d Add tox support 2015-11-03 14:16:36 +00:00