Commit Graph

13 Commits

Author SHA1 Message Date
Luciano Lo Giudice d448514464 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
* fix poetry-core addition in wheelhouse

Change-Id: Ia2ad44152cf620e9812bfbd58276735a7491949c
2023-06-02 17:59:05 -03:00
Alex Kavanagh 418bd85392 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

This change also switches away from directory backed OSD devices
in the test bundles, as they are not supported anymore.

Change-Id: I57d1b47afbbeef211bb777fdbd0b4a091a021c19
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-04-12 12:05:59 +02:00
Hervé Beraud a0781dafff 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: I6cf34358b919d4ab568a329395207676bd2e531d
2021-12-15 11:02:05 +00:00
Corey Bryant 60e243dbf0 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: I3d5670334344384fb8be5855926f2c9441f793ba
2021-11-12 11:13:56 -05:00
Aurelien Lourot c1eac8ea68 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: I3e5148aabf2dbeb71b94de9c63d0d8ada29293fc
2021-07-22 14:52:53 +02:00
Alex Kavanagh 3fd0c78116 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: If26550f2a6aca4f2e7b8a532e924f640d967950f
2021-05-03 16:03:39 +01:00
Alex Kavanagh 34cc9fb9a4 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: I388df195df1294f0fc92bcf06e49e1a207fc6510
2021-04-03 20:22:50 +01:00
Alex Kavanagh f64dd67c1b 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: If51c83b121eb90308d2e87ca06c73f826a5ce359
2021-01-15 15:27:58 +00:00
Aurelien Lourot 3b1527df25 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: I45ff5385a905bd5f6aa635d0920de5326abb7b24
2020-12-11 13:54:44 +01:00
Alex Kavanagh 8832c7432e 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

Add master branch charm-helpers to wheelhouse.txt to support bluestore
changes in charms.openstack.

Change-Id: I1cb0d616a3d3033d6948677326062e0eb785c2a0
2020-10-06 19:05:02 +01:00
Ryan Beisner e69801f93b
Sync charm/ceph helpers, tox, and requirements
Change-Id: I287caaa68bc4321767217b83b0696a4f5a10e766
2019-09-30 20:59:14 -05:00
Frode Nordahl a17c896c29
Add gate jobs
Fix a few discrepancies discovered during unit testing.

Add missing unit tests.

Add end to end functional test bundle.

Change-Id: Ic05c72f9e684f615b60a3975779e76526a0c9c64
2019-03-05 12:34:18 +01:00
Frode Nordahl 5537237ea7
Initial commit of charm skeleton 2019-01-10 16:11:41 +01:00