Commit Graph

35 Commits (master)

Author SHA1 Message Date
Corey Bryant dea50ec67c 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

Change-Id: I8ff90e147d7768281d9065831ecb10ccf8d64ed1
2023-07-31 20:45:05 -04:00
Corey Bryant de86d6c473 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

Change-Id: I23dc63fc3a56a4886824cc7de09269643bfe0038
2023-03-29 21:01:49 +00:00
Corey Bryant 3f8c791bd7 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: I8332f06e1d020a1132d1ef99a05151b13089c917
2023-03-07 23:58:54 +00:00
Felipe Reyes c3527010b5 Set container-infra API version to 1.9 for >=Ussuri,<=Wallaby.
Horizon needs to use container-infra 1.9 version, the openstack
client's default, to be able to resize k8s clusters, but by default
Horizon uses 1.1 until Xena (
https://opendev.org/openstack/magnum-ui/commit/1fc627fb ).

This change sets OPENSTACK_API_VERSIONS['container-infra'] to 1.9 for
U/V/W, and unsets the key for >=Xena

Closes-Bug: #1998509
Change-Id: Ie358e9c115273ae648c9bef2aedaae50e5ee179d
2023-01-30 20:21:34 -03:00
Liam Young 05b6045768 Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I8a25f2125e0bbe60989a680e54d6349b4bf5ebd4
2023-01-30 17:49:33 -03:00
Corey Bryant 03ead1d4f1 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: Ib18f9dc365cc1bf38e9901706fce4444aa2f0f08
2022-08-31 20:11:48 +01:00
Alex Kavanagh ed077d678e Add *.charm to gitignore
This patch adds *.charm to the .gitignore to ensure that any built
artifacts are ignored.

Change-Id: Ia45421dfaa991606f803dc9dec7f62d5184325f2
2022-04-18 21:07:08 +01:00
Alex Kavanagh 376896846b 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
  target.
- ensure that the openstack-origin is yoga

Change-Id: I940a619735f3d407a5cb18dfaa7a6b46a03ef9b9
2022-04-04 15:50:25 +01:00
Alex Kavanagh ea998b7d5c 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: I140b1f14b154b73344e2bfebbccd93b692c125ca
2022-02-01 20:21:11 +00:00
Alex Kavanagh 6ed705d01f Migrate charm to charmhub latest/edge track
Change-Id: I8bc87671803580644dff23c7834a9380e776d80b
2022-01-27 20:36:48 +00:00
Corey Bryant 8fe533c518 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: I1ee262ed68fdc64cdc5ef005c72087c0d83312cc
2021-11-17 13:51:50 -05:00
Aurelien Lourot 7b0e00b2b6 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: I4abe7b181df7867e9556713c915da4fa6cbfd124
2021-07-22 14:56:09 +02:00
Zuul 35d95a548f Merge "Add impish to metadata.yaml" 2021-06-24 12:11:19 +00:00
Aurelien Lourot 6f2cb99786 Add impish to metadata.yaml
Change-Id: I3b476d426a57da4534e6bbafc366fc13272394ce
2021-06-03 11:16:21 +02:00
Corey Bryant 1b29cce7e5 rebuild - restore c-h proxy env vars for add-apt-repository
Change-Id: I51328280b90a2cfa7afd9c4e505d95d299e7d099
2021-05-13 09:09:59 -04:00
Alex Kavanagh 07461583fc 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: Ib92b2e94740d270e2de130311218ec5b7db22e18
2021-05-03 16:06:46 +01:00
Aurelien Lourot 4931531121 Add zOSCI config
Change-Id: Ie11080800aaec441785976308f2d0712fd277266
2021-04-23 13:16:01 +00:00
Alex Kavanagh 17724dab46 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: I7a6d042d6bda81c59b13f663fe90a95847158994
2021-04-03 20:27:32 +01:00
Zuul 1ac76c813f Merge "Add Hirsute to the metadata" 2021-03-26 15:51:34 +00:00
Aurelien Lourot 4027bac4f9 Add Hirsute to the metadata
Change-Id: I2121d22e32c7cb4a0ae4eede983c4ebf1de6501f
2021-03-26 13:58:07 +01:00
Ionut Balutoiu 0c230259a0 Add bionic-ussuri Zaza gate bundle
The distro package `python3-magnum-ui` is also available on
Bionic Ussuri now.

Change-Id: I431d51d5ce2d0cf9d66ffa7889996a27a3c4e4a0
2021-03-23 16:56:35 +02:00
Aurelien Lourot 57c89cc457 Add .gitreview and .zuul.yaml files
Also pinned charm-tools 2.8.3.
Also made necessary changes for charm-tools>=2.8, because
the default build output folder has changed.

Change-Id: I3f86e76388b274cd4c4d330c2612b633a9b19664
2021-03-23 11:13:53 +01:00
Ionut Balutoiu 38da45ff09 Update charm maintainer 2021-03-12 15:25:28 +02:00
Ionut Balutoiu 6b9f0c8d31 Add groovy-victoria to Zaza 2021-03-12 15:25:22 +02:00
Ionut Balutoiu c426d21a39 Remove Bionic support until the distro package is available.
Bionic distro package for `python3-magnum-ui` is missing.
2021-03-12 14:28:17 +02:00
Ionut Balutoiu 3ba1fde34e Use the minimum amount of services in the Zaza bundles
We don't need all the services to test the Magnum Dashboard plugin
subordinate charm.
2021-03-12 12:42:05 +02:00
Ionut Balutoiu bfb99f3481 Fix enable_ui_plugin function idempotency 2021-03-12 12:20:27 +02:00
Ionut BALUTOIU 877ed038b3
Merge pull request #3 from oprinmarius/master
Add test bundles
2021-03-11 15:50:33 +02:00
Marius 3480d81d53 Add test bundles 2021-03-11 15:49:34 +02:00
Ionut BALUTOIU 28ee930368
Merge pull request #2 from oprinmarius/master
Add unit_tests
2021-03-11 14:57:29 +02:00
Marius 3f2602ec12 Add unit_tests 2021-03-11 14:17:25 +02:00
Ionut BALUTOIU 9e577f6891
Merge pull request #1 from oprinmarius/master
Update README.md
2021-03-10 12:09:33 +02:00
Marius 6f0e4396de Update README.md 2021-03-10 12:06:45 +02:00
Ionut Balutoiu b674530d33 Add initial charm code
Co-authored-by: Marius Oprin <moprin@cloudbasesolutions.com>
2021-02-26 12:23:28 +02:00
Ionut BALUTOIU b0cb9da641
Initial commit 2021-02-24 18:06:46 +02:00