Commit Graph

138 Commits

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

Change-Id: I61f3e21566b6df67ec5cb631041203ed970565a6
2024-02-24 20:11:03 +00:00
Alex Kavanagh 2cc6041cd3 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: I23a62754654b725fffe8e40714a9aae391e2053c
2024-02-12 18:18:37 +00:00
Zuul 47e6937645 Merge "Add docs key and point at Discourse" 2023-07-28 15:40:11 +00:00
Corey Bryant 9aaf2d6f88 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
* patch charmhelpers.core.hookenv.is_subordinate due to new
  release handlings in charms.openstack:
  fd042afdf1

Change-Id: I9269ad8b11b2ad5ee8a9868bf23ab1710758c883
2023-07-25 16:39:02 -04:00
Jadon Naas ad6e27f8fe Add docs key and point at Discourse
Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.

When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.

Change-Id: I3304346d6eb8db889af385a0ff8421fbcf181995
2023-07-18 15:50:28 -04:00
Corey Bryant 4cba6b8ebe 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

Change-Id: Ic38e4fe77cec5af7e72d47b54dac2d66948af9b1
2023-04-14 14:58:08 +00:00
Corey Bryant 83f29f5f89 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: I2df3dc8ec86a5e41fab7e5bd463a9d708d95fe88
2023-03-07 23:01:06 +00:00
Liam Young a557ef0ec7 Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: Ia99b036f893d425265a91e41bc4fe4853c2918b2
2023-01-13 14:00:18 +00:00
Corey Bryant ac5e1fdc7f 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: I5a88bdb17a93074921b3aa13a3bd0d56478b5bfb
2022-08-31 18:41:31 +01:00
Alex Kavanagh 2ee4b81a48 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: Ideb0b18808ef8ccd17ee8e6c8cb399b3e9798ecc
2022-04-04 15:48:36 +01:00
Alex Kavanagh b44e3bd667 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: Ic5d06e404f307409db960a98538310e1e0e80308
2022-02-01 17:47:21 +00:00
Alex Kavanagh 827dda5cb4 Migrate charm to charmhub latest/edge track
Change-Id: I47ab7533012a977ecda2e9b87ae8a09304ee24c7
2022-01-27 18:13:44 +00:00
Corey Bryant ac03d84490 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: I484a23091ebaf2fea90e2d89c138208e03367137
2021-11-17 13:44:46 -05:00
Alex Kavanagh fb30411a8c Add xena bundles
- add focal-xena bundle
- add impish-xena bundle
- remove groovy-victoria bundle
- rebuild to pick up charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0
- add missing nrpe charm to wallaby+ bundles
- add missing aodh openstack-origin option for ussuri+ bundles

Change-Id: I3eaf6f66d3ac57f992e15cd26dd76e19bb399674
2021-09-28 17:45:39 +00:00
Aurelien Lourot be7624f36d 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: I73e9a017fa9a0218dc7ff2e107ffe52eddd79483
2021-07-22 14:51:18 +02:00
Zuul 20fe970bf7 Merge "Add NRPE checks for services" 2021-06-08 06:27:25 +00:00
Aurelien Lourot 9e64779825 Add impish to metadata.yaml
Change-Id: Id4c0fe4a9281370a4f46df1778bd5b9da6831e1e
2021-06-03 11:02:03 +02:00
Alex Kavanagh f09fc6184b 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: I0191fb810ae5eb8e7993cd0cb29464f79aeaefaa
2021-05-03 16:01:57 +01:00
Zuul 8ac1b1bc13 Merge "Test bundles for focal-wallaby and hirsute-wallaby" 2021-04-21 10:12:23 +00:00
Alex Kavanagh e813584d6c Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby supporto.

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

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

Change-Id: I3d232efea8c316cf841491de944649858954afc2
2021-04-15 18:03:51 +01:00
Corey Bryant 8dbcb09a8f Add wallaby package version
Change-Id: I363e125ad8086fef1710240b7c488f9691c3a7ea
2021-04-13 13:31:45 +00:00
Alex Kavanagh 945e2f44bb 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: Ibe9da7a3f7ae9e364291c28c111404678e7e2f62
2021-04-03 20:20:17 +01:00
Xav Paice fbb7777638 Add NRPE checks for services
Adds the nrpe-external-master layer and checks for services managed by
this charm.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/445

Change-Id: I9109078bb0d07159de2024cb836d659a533e50c7
Closes-Bug: #1750486
2021-03-08 10:13:40 +13:00
Alex Kavanagh 729c46410c 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: Ie57eb5b9fffddf61a39f23b193b4fb823c5cd1a2
2021-03-02 20:51:05 +00:00
Billy Olsen 4fbb0df35c Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: Ic4623526fcbd758adcd9ee0eb4760b41c801bce1
2021-02-19 16:45:39 -07:00
Alex Kavanagh f9ded263bc 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: Ia267091ee3002a3de55b2f01ca49f4e9651a727b
2021-01-15 16:26:33 +00:00
Aurelien Lourot b7abbd905a Remove Disco and Eoan bits
Change-Id: I78304050f8d9c73c3774f041e5dcbac3f9522c25
2021-01-12 13:49:28 +01:00
Aurelien Lourot 911730b11d 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: I547dac73e602eafefd34db2be8c2580f18740056
2020-12-11 13:52:02 +01:00
Aurelien Lourot 3e1d3fb06f Add Groovy to the test gate
Change-Id: I71ad0521eb8390b79385595f4b026885044dfd0f
2020-11-05 12:42:23 +01:00
Corey Bryant 83cf6e507b Switch to python3-apt in Victoria
The python-apt binary package is removed in Ubuntu Groovy.
Switch the charm to python3-apt.

