Commit Graph

25 Commits

Author SHA1 Message Date
Corey Bryant bc9c435dbc 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: I3840ac8ad4fd20978cf12e4a64fb4cf3fbc7f954
2023-03-07 20:07:26 +00:00
Liam Young fbedaf36bd Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: If694d62772142e180a767a84ca2c0810a5a42e43
2023-01-16 10:28:22 +00:00
Corey Bryant 021c4256a7 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:33 +00:00
Hervé Beraud 4c7ebb7cf9 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: I3286f03d977e6f602f0f50dac0646534d1d6f305
2021-12-15 10:22:40 +00:00
Corey Bryant 7704576a46 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: I8226658c97575e3a0ccf0989a2690716afb2ac5e
2021-11-09 10:27:03 -05:00
Aurelien Lourot 801a9a1888 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: Ia4c682988ae9200b864fb75ad60899cdddb188c1
2021-07-22 14:54:08 +02:00
Alex Kavanagh 72cd002dd5 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: Ia9a2f970c181138a251da3dc53db6fba1122e5eb
2021-05-03 16:04:34 +01:00
Alex Kavanagh 23e28db91f 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: Ic820ea4ac8daaf5f7155f7c74e352f6cf210ddbc
2021-04-03 20:24:40 +01:00
Alex Kavanagh bd40cf2d9a 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()

Change-Id: Ie7d5df9d44f687303898d2568205285e645a6fcd
2021-01-20 11:45:49 +00:00
Aurelien Lourot fc70c18307 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: I9cf280ab4044b6c9162d93b51b0257222164f1ac
2020-12-11 13:55:56 +01:00
Alex Kavanagh c7e104257f 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: I2b5a414b7eddc8654314d37631175510e4f17aab
2020-09-28 21:49:21 +01:00
Frode Nordahl 8f3dfb184b
Add Ceph BlueStore Compression support
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/398
Change-Id: I997bb15c692c442db2db79d96882a2204186dbe1
2020-09-15 08:35:43 +02:00
Zuul 40fa7e1469 Merge "Unpin flake8, fix lint" 2020-09-07 14:39:39 +00:00
Liam Young 99baa4ad00 Add test using erasure coded pools
Change-Id: I6b953ceff5f681ecd0aa75faded3e3d1c8c6647b
2020-09-01 14:14:21 +00:00
Frode Nordahl 65d66ecb58
Unpin flake8, fix lint
Change-Id: Id899936da7721fcc359e63db455a5349603fe559
2020-08-28 16:11:18 +02:00
Liam Young 1968c09af4 Run tempest smoke during charm smoke test
Closes-Bug: #1881140
Change-Id: Id380c052fbf7f23bd3b1c0826f953eeacd97b6fd
2020-08-27 18:12:07 +00:00
Ryan Beisner a018795929
Sync charm/ceph helpers, tox, and requirements
Change-Id: I798c3a2ecd7ef34951eea4f1e2c0f3adc31aa83d
2019-09-30 22:10:03 -05:00
Joe Guo 35beb586da Migrate functional tests from Amulet to Zaza
Migrate glance tests from Amulet to Zaza, which is Python3 only.

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

Partial-Bug: 1828424

Change-Id: I053a056d8e2a79ed22ea8a976a8f378994b1e8eb
Signed-off-by: Joe Guo <guoqiao@gmail.com>
2019-09-10 14:48:18 +12:00
Pete Vander Giessen 733b901467 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: I354d5729a267721c347bf44db55d3d18c9931e7e
2019-03-07 17:11:15 -05:00
Ryan Beisner 0720f3bc3a Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I949555f44d970fbf82b9464be75ff3e88835a31c
2018-10-03 11:41:04 -05:00
Liam Young 19aaffaa81 Update to run under Python 3
Updating charm to support execution under Python 3.

Change-Id: I1429d1c6b634959e0062a8e9f4bc615c58bf31e0
2018-08-01 14:11:56 +02:00
David Ames 124b5ab5a0 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I81f12128573132a83d98d7fba7038447c73c1bbd
2017-04-28 07:55:13 -07:00
Ryan Beisner 0b58504e87 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: I1ee38355112d8c5062340546bd01b1cce6593a3f
2016-07-19 03:39:17 +00:00
James Page 1934c18b3a 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: I134573c5a99f8c1f8ef3fdf08fce838c53a6464c
2016-03-23 09:30:17 +00:00
James Page 6a31d59482 [trivial] Normalize tox config 2016-02-18 10:16:25 +00:00