Commit Graph

28 Commits

Author SHA1 Message Date
Corey Bryant 645ee87686 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: Iae257f880194aebfd8ba3002b7cf74a84fcfb9c9
2023-03-07 19:07:12 +00:00
Liam Young 5773a13ccb Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I3784e6f54251aa0df58bc3ace0ea5a128ef63166
2023-01-13 14:00:36 +00:00
Corey Bryant 29d03fc673 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: Idf4a6cd1e0888576f890b00aa5b343936900d6dd
2022-08-26 18:40:36 +00:00
Alex Kavanagh ebc532bde3 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: Ia2f3bcba500de242a93d9f0bf073a9c5c3aad89a
2022-02-17 18:22:09 -07:00
Corey Bryant 18afefd965 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: Ie5d197e42c8c1fff5a757400ed3edadb07caaa5f
2021-11-09 10:27:03 -05:00
Nobuto Murata 1653424be2 Cherry-pick test-requirements.txt from stable/21.10 for cffi
Change-Id: I767002d2db51cfd9a763750328ddb5314a6bf464
2021-10-15 10:40:13 +09:00
Aurelien Lourot 78e6d2aea2 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: Ia6a4f8211acdaecc0547ccc2c4a8bdf54d6ad072
2021-07-22 14:55:13 +02:00
Alex Kavanagh 369887ca52 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: I103b7e541f4f6cd75b5336c3ac0d760bca35d9b4
2021-05-03 16:05:37 +01:00
Alex Kavanagh 9d221a54f1 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: Ie9e790547d9ec532677a6d94b0379798e2f09528
2021-04-03 20:26:14 +01:00
Alex Kavanagh 31649bee99 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

* Fixes to unit tests due to removal of unit_get from context.

Change-Id: I83f12c9e010468be34637056e645f2bfc732f2df
2021-01-18 15:23:07 +00:00
Aurelien Lourot 586330d383 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: Iea9437af9792674436d0c404c0e6ad45ccbe56e0
2020-12-11 13:56:50 +01:00
Alex Kavanagh 07212a211b 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: I04b35ca8ba26c04d30a9d017b56cc700365c66a5
2020-09-26 18:33:40 +01:00
Aurelien Lourot f9aa92c7ce Do not leak credentials on leader-set failure
This will also give us more insights into the leader-set failure
happening in the linked bug.

Also updated project files from latest release-tools templates.

Also blacklisted libjuju 2.8.3 which causes spurious
JujuAPIError's.

Change-Id: I51b890098df6d918c1d84adba272559ef45411bb
Partial-Bug: #1890256
2020-09-11 12:23:12 +02:00
Alex Kavanagh 217ac0e4bd 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: If3113f1b09776c5964aba92045d80153e5d0ce45
2020-07-27 20:53:18 +01:00
Frode Nordahl 3765c0b123
Unpin flake8 and fix lint
Change-Id: Iacae0fc791003d7f1730363f10f509434b0e671f
2020-03-10 13:39:41 +01:00
Ryan Beisner 965aa3283e
Sync charm/ceph helpers, tox, and requirements
Change-Id: I6216604292a41c0a65509716d5ead0bb022247d2
2019-09-30 22:10:09 -05:00
Chris MacNaughton c765303a94 Retarget Zaza to master now that split has landed
This change is required as Zaza underwent a split of the openstack
tests from the Zaza project, so we had to track the working branch
until that change landed. As it has landed, it is now time to use
Zaza from master again

Change-Id: I74a7ba7bb75312d2c55eea0434bd7f68007972c4
2019-05-24 08:49:35 +02:00
Chris MacNaughton 7d444d9dd8 Migrate to split zaza - zaza.openstack
This change adds in zaza.openstack, as well as changing the
branch target of zaza to a branch with zaza.openstack
removed, allowing us to validate the new library

Change-Id: Ie6deb30bc01afdc9bddfb91c975d031bfa4b0060
2019-05-09 12:30:14 +02:00
Chris MacNaughton 665ef98ba9 Migrate Zaza tests to independant OpenStack Charms specific library
Change-Id: I19c98b17087b6d1ff86aa749654a13a14e61c951
2019-05-01 17:04:38 +02:00
Chris MacNaughton d1e3a7845d Configure stestr directly
Change-Id: I20ac87956a7d0cdb49012c12a194e0207eb603b9
2019-03-06 16:06:22 +01:00
Paul Goins a24f45e06d Added tox environment for gathering coverage
This technique was borrowed from the tox "cover" environment in
openstack/nova's tox.ini.  This leverages the fact that stestr lets
you override the python executable via the PYTHON environment
variable.  Doing this allows us to easily generate coverage for our
unit tests.

An important caveat is that this does not provide any coverage for
tests via zaza, amulet, etc.  It is purely focused on the unit tests.

Note that this replaces the previous .coveragerc; coverage
configuration is instead pulled from tox.ini.

Change-Id: I20a4f267abb05f2123000518ae9b8ec8d5f0961c
2019-02-26 13:43:18 +01:00
Ryan Beisner 4f99f3d402 Update requirements
Re-enable charm-proof (was lost @ py3 conversion).

Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I23092d7e0ecb5d2d9eeef784317566e05c81015e
2018-10-03 16:23:18 -05:00
Frode Nordahl 3c34a8520a
Switch functional test framework from Amulet to Zaza
Change-Id: Id55bf63cb34b6ccad876ddd47734b959c63ed742
2018-08-21 04:48:44 +02:00
David Ames 8da85834c2 Snap install OpenStack in Charms
Install OpenStack using snaps. By setting openstack-origin to
snap:track/channel or snap:track the charm will use snaps to
install rather than debs. If channel is left off it defaults to
stable. For example: snap:ocata/edge will install the edge version of
Ocata and snap:pike will install the stable version of Pike.

Charm helpers sync for snap related helpers.

Change-Id: I6e3540e4ffe081540404f91061e5c9b7039b3eac
2017-09-28 17:34:11 +00:00
David Ames a7baed8c94 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: Ia86ed2cf9557d9eb11f577d641eb3e6920ff9e3e
2017-04-28 08:42:26 -07:00
James Page 0b47a8c3d1 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: I037529196125e507bb15c1b0a3681a7457a6e8d1
2016-07-18 15:50:32 +01:00
James Page 2d2f8c05f2 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: I565d5c72aa0ea4ed297bcbef00a3bf5e97edcb84
2016-03-23 09:30:17 +00:00
James Page f3dad8630e Add missing files 2015-11-03 11:02:17 +00:00