Commit Graph

49 Commits

Author SHA1 Message Date
Alex Kavanagh 50a74bb7fc Updates for caracal tox.ini
Update the tox.ini file(s) to use the constraints file from
zaza-openstack-tests.

Change-Id: I1ee98030ed0b69aa7737fe9d2cb1f2b76e184b7b
2024-02-24 20:12:20 +00:00
Alex Kavanagh ffab46dab6 Updates for caracal testing support
These updates, on the master branch, are to support testing the caracal
packages and support of the charms for caracal.  They do NOT lock the charms
down, and don't change the testing branches to stable branches.

Change-Id: If364d5195731e21ce1aca7f8a1df4ea738f400bc
2024-02-12 18:21:27 +00:00
Corey Bryant e9fdad950f 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/edge

Change-Id: I05522c65c5c147f0ca219717e5a396a09eba7c09
2023-08-03 14:00:35 -04:00
Corey Bryant 8287e5a0c5 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: I6e549bd4611517f363d7df905e3af0ccdf0727ba
2023-03-29 21:01:50 +00:00
Corey Bryant ff426e8ea3 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: I05dd97424675cc31ef4e637c5d157c69d6906e54
2023-03-08 13:51:52 +00:00
Liam Young 327753c63a Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I7eff46a8ae044e6375d47fdf3a85429d793bd234
2023-01-23 21:06:25 +00:00
Corey Bryant a68761b7ef 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: I2cb698f719106e54b06009f24ea47259419e9cad
Depends-On: https://review.opendev.org/c/openstack/charm-octavia/+/850215
2022-10-05 07:47:55 -04:00
Corey Bryant 0eced95520 Build separately for each supported series and use binary builds
Charms for OpenStack Yoga supports both Ubuntu Focal and Jammy
which means Python 3.8 and Python 3.10.  Managing dependencies
across those two versions is non-trivial and we need to build
the charm on the series the charm is supposed to support.

Switch to using a binary build which allows pip's dependency
resolution to work.

This patch also drops the impish bundle.

Change-Id: I99549065a4ef7c2d76356228a58b687d7cb8877c
2022-10-05 07:47:44 -04:00
Alex Kavanagh 75b0a960ab 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: I44232d2e3e98a759ff6a92cbf28e6cd68c2d10aa
2022-04-04 16:20:06 +01:00
Alex Kavanagh f550b1989b Migrate charm to charmhub latest/edge track
Change-Id: I6d2131f86b85b2bb32f130dccaab68d611311e3d
2022-01-27 22:01:35 +00:00
Corey Bryant 270e6f58b8 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: I490952f9273faa4ff75f2aef7574376ef6eb28ee
2021-11-12 11:19:15 -05:00
Alex Kavanagh b9b859c023 Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- rebuild to pick up charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: I64167411f7909a189ae3e88a571afbfc0169a577
2021-09-27 16:32:28 +01:00
Aurelien Lourot b0f58fcd78 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: Idf2b26d7e78e19152868e43646dd09861d8b6b94
2021-07-22 14:59:22 +02:00
Aurelien Lourot 7a4c982c91 Add impish to metadata.yaml
Change-Id: I017858e1a0139ac26b276da4f0c5aedaa53e4663
2021-06-03 11:22:53 +02:00
Alex Kavanagh 6dd533fd78 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: Ifeaba65e8bd0ee39aa55dabf249e92754dbd7eeb
2021-05-03 16:09:29 +01:00
Alex Kavanagh b65ad85a29 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].

[1] https://github.com/juju-solutions/layer-basic/issues/194