Change-Id: Ibef912c4e7099dfa8d189da717d14e59685a814b
Closes-Bug: #1899680
2020-10-15 12:39:00 +00:00
Aurelien Lourot 9d52c0cab1 Add focal-victoria to the test gate
Change-Id: I72bb1b2c00ecc4ee4b8844cdefca5e102ae24a1f
2020-08-28 14:23:54 +02:00
Corey Bryant 95a5896b5e Add victoria package version
Change-Id: I759c391307a88e6c9a8a19c6dce1cad7c01029b9
2020-07-13 18:35:53 +00:00
Aurelien Lourot f56044e51f Add Victoria test bundles
Change-Id: I05c71f798a61e09d8b5b4f0627cb643d700920d4
2020-07-10 16:41:08 +02:00
Alex Kavanagh 37c8875d97 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: Ic4a2b248bae35854c4d96ed56ffde863d40d2ac4
2020-07-09 13:56:37 +00:00
Arif Ali 2e500d38c2
Policyd override implementation
This patchset implements policy overrides for aodh. Updates
xenial-ocata and trusty-mitaka functional tests

Change-Id: Ic2477ed4ccc05c5bef384c4d9dc9a1776de9f6f6
Closed-Bug: #1741723
2020-07-08 22:59:39 +01:00
Zuul 50672443c0 Merge "Enable the focal and ussuri tests in the gate test" 2020-04-17 15:04:25 +00:00
Alex Kavanagh 76d5c5501e Enable the focal and ussuri tests in the gate test
Note, this currently requires the force_deploy option in the tests.yaml
to make it work.

Change-Id: Ia78d983ed7b694acfb4fb0ef2eacb03a10a46600
Related-Bug: #1866645
2020-04-16 22:25:46 +01:00
David Ames 38353df4d2 Update peers with API addresses
Use default_update_peers which will publish admin, internal and public
addresses to peers.

Change-Id: I1bf1f7272ab42c248ae86fede17c5cdd5f3892bc
Closes-Bug: #1858132
2020-03-27 14:47:12 -07:00
Frode Nordahl 24d8f367ad Rebuild for updates to charms.openstack
Change-Id: I77c30d046299f453262722061d178e4b1b9fefa0
2020-03-23 09:53:59 -07:00
Frode Nordahl 4b1c2b0920 Update charm build requirements
Change-Id: I1794c7b87b8f4ee24cb381400e124f0bbe28475d
2020-03-12 08:45:45 -07:00
Alex Kavanagh 366ac2d0ba Remove disco support from the charm
Change-Id: I40c83cd7ce34b7bd61b79173042acfc30e37f37e
2020-02-18 12:04:09 +00:00
Corey Bryant d070431a06 Add ussuri package version and pin Jinja2 wheel
Add the ussuri major package version.
Pin Jinja2 to the last versions supporting python 3.4 for trusty.

Change-Id: I163c7780e24993794433a19f1c4ac26252b90539
2020-01-31 20:50:19 +00:00
Liam Young 5050885df9 Do not rely on when_file_change for systemd reload
Systemd was not relying being reloaded when the definition
file for aodh-api changed. The reload was supposed to be
triggered by the when_file_changed decorator. However,
there are a number of issues with when_file_changed decorator (*1,
*2, *3) and the decorator has now been deprecated *4.

This change ensures the reload happens without relying on
the decorator.

*1 https://github.com/juju-solutions/charms.reactive/issues/25
*2 https://github.com/juju-solutions/charms.reactive/issues/44
*3 https://github.com/juju-solutions/charms.reactive/issues/49
*4 https://github.com/juju-solutions/charms.reactive/issues/44#issuecomment-438472843

Closes-Bug: #1850767

Change-Id: I7c528a53a4de8a4a85bf655fc242b0f38fd0754b
2019-10-31 13:22:40 +00:00
Corey Bryant 3be96df033 Enable functional tests for bionic-train
This patch also updates the smoke test to run bionic-train.

Change-Id: I9e597abaeeb932f8a27e058162b7b4cd39bda0bb
2019-10-22 13:33:38 -04:00
Ryan Beisner b0d6fb8eb0
Sync charm/ceph helpers, tox, and requirements
Change-Id: Ibaa8c4dbcb2a484f7dd4d71a0aec78161c6d230f
2019-10-04 11:49:07 -05:00
Liam Young f6e38d358a Convert functional tests to zaza
Change-Id: I6eb070634636a935285bb697f601efa919cb6b48
2019-10-02 05:57:23 +00:00
Corey Bryant 34cbf0478c Add the train major package version
Change-Id: I0fe267f08c1d145c29cfa7893689f35d9d277a91
2019-09-09 20:17:06 +00:00
Zuul a348ff6bb6 Merge "Add disco-stein bundle to gate tests" 2019-09-05 16:17:01 +00:00
Camille Rodriguez e7b916b908 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:
- changed the location of memcached dur to an issue with the charm store
- 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: Idf5e729fcde85ff7442282a711130f4132e17a85
2019-09-04 14:54:15 -04:00
Frode Nordahl 5f2cd608d3
Enable default certificates handler
Previously the default ``certificates.available`` handler was
enabled without the charm authors intervention, this was changed
in I12f45236632b608e07fdd35d31b90b84ca92eb1f.

Change-Id: I9fddbf057506cc4dc6338ddbde819f514c964cb1
2019-09-03 10:29:17 +02:00