Commit Graph

24 Commits

Author SHA1 Message Date
Corey Bryant dc7ecbc6ec 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: I6795ce22f1330309771f4d8d43cee255e27c2a10
2023-03-07 20:28:58 +00:00
Corey Bryant d031a489a7 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: I506c53b4956024066bc769665525cb022438a0ae
2022-08-31 20:27:43 +01:00
Alex Kavanagh 960520b199 Pin tempest for different python versions
Change-Id: I236ed757a93c7f3bb1942eb16ed859999f8fd318
2022-07-25 08:41:52 +00:00
Hervé Beraud ba8a4f71f7 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: Ibefa1987730d29c04beb41f6e129e47f5524d49a
2021-12-15 14:25:30 +00:00
Corey Bryant 80e0b1f8b1 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 trusty, xenial, and groovy metadata and tests

Change-Id: I212fd1f38c84ef11350209ad16b212020d005518
2021-11-12 11:18:58 -05:00
Aurelien Lourot 50ca3cc76c 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: I7613f4296a86c7889bdad41a68868117b4d93fdb
2021-07-22 14:59:02 +02:00
Alex Kavanagh c22787d88f 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: I453eafd76c005cd5f10041c08e4a943fe235d474
2021-05-03 16:09:13 +01:00
Alex Kavanagh 557b63b33e 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: I14762601bb124cfb03bd3f427fa4b1243ed2377b
2021-04-03 20:31:35 +01:00
Aurelien Lourot afdf2329d1 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
https://github.com/openstack-charmers/release-tools/pull/127
https://github.com/openstack-charmers/release-tools/pull/129

Change-Id: I784af3e2c2d61f40926a83bfa8dbacbc74a31d61
2020-12-15 10:53:05 +01:00
Alex Kavanagh 1643979f79 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: I79af80dd7a0faa9175c9dca1fac669f8c187e3f5
2020-09-26 18:37:33 +01:00
James Page 94862373d4 Lift flake8 upper bound
Ensure pep8 target can be run on >= Ubuntu 20.04.

Add W504 to list of permitted warnings.

Change-Id: I4de563dd292c86378b26d46922d1e83805b1fabd
2020-08-06 06:02:09 +01:00
Alex Kavanagh 7dea8da5fb 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: I4f550537dd4c10719c0ea8a269e59d59e5634f15
2020-07-27 20:57:04 +01:00
James Page 747fa2d68d Misc fixes for charm infra
Update pydev project definition to use python 3.

Drop upper bound on flake8.

Tidy misc lint across codebase with newer flake8.

Change-Id: I9637ac603cb3801c9e3ffa8c2b0897968d42ada5
2020-05-26 09:38:07 +01:00
Sahid Orentino Ferdjaoui 8490919e2f Migrate functional tests from amulet to zaza
Change-Id: I339748e528ac57879ae2210f8f1e196fd04093dc
Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/229
Closes-Bug: 1828424
2020-04-14 14:56:29 +02:00
Frode Nordahl c6455cc955
Use FQDN when registering agents with Nova
The change of behaviour will only have affect on newly installed
deployments on OpenStack Train and onwards.

Also set upper constraint for ``python-cinderclient`` in the
functional test requirements as it relies on the v1 client
which has been removed.  We will not fix this in Amulet, charm
pending migration to the Zaza framework.

Change-Id: Ia73ed6b76fc7f18014d4fa913397cc069e51ff07
Depends-On: Iee73164358745628a4b8658614608bc872771fd1
Closes-Bug: #1839300
2019-09-20 12:01:03 +02:00
James Page e6c592ebfe Switch to stestr for unit execution
Change-Id: Idf6554ce483e9172d5f334a39a6e5251da12f27c
2019-03-06 17:19:20 +00:00
Ryan Beisner 4b3aa9732d Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I2bfad541c96b942f0fd44171d8dd2e46b617d8c1
2018-10-03 13:10:59 -05:00
Author Name b24555e224 Update to run under Python 3
Updating charm to support execution under Python 3.

Change-Id: I9013860b5eefef05bee5b473e30217229fb6a739
2017-11-20 11:04:26 +00:00
David Ames 2790f81ecd Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: Idcb2d6c5576fc7bd286760ed6965ab5c2eea9bdd
2017-04-28 08:42:50 -07:00
David Ames 01795a4ff4 Ocata fixes for nova-compute
Disable deprecated nova-network in ocata
libvirtd vs libvirt-bin
Amulet test fixes and enable xenial-ocata target

Change-Id: Ie08fcd333515669a2b6cdb722f2eb0ac75ee35ea
2017-03-02 13:30:09 -08:00
James Page 390b7aa445 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-* and dfs-* naming standards.

Update README to refer to functional testing section of the charm
guide.

Change-Id: I60befab62843fa439a6a1fc897851091e4d47d49
2016-07-19 09:44:36 +01:00
James Page 63513d0cb1 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: I35697797e797ef504ea2f7c86185e98abb935c63
2016-03-23 09:30:17 +00:00
James Page 5b95fe369a Align requirements with upstream OpenStack as part of migration 2015-10-30 15:00:35 +09:00
James Page 16a03869c0 Add tox support 2015-10-30 14:49:18 +09:00