Commit Graph

94 Commits

Author SHA1 Message Date
Ghanshyam Mann 7a44dcaf25 Moving IRC network reference to OFTC
Change-Id: I85e4074b867e050f0d36dcec94fb719e3a6c3deb
2021-07-08 18:30:11 -05:00
Aurelien Lourot 6390d21b29 THIS CHARM IS DEPRECATED
See https://review.opendev.org/c/openstack/charm-guide/+/796639

Its functional tests are written with the deprecated
Amulet framework (replaced by Zaza). Our CI system
zOSCI can't run Amulet tests.

Change-Id: Iae83b12199468c18c76a5571eeae9c6a94e83af6
Related-Bug: #1828424
2021-06-16 14:34:45 +02:00
Aurelien Lourot 8c6f2d189d Add impish to metadata.yaml
Change-Id: If19bee71e83b0bfbc22e629fa2e8b94e6de32a17
2021-06-03 11:02:50 +02:00
Alex Kavanagh 65f5cb64a0 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: I0f5b28437fda22b09fb0d9346fa5581f6a995f72
2021-05-04 09:41:58 +01:00
Alex Kavanagh c478be4764 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: I8b159e2fd0eadecb23c580804ec9b3609b14fdb1
2021-04-03 20:20:43 +01:00
Alex Kavanagh c6dcfbbdf4 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: Iac0486c6d978a34b9e7873bd00627d5c55d32e25
2021-03-02 20:51:31 +00:00
Alex Kavanagh 5d91f89fae 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: If175d58b7b663927d7e7be1c44550a9b8aaa5d79
2021-02-18 14:42:16 +00:00
Aurelien Lourot f5d2f18107 Pin charm-tools<2.8
Change-Id: I8e14d3d41e5c87e444ed868ac4304521a852e222
2021-02-10 22:25:46 +01:00
David Ames 927eeac5f6 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: Ibe9efbd3944e82b7e458134c013b1942c2c335dc
2021-02-01 14:06:54 -08:00
Alex Kavanagh a8e0cc6311 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: I7d36e5607d2f57af31a98051ccb3f35d903f26c9
2021-01-15 16:26:50 +00:00
Zuul 4b7e5feecd Merge "Updates for testing period for 20.01 release" 2021-01-14 13:05:39 +00:00
Alex Kavanagh 4a1a393b30 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: I87d7373ec6407dbfd30a93e04146fb122978634d
2021-01-12 15:27:12 +00:00
Aurelien Lourot 373e59f5df Remove Disco and Eoan bits
Change-Id: Idcae0fd0f130d223fa4d8f36a415d662198c7b11
2021-01-12 13:50:02 +01:00
Aurelien Lourot fa9eb8f482 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: I7a341efcacce56a8cfcf5dcc9ec60f2ae576f7b9
2020-12-10 22:14:44 +01:00
Alex Kavanagh 4a282575b9 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: I2620e8308a0eaa5c078471a8973b346db0b6ed44
2020-10-14 16:07:36 +01:00
Alex Kavanagh 6071c55738 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: I59137f0bc2a0c5ee15f52bd03afefa275e9a011b
2020-09-26 18:29:00 +01:00
Alex Kavanagh c5bb1c231d 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: Ice3f935d7ed834c5caad3a7703f4f7d29ae9813b
2020-07-27 20:48:37 +01:00
Zuul a78d650d8e Merge "Remove inherited configuration options invalid for charm" 2020-07-20 14:46:50 +00:00
Zuul dcca639bf2 Merge "Stop to use the __future__ module." 2020-07-13 05:44:22 +00:00
Aurelien Lourot d9b05879b3 Add Ussuri and Victoria tests
Closes-Bug: #1885935
Change-Id: Ia4ab72a73ab44c3263d627bc7f18c1dbafaae2ad
2020-07-08 14:33:04 +02:00
Hervé Beraud 58bd3ee914 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: Iaf0edaa9d520923d15d0d897b0084f6b7a2cf10a
2020-06-02 19:37:04 +02:00
Alex Kavanagh 1ba7c8d694 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: I9e6d0b4e0041f11e6a6417a73177b0fc4cfabfe3
2020-06-02 14:27:10 +01:00
Ryan Beisner 2728ec8b24
Add focal series metadata
Change-Id: I088d6cfbd51db5524f6bb049322a31231b392ab3
2020-05-19 14:36:10 -05:00
Frode Nordahl 161aaef2f2
Remove inherited configuration options invalid for charm
Change-Id: I33a9602793c2a19d8d21e4524999c5c2dd51e85f
Closes-Bug: #1879088
2020-05-16 23:09:42 +02:00
Alex Kavanagh f3d2478eef Rebuild for sync charm-helpers for 20.05 release
Change-Id: I43e186a6142a4abaccbba41f07c883c446d846a8
2020-05-11 12:59:17 +01:00
Ghanshyam Mann 1e2825309f [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, tox.ini etc.

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: I30078347a804d6bbdb672f2a9636055d7cbdf5a2
2020-03-25 08:42:01 +00:00
Frode Nordahl 14c05427fc
Remove use of admin-token in functional test
Change-Id: I8ac1e315f614bd5a820c6ff7f863406f632a56ee
2020-03-25 09:40:57 +01:00
Frode Nordahl 5f4bf7b693 Rebuild for updates to charms.openstack
Change-Id: Id015b1ab44b8eeeb364a722ddd1bef69ac82f27e
2020-03-11 09:24:39 +01:00
Frode Nordahl 7d3cc83e38 Update charm build requirements
Change-Id: I760024d8ddd15f8023dfb51bbbee62b37beacbb7
2020-03-03 09:53:11 +01:00
Liam Young ff6b21a6f9 Rebuild for 20.02 release
Remove disco

Change-Id: I846527b971809e0e6f708f52905bd2868b78d2d1
2020-02-06 07:15:53 +00:00
Sahid Orentino Ferdjaoui 5b14cf84f9 Enable functional tests for train
This patch also updates the smoke test to run train.

Change-Id: Ib1e3d8b1b8298131237b02692380eade21e31ce8
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-10-23 16:48:54 +02:00
Ryan Beisner d82958bd65
Sync charm/ceph helpers, tox, and requirements
Also remove duplicate tags declaration from metadata.yaml.

Change-Id: I16ebb5ffbd5e59e72dbb9c642abbcb2aa26b3bb0
2019-10-01 14:41:54 -05:00
Camille Rodriguez b025d3d39b 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: I432a562efb84e486034f97f433186a31a80d4b2d
2019-09-02 11:34:02 -04:00
Frode Nordahl c8ff34937a
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.

Remove redundant entries from ``wheelhouse.txt``.

Change-Id: I242795da17bed0c78a7c7808d6b80d11528c65c7
2019-08-22 09:00:19 +02:00
Zuul 9f943c9bc5 Merge "Update readme to clarify charm intent" 2019-08-20 13:54:46 +00:00
Chris MacNaughton edbd917f34
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: I681f54a71eb5d1c0605f18e0781f024b8966bf47
2019-08-19 11:45:11 -04:00
Ryan Beisner 2e2ca0f50a Update readme to clarify charm intent
Change-Id: Iaaf19cee5ba65021049c2cc0460f945852478926
2019-08-16 21:36:39 +00:00
Frode Nordahl 4df0f75249
Distribute direct charm dependencies
Do not rely on system installed Python packages but distribute the
direct charm dependencies as part of the charms wheelhouse.

As the span of distributions we need to support with reactive
charms widens we will run into compability problems with the
current model.

For further reference see juju/charm-helpers#341 and
juju-solutions/layer-basic#135

Change-Id: Ic4e33d59039421593c8ca22f08834ba6f6561b26
2019-08-14 16:51:37 +02:00
Zuul 7623e4d12c Merge "Add Python 3 Train unit tests" 2019-08-13 18:05:13 +00:00
David Ames af98eb37b5 Rebuild for sync charms.openstack
Change-Id: Icd946cb40e7d07644eb2f68d8fed52881afaa93c
Partial-Bug: #1838783
2019-08-02 10:54:15 -07:00
Corey Bryant 89fc180a67 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Note that python35-charm-jobs is retained since this charm is supported
on Xenial.

Change-Id: I8a8bbce4e79a7959f1735902c87d9d1ab02b9957
Story: #2005924
Task: #34228
2019-07-30 10:16:42 -04:00
Frode Nordahl 0c596f7c4d Update functional test definitions
Change-Id: I9501a4aed293b3fdf9cda60b47107030f2d5d2eb
2019-07-17 15:27:26 +02:00
OpenDev Sysadmins fc0160cfc6 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:33:02 +00:00
Zuul 1d55113c96 Merge "Enable bionic/stein and disco/stein functional tests" 2019-04-09 14:55:57 +00:00
James Page f1abaf0f09 Rebuild with new charmhelpers release
0.19.13 supports use of Ubuntu Disco.

Change-Id: I0255df4a544fc24c365af4daedd47a0b15ecf626
2019-04-09 10:37:59 +01:00
Frode Nordahl 3bfb75abcd Enable bionic/stein and disco/stein functional tests
Change-Id: I9b6a952c6633c40cebe5472a12aae0b98985b865
2019-04-09 06:40:42 +02:00
Frode Nordahl af0e3ec723 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: Iccb39e338643d987309c61afe22713053536fb05
2019-04-05 07:45:40 +02:00
Chris MacNaughton a36b8082a1 Sync charm-helpers for Stein release
As a part of the Stein release, we need to ensure
that charmhelpers is up to date.

Change-Id: Iaf0a4666282001ca9e41cc0f87b88b78f72551bc
2019-04-04 16:29:18 +02:00
Pete Vander Giessen 0ffc020464 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: Ic04bd20af254018f4466f32933d187a912daa5b9
2019-03-07 17:01:04 -05:00
Paul Goins a927ffdee4 Added tox environment for gathering coverage
This technique was borrowed from the tox "cover" environment in
openstack/nova's tox.ini.  This leverages the fact that stestr lets
you override the python executable via the PYTHON environment
variable.  Doing this allows us to easily generate coverage for our
unit tests.

An important caveat is that this does not provide any coverage for
tests via zaza, amulet, etc.  It is purely focused on the unit tests.

Note that this replaces the previous .coveragerc; coverage
configuration is instead pulled from tox.ini.

Change-Id: I6c57c238e19a3e7e500f81135075cdcb11ac3127
2019-03-01 14:38:35 +01:00