Commit Graph

67 Commits

Author SHA1 Message Date
Peter Matulis 66e025a5eb 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.

Depends-On: I5c0b66cdbbef9ea8fcac83039bf2d1f9ccd4f804
Change-Id: Ie9c07b47cd942886525c24b76f131d10c6233bfb
2023-09-15 15:03:05 +00:00
Corey Bryant bb4d402474 Add mantic support
Change-Id: I5c0b66cdbbef9ea8fcac83039bf2d1f9ccd4f804
2023-08-23 08:58:41 -04:00
Alex Kavanagh 323e2e9fa6 Ensure that charm artefacts are not included in repo
Change-Id: Ic5b6cbb74a171bd9782a1346c6149bc963fcfa83
2022-10-19 14:13:59 +01:00
Alex Kavanagh 40525fd82b Ensure that kinetic/22.10 is enabled
This patch adds kinetic to the metadata.yaml and ensures
that a run-on base for 22.10 is added in the
charmcraft.yaml

Change-Id: Iacda10a9b82263109d47cbb5c52c796e3ac8df9f
2022-08-31 20:32:36 +01:00
Corey Bryant f70a0c4db8 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: Iea3649e0ef4fa1a2c4383c91e9a610a3448f7612
2022-08-26 18:40:43 +00:00
Alex Kavanagh fb5e0dfc9f 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: Ief58dc3b09a7b9c3f23fd2cb9054fb01306e56a9
2022-02-09 10:37:43 +00:00
Alex Kavanagh 84a3161425 Migrate charm to charmhub latest/edge track
Change-Id: I6043512d21b8d3425c5a621f71a722e6a7b9bf73
2022-01-28 07:54:22 +00:00
Hervé Beraud ea90657762 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.

Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: I4f3952c5c751b805dfd1b931011483681491d1ef
2021-12-15 14:36:07 +00:00
Corey Bryant e21f871b7e 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: I67e277b0eb3e8e97d0831bdfe0d4373dfb256035
2021-11-17 15:16:00 -05:00
Alex Kavanagh 06734357d7 Add impish bundle
- add non-voting impish bundle
- rebuild to pick up charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: Ie53a621c5e1bdcad124e4dfb5ea3e0debd2b3d91
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2021-10-08 10:52:07 +02:00
Aurelien Lourot bcf02d6df6 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: Id4617895852b37f94ca3d73a09377bc417b3f36d
2021-07-22 15:00:19 +02:00
Zuul c08c70a5d5 Merge "Add impish to metadata.yaml" 2021-06-07 08:04:15 +00:00
Aurelien Lourot 1bbafe4eab Add impish to metadata.yaml
Change-Id: I90cf48ed4a45f7ac34711c0b52b90a942c07d70d
2021-06-03 11:24:41 +02:00
Corey Bryant 308fc06e56 rebuild - restore c-h proxy env vars for add-apt-repository
Change-Id: I634fcf70d4b374267108e0570f1fa19c5b8ecdab
2021-05-13 09:13:18 -04:00
Alex Kavanagh 34065e142b 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: Ic7627dcc3daef510b68e11b7db6c6583ce34e1c2
2021-05-03 16:10:26 +01:00
Alex Kavanagh 5437d7dd03 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: Ied6ecf99feec70585494f8aa0d47cf8c67c3e81e
2021-04-22 15:27:52 +01:00
Alex Kavanagh 24a0b03ae2 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

Also fix expected workload status message for
cs:ubuntu.

Change-Id: I598dfd7216f73f4e3e01471a8de5db66427d889b
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2021-04-09 10:45:34 +02:00
Zuul 0acc7bdb8d Merge "Add hirsute and remove trusty from metadata.yaml" 2021-03-03 10:57:58 +00:00
Zuul f96750c180 Merge "Add new osci.yaml" 2021-03-03 10:14:50 +00:00
Alex Kavanagh ebefd575c8 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: I1eacb367460bc9a355c34249ee726390b72b9979
2021-03-02 21:03:53 +00:00
Chris MacNaughton 54a7e52c96 Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul

Change-Id: Id44d2037d5743bc882388141d726194c51d82fbf
2021-02-18 08:38:20 +01:00
Alex Kavanagh e3fb59f43a 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: I9a4ceac2d4faf884dd8ee9a0cbf38143f24e2868
2021-02-17 12:17:48 +00:00
Zuul 339f023f49 Merge "Add Groovy to the test gate" 2021-02-03 09:48:20 +00:00
Alex Kavanagh 94900000cb 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
version.

Change-Id: I765a3c24d7dda80be535841233c82bfbc8f3a77b
2021-02-02 17:13:15 +00:00
David Ames bc22aff227 Rebuild with udpated charm-tools 2.8.2
Validate the newest version of charm-tools: 2.8.2
https://github.com/juju/charm-tools/pull/598

