Commit Graph

16 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
Chris MacNaughton f5965a81bd Bypass charm going into blocked due to a bug
After Octopus, the reporting about image states fails because of a
permission issue in Ceph. This change disables that status reporting
to allow a deployment to be healthy even when some tools cannot query
status.

Also modernize build and func testing: remove python 3.9 and xena from
tests

Related-Bug: #1879749
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1063
Change-Id: Id86fc043495b89609cf6873ec58aee1e2e388578
2023-06-02 10:49:27 +02: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
Corey Bryant 356ad6d541 Switch to yoga unit jobs and add py39
Change-Id: I94a2ecc844a5aff7b4bc40dc62699b5098618f92
2021-11-17 14:46:23 -05: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 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 1242bafaf6 Updates to pin charm-tools to 2.8.3
* Update requirements.txt to pin charm-tools to 2.8.3
* Update tox.ini to change the build parameters.
* This upgrades from <2.7 which adds reproducible charms
* Bug was fixed that controlled the default output directory
  doesn't get 'builds' appended.  The tox change puts it
  back so that stable & master both build to the same
  directory.  This may be reviewed in the future.

Change-Id: If47116b4cd9ef9b857ad1c9366631ba1b0562ce2
2021-02-17 12:08:41 +00: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
Alex Kavanagh d7bec5f8b8 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: I6147ebe469e3227f4d5b59374ab0262255b17a79
2020-07-27 20:50:32 +01:00
Ryan Beisner e69801f93b
Sync charm/ceph helpers, tox, and requirements
Change-Id: I287caaa68bc4321767217b83b0696a4f5a10e766
2019-09-30 20:59:14 -05:00
Camille Rodriguez 3cf47a12f5 Add disco-stein bundle to gate tests
This project already had the disco-stein gate test, but since this
change is part of a batch change, I had keeping the same title.
Changes:
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: I477d789cca10e9b714771c1419fe355bf44e4b6a
2019-08-26 16:53:35 -04:00
Corey Bryant 79774c3905 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Note that python35-charm-jobs is retained since this charm is supported
on Xenial.

Change-Id: I92c63ab07a70fb0fa7e7788b1226866a8b228ec9
Story: #2005924
Task: #34228
2019-07-30 10:20:10 -04: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 ededdceecc
Use `ceph-rbd-mirror` interface, move boilerplate upstream
Make use of newly created `ceph` layer and `CephCharm` class
added to `charms.openstack`.
2019-02-06 08:00:12 +01:00
Frode Nordahl 5537237ea7
Initial commit of charm skeleton 2019-01-10 16:11:41 +01:00