Change-Id: I91fc84a52d64aebc219707368632f01ee001867b
2021-04-15 19:51:08 +01:00
Alex Kavanagh 8ccc8f32e3 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: I526d58c3eb602c539957f9212e9279526544ea42
2021-04-03 20:32:02 +01:00
Alex Kavanagh ffc9f396e9 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: Idcce05c1c05e10ac1b7dcd0aa1bdd5e7c2e8db21
2021-03-02 21:02:33 +00:00
Billy Olsen c76fd3990e Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: Iefb87f343a358b542714fabe419727dce835cbb4
2021-02-19 17:04:24 -07:00
Zuul 20269d69bd Merge "Updates for testing period for 20.01 release" 2021-01-13 20:32:15 +00:00
Alex Kavanagh 63cb129b59 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: Ie85b5ad32c35d188906144c96988a2ca6190faca
2021-01-12 15:41:45 +00:00
Aurelien Lourot 531372c101 Remove Disco and Eoan bits
Change-Id: I6e51b3c581db154e1b8183e53f2d326050f0db6b
2021-01-12 14:02:21 +01:00
Aurelien Lourot 565297aa0c Add Groovy to the test gate
Change-Id: I5cb8dcfaab8e344f5a08ea786e0fdca07affe89c
2021-01-09 12:14:19 +00:00
Aurelien Lourot 1b7aa99a55 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: I98cbbc2398f76790aa48ef38b0b2dbceb6b1f420
2020-12-11 14:02:04 +01:00
Aurelien Lourot 35d4a57fdf Add focal-victoria to the test gate
Change-Id: I873a9e51737c49319eebfafd89308611d597285f
2020-08-28 14:28:10 +02:00
Zuul 116223bdde Merge "Remove inherited configuration options invalid for charm" 2020-07-20 14:38:01 +00:00
Aurelien Lourot bf82390d48 Add Victoria test bundles
Change-Id: I1aaa698f8fac0b6cb8b441fc726bdd7179fe7822
2020-07-15 10:48:56 +02:00
Alex Kavanagh 3129faafa6 Updates for 20.08 cycle start for groovy and libs
- Adds groovy to the series in the metadata
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild

Change-Id: I070804c6ed21fde12dde91eeeb9a0fee5aacfde7
2020-06-02 14:35:16 +01:00
Frode Nordahl 0a41348eab
Remove inherited configuration options invalid for charm
Change-Id: Ifd096de5ad0c58d3798567608ea99f258d98e1bf
Closes-Bug: #1879088
2020-05-18 09:54:39 +02:00
Alex Kavanagh db915e8836 Enable focal and ussuri as part of the gate tests
Add bionic-ussuri and focal-ussuri (with mysql8 support) bundles.

Change-Id: I9fc3e26408493a7969e19b1df3e46f432502b3d8
2020-05-16 08:58:30 +01:00
Alex Kavanagh 9baf3e8dff Remove cosmic bits from the charm
Cosmic is end of life and is no longer supported.

Change-Id: I42b6a40d14c65b43672dd454f83283eb832d78f4
2020-02-18 18:34:41 +00:00
Alex Kavanagh 8110298bb4 Fix packaging issue by devolving it to principal
This patchset fixes the referenced bug by making use a new feature
in the openstack-dashboard charm to allow this plugin to indicate
which packages need installing and which conflict.

The two depends-on are the openstack-dashboard patch to add the
packaging feature and the charm-interface-dashboard-plugin patch
that adds the package details to the reactive interface code.

Also remove disco test and add eoan-train test due to disco EOL.

Depends-On: I962ec558b8dd1f765c6104d5ae61edd41c03affe
Depends-On: Ib3fc0b0525dabf70f45fd050af2ed05ba31129b9
Change-Id: I8582a4cf62749240919d0fe4dd5d72577d288397
Closes-Bug: #1853851
2020-02-02 14:22:24 +00:00
Sahid Orentino Ferdjaoui 984252b619 Enable functional tests for train
This patch also updates the smoke test to run train.

Change-Id: Ia6fef0180ffeeb0e0d16c7b7be9d25fa8019956c
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-10-24 06:37:53 +00:00
Ryan Beisner 1397777b05
Sync charm/ceph helpers, tox, and requirements
Change-Id: Ie2d9438b1d4f772007bdf96cde81b1b89164e94c
2019-09-30 20:59:32 -05:00
Camille Rodriguez 5f0aa265db Add disco-stein bundle to gate tests
The bundle disco-stein was in the dev bundles because
a bug with the Python 3.7 syntax prevented the success of
the deployment of HA clusters. This bug is fixed, we can
reintegrate disco-stein in the gate bundles.

