Commit Graph

21 Commits

Author SHA1 Message Date
Corey Bryant 14f6801933 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: I57e1fec8537d95b1035aa809ab30378fb44973da
2023-03-07 20:07:52 +00:00
Liam Young dd8a9aae8a Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: Id697fb2ae78af9c4e111d419b88ada2c98134f80
2023-01-16 13:40:03 +00:00
Corey Bryant cdc2fc738f 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: Ie133bc41bf789e07d4d777e128617b21d822de30
2022-08-26 18:40:29 +00:00
Hervé Beraud 77fdcf3e27 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: I538b5c2a9df4de66c9874e65247496e54c0522e8
2021-12-15 10:56:43 +00:00
Corey Bryant dcbce12bef 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: If7019d54b67c10407c0db5fac098aa9cee993f1c
2021-11-19 08:25:29 -05:00
Aurelien Lourot 24d1ccb204 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: I1fae5202c2730af91071092c7a32d70a157bb842
2021-07-22 14:53:03 +02:00
Alex Kavanagh 797fee19a3 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: Ib60368dca3a37a5e48cef6ce1a4015861d128bf5
2021-05-03 16:03:46 +01:00
Alex Kavanagh a95f4fa83f 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: I3741b0cabb03c39a950f1d807f7ff89b2855b5a3
2021-04-03 20:23:04 +01:00
Alex Kavanagh 14e29e8d89 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
* Replace unit-get mock with local_address due to c-h sync changes.

Change-Id: Iec48d0ee3f8bc8f26939c8562fd93a98db06670a
2021-01-18 19:59:02 +00:00
Aurelien Lourot a79ed0ccd3 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: Ie522cb20b0ea308de9783dd9b7e0750f4aba3072
2020-12-11 13:54:56 +01:00
Alex Kavanagh 5a3bea35c4 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: I6027b4bb12dce36a7b10df2e14cafd5dc6ee963b
2020-09-28 13:07:05 +01:00
Ryan Beisner cbff05ee1a
Sync charm/ceph helpers, tox, and requirements
Change-Id: Ia983450e480ab6811a67034e5503ef3a476b6cbb
2019-09-30 22:09:55 -05:00
Chris MacNaughton b0c758a466 Sync charm-helpers
Change-Id: Iaf76a655e96386608f01d7eba2281ac94d1e85b8
2019-07-16 07:06:03 +00:00
Liam Young 691bb92310 Switch to using zaza for functional tests
Change-Id: I21c472b579e865078eb58d1576f4c3c3ec845903
2019-05-24 06:00:09 +00:00
Pete Vander Giessen 04a0febd79 Switched from ostestr -> stestr for tests.
Fixes breackage in python3.5 due to underlying system upgrade.

Change-Id: I36b5fb637b7daee782a54b02da676cf75ea19e8f
2019-03-06 15:01:28 -05:00
Ryan Beisner bca33c0f9f Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I4898218e3d8647d174ceff7212de798450790eb8
2018-10-03 11:40:40 -05:00
Frode Nordahl e373d9ea13
Freeze cmd2 library temporarilly
In need of landing changes before release and the upstream gate is
wedged at the moment.

Root of the issue is a release blunder by a upstream dependency:
https://github.com/python-cmd2/cmd2/issues/421

Upstream has made the same change to global requirements here:
https://review.openstack.org/#/c/570811

We can remove this again as soon as changes propagate out to all
dependencies.

Change-Id: Ib002d4534150c9c2aba025decfd0faef77f71297
2018-05-30 08:56:28 +02:00
David Ames 03283c4a20 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I931fe3cf63b5bdf1ecb62c6f41a7d83bd1560350
2017-04-28 08:42:06 -07:00
Ryan Beisner e6100d9dd5 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: I6d9582386b77cae8a00726760dc7cead85af7527
2016-07-19 03:39:41 +00:00
James Page 78d86b9b0e 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: Ib0f6c7400b443413bbf857ad087d16f7ac4c81b1
2016-03-23 09:30:16 +00:00
James Page ed7cb41f7a Add missing files, lint actions 2015-11-03 11:00:36 +00:00