Commit Graph

14 Commits

Author SHA1 Message Date
Corey Bryant 901afa5de4 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: I3cc0af8443ecf62589c88d4e924cb633c419e87f
2022-08-31 20:14:28 +01:00
Alex Kavanagh c7aa6e1aeb Update to build using charmcraft
Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft.  Changes:

- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
    -> indicate build with charmcraft
- modify tox.ini
    -> tox -e build does charmcraft build/rename
    -> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
  and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI

Change-Id: I05dbf9cbfd3132b1970ca9cd9de111d6879f1582
2022-02-01 20:29:36 +00:00
Hervé Beraud ab1d7e94a1 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: I609298d09de3806636b8a157f4ef81c1ab567bf7
2021-12-15 09:35:05 +00:00
Corey Bryant 8f961493e3 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
* add nrpe to bundles

Change-Id: I184e4696336378f8e2b02ff6ce8800c224249e47
Closes-Bug: #1925977
2021-11-29 12:45:01 -05:00
Aurelien Lourot 85fc22d2e6 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: Ic5f2a60b17e2b160a071bcecf916b9cf3782e547
2021-07-22 14:56:46 +02:00
Alex Kavanagh a8c7b46928 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: I809f8b581a7e86d43acb8115c3d0e609285d9bd8
2021-05-03 16:07:12 +01:00
Alex Kavanagh a177fa4616 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: Ied9b83ce5c57f370bd4d673964dcc433519ea8b3
2021-04-03 20:28:26 +01:00
Alex Kavanagh 27e0ce7b6a Updates for testing period for 20.01 release
* 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: I1024115390e26e4c71d97d8ba37204c530b7b28a
2021-01-12 15:37:49 +00:00
Aurelien Lourot 4a00398dfb 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: I542410e92532ca9fb90ff704890f0677714b1e8e
2020-12-11 13:58:15 +01:00
Alex Kavanagh d3c99b4fef 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: I35226fe655ae0858bda1318cc494c1545b48887a
2020-09-26 18:34:54 +01:00
Alejandro S. Gonzalez 03f69d3e8e Migrate charm-manila-generic tests to Zaza
Change-Id: I9d4be367a09f02c3fac5f123e547229ac8e2ff1a
Closes-Bug: #1828424
2020-06-17 11:26:44 +02:00
Pete Vander Giessen ba9a426f9f Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: I26c2279314cd4e63e9be42f584b1308ae588cc58
2019-03-07 17:12:02 -05:00
Ryan Beisner ff6d707acf Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: Ib4e09f19854cf35492b4c7a84d7f7828c0796174
2018-10-04 10:51:55 -05:00
Alex Kavanagh 9b039d3981 First commit of charm-manila-generic
The generic manila charm provides the generic backend NFS configuration
for the manila file service charm (charm-manila).  This is the first
commit of code, and the CI tests have been disabled to enable it to
land.  This is because of a circular dependency with the manila charm
which requires this charm to be able to configure at least one backend.

This patchset is dependent on the interface-manila-plugin interface and
an updated version of charms.openstack that provides the 'options'
member: these are declared below.

Change-Id: I052f272dcd310091d988afd7104dea68115053ac
Depends-On: Ied0ad014ab7b1d4778113b0d3f2bbae08075372e
Depends-On: If6d103b4f62c95b0fa76562a18e418e0d319e987
2016-12-02 13:50:46 +00:00