Commit Graph

22 Commits

Author SHA1 Message Date
Corey Bryant 9af7effd2b 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: I59238c9a3933756755903d0e6718699e6960cc5c
2023-03-07 20:33:02 +00:00
Liam Young 065e1509a3 Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I09fc4c7e30fd4cb41e441adb84420f3bc3dd42ab
2023-01-16 16:12:12 +00:00
Corey Bryant ae164bf542 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: I34ae94970fc5cfd242df5184fba09b611874ee71
2022-08-26 18:40:27 +00:00
Alex Kavanagh 4df5c728c5 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: I76cc7c4c782d60f3558df6b9f96c513eff16331b
2022-02-17 12:30:03 -05:00
Corey Bryant 69e183990a 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: If4892692cda73dacc3b9b430cdaf9c82f814b64a
2021-11-18 09:45:01 -05:00
Aurelien Lourot e7302d9a7c 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: I3b7b6cd8e1eae24c3eb0b8308b82630138434e83
2021-07-22 14:51:56 +02:00
Alex Kavanagh 4c9a29276c 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: I94ac02a2232aaffdbf3a6d2b3ef4fa64074cfa83
2021-05-03 16:02:31 +01:00
Alex Kavanagh ee300fed99 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: If8b18dd3488e2c84ef433fab0b144cfdbb65cd01
2021-04-03 20:21:23 +01:00
Alex Kavanagh a598815583 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

Change-Id: I7e64344f01ebfea2f7d5c4c71053309b0956203a
2021-01-15 16:27:16 +00:00
Aurelien Lourot bb1094e7eb 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: Ie294d559e06f356a9a58c4bdc65d14e1a7c07580
2020-12-11 13:53:40 +01:00
Alex Kavanagh a924a071fd 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: I602a2a9c241de5898f737aacec6f85390d0be4f7
2020-09-27 15:31:34 +01:00
Alex Kavanagh 1f7ddf529f 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: I50e7313db1fa04921ca25ddb191f9d182a7f3da2
2020-07-27 20:49:16 +01:00
Hervé Beraud ecfe23ca66 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: Ibddd954daaf3cd008985ff27cd95dfe649476555
2020-06-09 15:12:56 +02:00
Aurelien Lourot b66f1bbb4a Sync helpers for 20.05
Change-Id: I05439966556978d44eb72f695152e50548f77496
2020-05-18 14:38:20 +02:00
Corey Bryant 72107bc963 Port tests from Amulet to Zaza
Zaza tests can be found here:
https://github.com/openstack-charmers/zaza-openstack-tests/pull/68

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/163
Closes-Bug: #1828424
Change-Id: I1cfebeb15485dd6d92638323d2c9e6bb85f568cb
2020-01-31 18:16:34 +00:00
Ryan Beisner b7526d1b6c
Sync charm/ceph helpers, tox, and requirements
Change-Id: I37e8e54738c66afe66505514ac460d6a7a7c5997
2019-09-30 22:41:30 -05:00
Pete Vander Giessen 07163a4b0d Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: I09a498dc742f5986f16b838d245e23c245bcb0ac
2019-03-07 17:10:15 -05:00
Ryan Beisner 61018ac62a Update requirements
Change-Id: I0fc0fb2025dda3e3201edb650dc8e535a614e286
2018-10-03 11:14:58 -05:00
David Ames 12bd55a008 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I412918c21c8de1afd998c6745ef0ad7b2e057250
2017-05-02 09:01:50 -07:00
Ryan Beisner a222562cd2 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: Ife820a20179d2cad5a8511f23420b38224e61e25
2016-07-19 03:37:59 +00:00
James Page 650dd513a6 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: I986c499d34cbb2dd3362f982f2bae5a05e491ac1
2016-03-23 09:30:16 +00:00
James Page 861de65957 Add tox support 2015-11-02 09:52:06 +00:00