Commit Graph

20 Commits

Author SHA1 Message Date
Corey Bryant 36e29d6d8b 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: I884e0f8fa0602fb9b9ab79157619f4cd18191b79
2023-03-07 20:34:31 +00:00
Liam Young 308a4be3fc Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: Ieb47092784cadd4cd09b7aff959471d244704811
2023-01-16 16:12:24 +00:00
Corey Bryant abbae65b13 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: Iff2f3d0e011b47d895136ab7376f0e7d9c3955fb
2022-08-26 18:40:34 +00:00
Alex Kavanagh ab9bf0b411 Pin tempest for different python versions
Change-Id: Ieb37203654a707f8c719d8ee44c7e052e92e9d50
2022-07-11 12:35:16 +01:00
Hervé Beraud e80b2b6b2b 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: I57ef29855eefd0f8dc40cc427eb9bfc8796032e3
2021-12-15 10:22:52 +00:00
Corey Bryant b9bfe131d7 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: Icd1043fb0841908caeba593be2dbd07597fccb8b
2021-11-09 10:27:03 -05:00
Aurelien Lourot 02ff4a0438 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: I64cde3e5338c6f47736afb9b5cfff78668c772dd
2021-07-22 14:54:17 +02:00
Alex Kavanagh 7dd5035ae1 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: I99fbbf9010f40b77054192e5718c983449c4c71d
2021-05-03 16:04:42 +01:00
Alex Kavanagh a40612e033 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: I41cb22762cad421770ed7f9256ffa9e95d87c8f5
2021-04-03 20:24:54 +01:00
Alex Kavanagh a8405ab0b0 Updates for testing period for 20.01 release
Includes updates to charmhelpers/charms.openstack for cert_utils
and unit-get for the install hook error on Juju 2.9

* 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
* Include fix for local_address() and NoBindingError

Change-Id: Idcc87ea634901f9199307c0b8279c3d18383dae0
2021-01-26 15:27:51 +00:00
Aurelien Lourot 6b84669d87 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: If90f5bc7cb4b6fd2670fdf41dfad61e5b390e1e4
2020-12-11 13:56:04 +01:00
Alex Kavanagh f9066d3356 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: I599652b5a0c2ec9c0d7d1d31a0d3ead575088c26
2020-09-26 18:32:51 +01:00
Alex Kavanagh 7c27ca366d 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
- Fix style error due to W503

Change-Id: I44e4f9d41433f23f71684e10e28fd5b01d8fa5f1
2020-07-28 10:35:02 +01:00
James Page 878f88f3cc Misc tidy up for flake8 upgrade
Remove the upper bounds on flake8 for compatibility with
Ubuntu Focal.

Misc tidy of new lint as a result.

Change-Id: Ib6fb7955b4990e83634aae190145d8c463b6e226
2020-06-03 12:02:17 +01:00
Ryan Beisner 38fe36568f
Sync charm/ceph helpers, tox, and requirements
Change-Id: I94fece65ef9f5954d46ff06a7829ab71c1390551
2019-09-30 22:10:06 -05:00
Joe Guo 660ce5b021 Migrate from Amulet to Zaza
This patch migrate tests from Amulet to Zaza, and Python3 only.

SSL is enabled for all bundles with charm-vault, except trusty, which is
not supported by vault.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/55

Partial-Bug: 1828424

Change-Id: I4dacf33d3ab4dedbbe62a36b1b2ce5606e51d234
Signed-off-by: Joe Guo <guoqiao@gmail.com>
2019-09-12 22:41:32 +12:00
Pete Vander Giessen a1ac01b9ed Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: Ibfaea423d6e267ac95c6f4d91aba324e9e2cf3d8
2019-03-07 17:11:21 -05:00
Ryan Beisner 59bd350a69 Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I86e33814f54debc54b5a29423badbfec19002f4b
2018-10-03 11:41:11 -05:00
Ryan Beisner 718676787a Update tox, requirements, add initial func tests framework 2018-04-06 22:06:49 +00:00
James Page 6cc0f9dc88 Initial baseline from bzr 2017-04-10 09:00:27 +01:00