Commit Graph

21 Commits

Author SHA1 Message Date
Corey Bryant dd8c4453b2 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: I236864fef58fb9b69a5298643a5c095fbfe2ca8e
2023-03-07 20:31:30 +00:00
Liam Young cc22020900 Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I33c43ac69cc0ea3899a3f49ac83dcb58ed059317
2023-01-16 18:03:08 +00:00
Corey Bryant 448daa6fdf 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: I2cb698f719106e54b06009f24ea47259419e9cad
2022-08-26 18:40:42 +00:00
Felipe Reyes a4ee714eb7 Pin tempest for python<3.8
Change-Id: Icafb620026f92017d18b0447a7ad0de3f7763f2c
2022-06-03 11:21:59 -04:00
Hervé Beraud 9da66b4cc5 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: I718a003c5f07e390457bc39e69871c7ecb533e7b
2021-12-15 14:33:48 +00:00
Bartlomiej Poniecki-Klotz 18a9ac1171 hide-create-volume config added
The configuration option hide-create-volume was added and is passed into the horizon configuration as hide_create_volume.

Closes-Bug: #1939079
Change-Id: I639810d5908cc58f41907f9a3bd66dc78b9517d6
2021-11-16 09:55:37 +00:00
Aurelien Lourot d746d85433 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: Idde242e447572696771a878653165c48fe331c3b
2021-07-22 14:59:41 +02:00
Alex Kavanagh d61d5565df 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: I9aa16faa10b525ddab509752bdc08b3b72c47a68
2021-05-03 16:09:50 +01:00
Alex Kavanagh 9c21a1b41a 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: I2a64ef1ea1545601edb106a22c954467105dec24
2021-04-03 20:32:28 +01:00
Alex Kavanagh 9ca4b4db54 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: I16d8ea53e0a6a2c19c2cbec5e17416826025d38d
2021-01-15 15:14:44 +00:00
Aurelien Lourot b24a6cfe0d 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: I18218c7defce80ee695b72318ce2ec04e7e37588
2020-12-11 14:02:19 +01:00
Alex Kavanagh 5dd04dac31 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: I179fd55a49bf07515e4fad64dd0a4719b58ac4ca
2020-09-27 19:45:00 +01:00
Alex Kavanagh 830c3b2dd2 Implement zaza tests for openstack-dashboard charm
This patchset removes the amulet tests and ports them to using the zaza
framework.

This patcheset is dependent on PR#104 [1] to be able to merged.

[1]: https://github.com/openstack-charmers/zaza-openstack-tests/pull/104

Change-Id: I1af134a3d7346af77584949722ca23ff65107502
Closes-Bug: #1828424
2019-10-24 12:50:05 +01:00
Corey Bryant fec0eeb2b7 Remove neutron-lbaas-dashboard for train and above
The python3-neutron-lbaas-dashboard no longer exists as of
Train. Remove it in favor of the octavia-dashboard subordinate
charm.

This patch also keeps python-cinderclient at a version
that includes v1.client for testing.

Change-Id: Ic8694cd8604aff8be392a31feeccb7fea55d0e41
2019-09-16 13:28:22 +00:00
Pete Vander Giessen 0599bdd433 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

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

Change-Id: I304d555dcbd86c75b8d84cb376ff4112bfbe0d68
2018-10-03 13:11:28 -05:00
Alex Kavanagh eca37a1dad Update charm to PY3 only code
This change upgrades the charm to PY3 only mode.
Note the changes to charm-helpers has also been made to support
Apache auditing code in PY3.

Change-Id: Idd347de5818ec57cb05f38170fe0d6536157a0da
2018-10-02 12:11:08 +01:00
David Ames 1cdefcb5e9 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: Ie3906e813dd4533ab270a1d4edc5602c58eb2cb5
2017-04-28 08:42:59 -07:00
Ryan Beisner 6b96a47bad 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: I649729447605b38a257c403dceb6c6a8dfe9f582
2016-07-19 03:38:49 +00:00
James Page 76557e9f5d 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: I12452beda5879dcc6f4cde922d640d0c987bb8c1
2016-03-23 09:30:17 +00:00
James Page 84cc8ecba9 Add tox support 2016-02-15 22:14:49 +00:00