Commit Graph

34 Commits (master)

Author SHA1 Message Date
Corey Bryant 28003a9edd Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to bobcat
* add mantic to metadata series
* align testing with bobcat
* add new bobcat bundles
* add bobcat bundles to tests.yaml
* add bobcat tests to osci.yaml
* update build-on and run-on bases
* drop kinetic
* update charmcraft_channel to 2.x/stable

Change-Id: I72b85509ee7f63535e1c077ffc1bd2d2e8807fcd
2023-08-02 14:23:39 -04:00
Corey Bryant e2a35a6120 Enable jammy-antelope voting and drop kinetic-zed tests
* Voting was turned on for jammy-antelope in the
  project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
  is turned on in individual charms
* Kinetic-zed bundles/tests are removed
* Add libpython3-dev to allow the charm to be built. This
  fixes a missing dependency with Cython
* Use local charm overlay for HA config instead of manually
  managing symlinks.

Change-Id: Iaee9a3792f5ba1b39b1ea030938c84d107d7d227
2023-04-20 16:50:05 +00:00
Corey Bryant d12503bd70 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: I82117a2cbf8bf7145384f3b7255b7b7c6fb15844
2023-03-07 23:58:06 +00:00
Liam Young bf39ed5920 Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: Ic38ec4cabd58985808b645187014bafa6548b908
2023-01-18 17:22:12 +00:00
Felipe Reyes caa2983d30 Update overlay symlinks
Change-Id: Ic743286f6fabf43718f25eccb7da6cf4f28557ea
2022-10-26 23:21:06 -03:00
Corey Bryant 0b34e1b882 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:21:25 +01:00
Liam Young 9fb3530b0c Charm use virtualenv
The charm is polluting the system it is installed on causing
bug #1970230. All reactive charms should use a venv wherever
possible and I belive it is just an oversight that this one
does not.

Closes-Bug: #1970230
Change-Id: I3bb162c5a10735c6c4402069719d13c5c2037bf7
2022-08-15 11:32:23 +00:00
Alex Kavanagh ba217647e1 Add *.charm to gitignore
This patch adds *.charm to the .gitignore to ensure that any built
artifacts are ignored.

Change-Id: I1587c5002506712e80451a6032f1ce6152048e9b
2022-05-09 13:40:13 +00:00
Alex Kavanagh 6b1db26858 Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
- ensure that the openstack-origin is yoga

Change-Id: Ie291a91ae77ea53dad682566c2b5a339b622e16f
2022-04-04 15:51:05 +01:00
Alex Kavanagh bfda49dd38 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: Iafe802bd1b01c0447dd45ed697c0ea3d003218e5
2022-02-23 14:48:48 -05:00
Alex Kavanagh b0ed259784 Migrate charm to charmhub latest/edge track
Change-Id: If6aa71b06752f45a0a2eb44d7335e4ba5e91f1f2
2022-01-27 21:46:07 +00:00
Corey Bryant c69c5a6269 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

Change-Id: I00b04030db38c78f0d69f3dbeb759842bbb57287
2021-11-17 13:53:03 -05:00
Zuul f24e2037c8 Merge "Add xena bundles" 2021-11-03 17:19:33 +00:00
Alex Kavanagh 0acb22c8fe Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- rebuild to pick up charm-helpers changes
- update tox/ to ensure setuptools<50.0.0

Change-Id: I9f991f5ec4452521d7b3b41cd083fa7e9693480f
2021-09-27 15:26:56 +01:00
Aurelien Lourot 620a4eea5e Sync release-tools and fix Zaza expectations
Sync release-tools in order to fix
ResolutionImpossible on tox invocation. See:

Fix Zaza's expected application status after

Change-Id: Iaf9602da779fb8a3c408d97675f6767acc0dff13
2021-09-14 10:15:20 +02:00
Zuul d7b2786d07 Merge "rebuild - restore c-h proxy env vars for add-apt-repository" 2021-06-15 03:02:35 +00:00
Aurelien Lourot c1c163283a Add impish to metadata.yaml
Change-Id: I0ddb7626e061448459790f202578a827ce8d654e
2021-06-03 11:20:01 +02:00
Corey Bryant 721b29fc1e rebuild - restore c-h proxy env vars for add-apt-repository
Change-Id: I6b5f21606965a36f061cf52dbe069a9ad6721642
2021-05-13 09:11:23 -04:00
Alex Kavanagh 864496b2f2 Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.

hisute-wallaby test is disabled (moved to dev) due to [1].


Change-Id: I1f142c3aedb333a4a258be21aad9cb2a44ece46c
2021-05-06 09:54:16 +00:00
Alex Kavanagh 4e0c141e9c 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: I4f72c30fb1afd7c7fb2989c04d9261703e18b941
2021-05-03 16:08:14 +01:00
Alex Kavanagh 49667246db 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: I8404916049b0066d3385a227ac22ffef0ca3377e
2021-04-03 20:29:57 +01:00
Chris MacNaughton b147516b62 Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul

Change-Id: I996496c12e189257a27fdb39dd094ccb0a6df929
2021-03-05 13:49:06 +00:00
Alex Kavanagh 2a9cc0edb3 Add hirsute and remove trusty from metadata.yaml
This update adds the new hirsute Ubuntu release (21.04) and
removes trusty support (14.04 which is EOL at 21.04).

Change-Id: Id18bd920122723bef80ecb53fa3b0cff6eee0eea
2021-03-02 21:00:24 +00:00
Alex Kavanagh 208359a0e6 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: Ia64228afaead625e5f6521a6e4019a771ddd3285
2021-02-17 12:14:49 +00:00
Alex Kavanagh 28ea41f56e Rebuild to use charm-tools pre 2.8 release
Reverting to an earlier version of charm-tools to
resolve some building issues seen with latest 2.8.2

Change-Id: I1e5cc394301c02b77f742d51e24b4b6de197972b
2021-02-02 17:11:05 +00:00
David Ames dd537c42e4 Rebuild with udpated charm-tools 2.8.2
Validate the newest version of charm-tools: 2.8.2

Change-Id: If34068533b990348c0c376f5a0f42d125fcd03b2
2021-02-01 14:10:32 -08:00
Alex Kavanagh 7241c5109b 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

Change-Id: Ia5f8a3b6bb20ef558632327f3ece932839d25fac
2021-01-15 16:32:31 +00:00
Aurelien Lourot 590b1f81f9 Sync release-tools
Sync release-tools boilerplate containing these changes
in order to pin pip < 20.3:

Change-Id: I29989d85f30d873af57d8f6035f214766b43a3b7
2020-12-11 14:00:38 +01:00
Gabriel Adrian Samfira 70c5d772aa Add Zaza functional tests
Also change repo URL in layer.yaml, make linter happy
and add groovy to the metadata.

Change-Id: I09513db77d110fd8acb3bfee7f6d78ae3f053ca3
Co-authored-by: Aurelien Lourot <>
2020-11-09 13:24:05 +01:00
Gabriel Adrian Samfira cc78ad6bba Add README 2020-09-24 14:44:16 +00:00
Gabriel Adrian Samfira 39d9cb5977 Allign project layout with OS reactive charms 2020-09-16 13:04:52 +00:00
Gabriel Adrian Samfira afaa447860 Add gitignore 2020-09-16 13:03:58 +00:00
Gabriel Adrian Samfira 62b8e6f276 Some cleanup 2020-09-04 23:31:13 +00:00
Gabriel Adrian Samfira 6ffdeede64 Initial commit 2020-09-04 20:08:02 +00:00