Change-Id: I8b10df97f1581a7601b496e2903d380d3dd73093
2021-02-01 14:12:52 -08:00
Aurelien Lourot 858f13b594 Add Groovy to the test gate
Change-Id: I9ed7e3f9950ce5c2b7e26632b1eb02ad93ec5576
2021-02-01 18:37:03 +00:00
Alex Kavanagh 73a71beedc 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: Ib7f2508646d5972188454245643f9171b1fa3834
2021-01-15 16:06:49 +00:00
Zuul 4ff3dde71a Merge "Updates for testing period for 20.01 release" 2021-01-13 20:28:23 +00:00
Alex Kavanagh 9085c64594 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: I5871a280f4a7564967fad76254e4d4e9e31cdbb3
2021-01-12 15:43:02 +00:00
Aurelien Lourot f27527ac4d Remove Disco and Eoan bits
Change-Id: I16861cd6c8e3467a9cd99854423fb8d2f8d7b295
2021-01-12 14:03:11 +01:00
Aurelien Lourot 70b8ca525a 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: Ia4fc68ee3abf1a21202f5267aed602bfe96ef718
2020-12-11 14:02:49 +01:00
Alex Kavanagh 48688db9f0 Rebuild reactive charms to pick up latest charm-helpers release.
v0.20.18 has been released and needs incorporating into the reactive charms.

Change-Id: I6daccef51bbe239096baefaba8deda36fbdcfa9c
2020-10-14 16:39:02 +01:00
Alex Kavanagh 54c138ee69 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

Change-Id: I3dc93f0f437259e0e1fecaecc2a7ff662f585f97
2020-09-26 18:39:11 +01:00
Alex Kavanagh 4a3cc8c98b 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: I92d284b9307e68e9f1d81abdc4809213a46d89a8
2020-07-27 20:58:33 +01:00
Aurelien Lourot 93fb74be35 Add Groovy test bundle
Change-Id: I93210fe0a7c6cf9d23feabebfd77f5c32804c1ed
2020-07-15 10:46:16 +02:00
Zuul d5d6be9174 Merge "Stop to use the __future__ module." 2020-07-13 05:42:22 +00:00
Hervé Beraud 73f5e14c6f Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I6ce3f5de7a85a8724a25ee3a7ebe60d8ec2d27e6
2020-06-02 20:14:49 +02:00
Alex Kavanagh 8fc2912673 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: I04292a8895065d3e5d87d5346aa4bd710607790d
2020-06-02 14:36:18 +01:00
Zuul dddcba27f7 Merge "Update README for supported status" 2020-05-19 20:43:18 +00:00
Peter Matulis c27cfee286 Update README for supported status
Change-Id: Ib51a9c8a3a920b628b3b83a248c1a2d1359dc01c
2020-05-19 12:29:34 -04:00
Zuul 8df556fa10 Merge "Enable focal as part of the gate tests" 2020-05-17 19:39:23 +00:00
Alex Kavanagh 0b4baf6ed7 Rebuild for sync charm-helpers for 20.05 release
Change-Id: I7a49c65f62dbe491f442c9d5e5dc5bff9111e0e6
2020-05-11 13:04:38 +01:00
Alex Kavanagh 85f9e6bc36 Enable focal as part of the gate tests
Add focal-basic bundle to enable focal in gate.

Change-Id: Ie6ae119286eecc71a22872486b177b9ca5334e95
2020-04-08 14:47:31 +01:00
Zuul ab6ad52946 Merge "[ussuri][goal] Updates for python 2.7 drop" 2020-03-25 06:38:49 +00:00
Ghanshyam Mann 413d17a81c [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

charm repos need few updates on either py2 drop or updating
ussuri python template.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I164c6ffa1f6186884db2697ac951424638fdf50f
2020-03-24 17:06:57 +00:00
Liam Young d15e3558a7 Use fqdn to refer to this node
Now that nova-compute uses an fqdn to indetify the hypervisor *1
switch to advertising that name so that everything is consistent.

*1 1869bfbc97

Change-Id: Ia7b2361c5477f598cd452af9aca73aae4743600e
2020-03-10 11:54:18 +00:00
Liam Young b131052d6b Rebuild for 20.02 release
Change-Id: Ib43009c34431dd624a4a5dd368ce2694257fdc2f
2020-02-05 17:02:48 +00:00
Ryan Beisner 182daf068b
Sync charm/ceph helpers, tox, and requirements
Change-Id: Ie0d347c14d179046ce5596bf6aee727335903a1e
2019-09-30 20:59:38 -05:00
Camille Rodriguez d708e534d0 Avoid pollution and false positives with tox.ini
- 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: I7f8c99c31e3984720fb756cf36bd8dbe1aad3c55
2019-08-28 17:24:37 -04:00
Zuul 21a0734283 Merge "Enable bundle specific tox zaza target" 2019-08-23 12:32:40 +00:00