Other small additions:
- 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.

LP Related-Bug: #1823718
Change-Id: I538625c1be05cd4538336a28882f4664cfc31899
2019-08-30 19:33:30 +00:00
Frode Nordahl b3f321321e Rebuild for sync layer-openstack
Also explicitly set ``include_system_packages`` to False.

While that setting is now the a default we consume from
``layer-basic`` it is more clear for the causual reader
of the charm source code.

Change-Id: I3e21067dd31d1c82c23b64086d067449738c5f89
2019-08-22 07:35:02 +02:00
Frode Nordahl 6e87973f69 Update functional test definitions
Change-Id: I6da6c5650c091d7956de4c775603f966dfb15ffa
2019-07-17 15:33:12 +02:00
Chris MacNaughton 632801e8aa Retarget Zaza to master now that split has landed
This change is required as Zaza underwent a split of the openstack
tests from the Zaza project, so we had to track the working branch
until that change landed. As it has landed, it is now time to use
Zaza from master again

Change-Id: Id1ea4dbe7d7888cc20df19334b4ff33cf2df5090
2019-05-24 08:50:01 +02:00
Chris MacNaughton 01d1cb8b2c Migrate to split zaza - zaza.openstack
This change adds in zaza.openstack, as well as changing the
branch target of zaza to a branch with zaza.openstack
removed, allowing us to validate the new library

Change-Id: Ic27d3a52f53cf2665639db78cf20b6e8714382b0
2019-05-09 12:31:16 +02:00
Chris MacNaughton 394e2c6667 Migrate Zaza tests to independant OpenStack Charms specific library
Change-Id: Iaabd5483338e85ea891988a9a23c81726d90dd37
2019-04-26 14:06:09 +02:00
Frode Nordahl c8ab9efa2d
Enable bionic/stein functional tests
Add missing default ``upgrade-charm`` reactive handler.

Change-Id: I14ed4c93af4d6ab794bf2d6f651c42e3efabec86
2019-04-10 17:44:12 +02:00
Frode Nordahl 26480ed59e Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: Ideb478a5a317b963fd8dec1733c1271c46f4370c
2019-04-05 07:59:57 +02:00
Pete Vander Giessen e4755415d7 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: I33f509c6f7d914492be4240674dce4e0ab4d3521
2019-03-07 17:12:46 -05:00
Frode Nordahl 894377396d
Remove `ssl_ca` configuration option provided by layer
One of the layers we consume provide this configuration option,
but it makes no sense for this subordinate charm to expose this
knob.  The configuration should be set on the principal charm.

Change-Id: I8cbe2e02a104e1cb25b99f2376fe8c91d1d80d58
2018-12-17 11:07:33 +01:00
Frode Nordahl d3c1c29b3b
Documentation update
Clean up and add references to deployment guide and overlay bundle.

Change-Id: If1954558fc71dee530b4a741142a2451f5313965
2018-12-13 08:58:12 +01:00
Frode Nordahl d9c6147ce5
Update test definitions and bundles
The workload message for Octavia on successful deploy has
changed, reflect that change in the functional test
definitions.

Add missing `cosmic` series support and `cosmic-rocky` bundle.

Change-Id: I55c8dc3b2f853ff32fbbb7df30b2926f8f0717f2
2018-12-10 20:55:50 +01:00
Frode Nordahl 4d66c30ef4 Purge neutron-lbaas dashboard on install
Remove unnecessary config publish.

Remove unused build time policy generation.

Change-Id: I7616c7aaec8bdd60160e6bc7481ea41b5a71cd3c
2018-11-21 16:35:08 +00:00
Frode Nordahl 18aeee9a65 Add repo config
Change-Id: I95ec383ef262bfe41189544a19ef5f947e7ea774
Depends-On: 112b161c26
2018-11-17 23:56:16 +00:00
Frode Nordahl e7707cd2cd
Initial commit of Octavia Dashboard plugin subordinate 2018-11-06 11:33:41 +01:00