Commit Graph

21 Commits

Author SHA1 Message Date
Alex Kavanagh 23da3d2257 Revert "Add Kinetic and Zed support"
This reverts commit 527261db5c.

Reason for revert: I'm not sure that this should have been merged; it removes support for focal, and that's needed on the 2.4 branch; thus this couldn't be a clean cherry-pick to the stable/jammy branch.

Change-Id: I5b53d552961d39bda91ef97f425123c1bab7e349
2022-08-31 11:40:07 +00:00
Corey Bryant 527261db5c 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: I1a250a0591c15971840bbd6130c7cff3822eed4f
2022-08-26 18:40:35 +00:00
Robert Gildein 920d0ab927 Switch to render from charmhelpers
- add contrib/templating
- using render instead of render_template
- remove render_template function

Change-Id: I395d7dc06618998b9e6023ff649f4aa8c5930cc0
2022-06-01 16:16:17 +02:00
Alex Kavanagh ecceb52f33 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: I4ebaac856ddda643804454288961924c1c256aa9
2022-02-15 16:20:13 +00:00
Hervé Beraud e195794f39 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: I631d32e1a330bcd17b53ee873833e8434023958f
2021-12-15 10:32:40 +00:00
Zuul 435bb56347 Merge "Add yoga bundles and release-tool syncs" 2021-11-11 09:11:34 +00:00
Corey Bryant cc493c3ff5 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: I7cce3b8034bcc118cb0765cfb00c050e9c55f847
2021-11-09 10:27:03 -05:00
Rodrigo Barbieri 8fcf7624d9 Fix py35 job
Adding and pinning cffi

Change-Id: Ic6bdb71bdb367de28ffddcae5797ba556971ab25
2021-11-01 14:13:01 -03:00
Aurelien Lourot f5cf525377 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: Ic42a655ccf68ff5b9af92ee4f31bfa7e98e661f2
2021-07-22 14:54:36 +02:00
Alex Kavanagh 8a3a725029 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: I1e875533a5254924844aa3f47e89f1cdf8808671
2021-05-03 16:05:00 +01:00
Alex Kavanagh a157419767 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: I509a9060f9c0fde133731e4dd2712fd30a672bcb
2021-04-06 11:14:01 -07:00
Aurelien Lourot a482fd2263 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: I252a9ab7a8c3220d414deb3765bec26378bd58df
2020-12-15 10:58:22 +01:00
Alex Kavanagh b8c9fc66b4 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: I7c643447959cfd82234653fdbd2bab1c0594469c
2020-09-28 10:22:11 +01:00
Aurelien Lourot 4acb2d59f4 Fix installing dnspython on python 3.5
https://github.com/openstack-charmers/release-tools/pull/100

Change-Id: Idffa15f7fddb0843649c5b83637fec019c2bd9a5
Closes-Bug: #1888225
2020-07-20 16:12:38 +02:00
Xiyue Wang df5f114ae1 Port hacluster tests from Amulet to Zaza
Closes-Bug: #1828424
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/148

Signed-off-by: Xiyue Wang <celia.wang@canonical.com>

Change-Id: I0c0447680f89e2378f9bca3b8322a9bfa50ffd46
2019-12-19 02:54:10 +00:00
Ryan Beisner 6ed2bb0943
Standardize auxiliary file location across os-charms
Change-Id: Ifaa5453bc0703c77184184e05c53d21649f6b92e
Closes-Bug: #1843826
2019-09-12 15:51:49 -05:00
Pete Vander Giessen 6f3d0d39a6 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

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

Change-Id: I9aafb4f4fb5ca4b6b04294e69405202a412d056d
2018-10-03 11:41:20 -05:00
David Ames 3101266105 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: Ibe6fffd7f615e43342b73258bde870dee9dcc5ad
2017-05-05 15:31:42 +00:00
Ryan Beisner f313da0507 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.

Also enable Trusty-Mitaka and Xenial-Mitaka Amulet test
targets.

Change-Id: I7d3a5d1ced6410e98a5b134c9cd7c02f0ba21708
2016-07-21 20:26:01 +00:00
Liam Young f4b4fd658e Add tox and testr config and fix apt_pkg error exposed by tox unit_test run 2016-05-24 15:50:48 +00:00