Commit Graph

77 Commits

Author SHA1 Message Date
Ghanshyam Mann 999d831580 Moving IRC network reference to OFTC
Change-Id: I28edd181bf3c2e39150f060e6d7d5b853b85fd0f
2021-07-08 18:27:30 -05:00
Aurelien Lourot 06905fee08 THIS CHARM IS DEPRECATED
See https://review.opendev.org/c/openstack/charm-guide/+/797034

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

Change-Id: Ie65f9714ca80ae8e4a13e9785c5e6afc997934d3
Related-Bug: #1828424
2021-06-18 11:36:34 +02:00
Zuul f006d9cb52 Merge "Updates for testing period for 20.01 release" 2021-01-13 20:30:30 +00:00
Alex Kavanagh 0b76ccec42 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: Ib6e8c132b2a86541599313419ff6c02dde516055
2021-01-12 15:44:37 +00:00
Aurelien Lourot 86130b2721 Remove Disco and Eoan bits
Change-Id: I93a45ade84a2e6cba5f0fe6c4bc8270bf344322b
2021-01-12 14:04:54 +01:00
Aurelien Lourot 24508b210d 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: I98d180d686400c0452a58f54b4438c3ec39a99f9
2020-12-10 22:37:48 +01:00
Zuul 6285ffe1ee Merge "Remove deprecated scenario image option" 2020-10-27 13:44:30 +00:00
Alex Kavanagh 64cc0c998a 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: I623f452d966bd27d826322b784b32d6b20fdf5b0
2020-07-27 21:00:04 +01:00
Zuul c08f1d2f60 Merge "Reformat README to 79chars" 2020-06-19 13:39:36 +00:00
Alvaro Uria b22128752a Reformat README to 79chars
Change-Id: Ia8f90f8f5c0362f571a4c632d316d072f8c8a44b
2020-06-10 15:27:46 +02:00
Alex Kavanagh 4046e6f1fb 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: Ieea550be6df21bbe8a7d5fdfa760101de1aee625
2020-06-02 14:37:48 +01:00
Ryan Beisner c1d1732079
Add focal series metadata
Change-Id: I751ca201cb204976554663b4ba5a7c5f48d8952a
2020-05-19 14:54:54 -05:00
Martin Kopec de1daf16b8 Remove deprecated scenario image option
Let's remove deprecated CONF.scenario.img_dir which has been
deprecated for more than 4 years.

Related-Bug: #1393881
Depends-On: https://review.opendev.org/#/c/710996/
Change-Id: Iafdebf8946272a433c740e3992607031e64ac05e
2020-04-15 23:05:30 +00:00
Frode Nordahl 52fa714930 Remove use of admin-token in functional test
Change-Id: I3e0f8a40c111aa837cc809c3ffd5e0d472118549
2020-03-25 07:42:52 +01:00
Liam Young 166c4694a1 Rebuild for 20.02 release
Remove disco

Change-Id: Ic1d32a082498727f8673436144a3149044f86c4d
2020-02-06 09:00:16 +00:00
Liam Young a9a5a2e5fa Change openstack clients install directive
This change switches to using the python_packages *1 layer.yaml
directive for installing the openstack clients for use by the
charm. This is primarily to work around *2

*1 https://charmsreactive.readthedocs.io/en/latest/layer-basic.html#layer-configuration
*2 https://github.com/juju-solutions/layer-basic/issues/149

Change-Id: I618235384164c03776bd25bf669543fbd99794ad
2019-12-04 14:52:00 +00:00
Alex Kavanagh 1e546550f2 Fix python3 invocation for charm to charm-env
Closes bug: #1760949

Change-Id: I739835fe71da6a727f51b3c42389372ac139d039
2019-11-08 17:55:34 +00:00
Sahid Orentino Ferdjaoui 1866b5461c Enable functional tests for train
This patch also updates the smoke test to run train.

Change-Id: I0a5c2a42d34bd4df209996a136c87dd04cd1d0d6
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-10-24 06:45:25 +00:00
Zuul 7ca8eaea0a Merge "Update series metadata" 2019-10-08 19:14:59 +00:00
Ryan Beisner 65e767eac3
Sync charm/ceph helpers, tox, and requirements
Change-Id: I2d69a0b69eaf518b3bc0630cfc196d2bc6c3e7da
2019-09-30 22:42:08 -05:00
Camille Rodriguez 5b41c38d4e 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: Ie13fc4dcc8e815893d2f9b6c7e61e912d8300bb5
2019-08-27 15:16:07 -04:00
Chris MacNaughton f029ab035a 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: I01e882311877a2537397327560c7669a9005dd0b
2019-08-26 20:54:36 +00:00
Frode Nordahl f13f18df38
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.

Add some missing dependencies.

Drop Trusty support as one of the downstream dependencies
(``cmd2``) have dropped Python 3.4 support.

Change-Id: I05de745fac2f0685fddebb8709b7226a2f6617ad
2019-08-26 17:50:28 +02:00
Frode Nordahl d967d7d7df Update functional test definitions
Change-Id: I01158ec2dcdd3d70de5ebb8c68e3cb0d68fa6539
2019-07-17 15:33:33 +02:00
Frode Nordahl f84894819d Enable bionic/stein and disco/stein functional tests
Change-Id: I9fd6a0a0774f30f8409f6f17b81cc9d268e3b714
2019-04-09 06:29:36 +02:00
Frode Nordahl 0a7eef7ac7 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: I22c762193937afdfa81c79ae5f63330022d65ea5
2019-04-05 08:04:00 +02:00
Pete Vander Giessen 4dfc5158a0 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: Ib9a1cd1dfc2aac961f61177ee757c7e6a548807f
2019-03-08 10:26:04 -05:00
Ryan Beisner faa0249481
Update readme to clarify charm intent
Change-Id: I6dd5724c9e18bd7f603b7de094e159574772e45c
2019-03-01 11:54:24 +01:00
Zuul 5e86d70e71 Merge "Update pre-install hooks to fail on error" 2019-02-12 22:19:34 +00:00
David Ames d889d2ef26 Update pre-install hooks to fail on error
The pre-install operations may fail, yet that failure is not
elevated to the user. This masks the failure and makes early
package install issues difficult to troubleshoot.

If the basic pre-install script fails, the charm should not
proceed to later hooks as the requirements may not be met.

Hashbangs for bash should specify -e (errexit) on all of the
pre-install bash scripts.

Change-Id: I3a404f8a4d1be24e3a16e8240ebe72371579f528
Closes-bug: #1815243
Partial-bug: #1815231
2019-02-12 11:06:56 -08:00
Ryan Beisner 93f812057c
Update functional test definitions
Remove trusty-icehouse test combo from gate, leaving trusty-mitaka
if/where it exists.

Change-Id: I2a0b9e6e6ba5466e10fb46b08dd3bbc1afd732fa
2019-02-06 14:50:35 -06:00
Zuul 4b843bb477 Merge "py3: Switch to using Python 3 for rocky or later" 2018-10-09 09:55:59 +00:00
Ryan Beisner bba9749806 Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I1ac0cbf16711fb6e93c42b2b25e010cf0876a98d
2018-10-04 16:44:02 -05:00
Corey Bryant e7f7bbf410 py3: Switch to using Python 3 for rocky or later
Switch package install to Python 3 for OpenStack Rocky or later.

Change-Id: Idb4acd39d8e9eed015b914706b7e3d15722999ad
2018-09-26 12:41:18 +00:00
Liam Young ec3c86bac2 Pass all CS_ vars to tox env to pickup timeout
Change-Id: If7cde8e0a00cabe4bfc3940d748f7ad8397f30b7
2018-09-20 11:19:09 +00:00
Ryan Beisner e050bd27b0 Update functional test definitions
Change-Id: I7d68a4a7b391536aa6ca46afaea53a9c91fc191f
2018-08-27 18:18:43 -05:00
Ryan Beisner c73a4dba31 Update functional test definitions
Change-Id: I93583c5c92b5b61352f8a74211d8284f3a5c3941
2018-07-18 18:38:33 -04:00
Ryan Beisner f5d65e4072 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: I26fc15b4ee092052265bf0ce8ea8c54e5ca68503
2018-07-11 14:08:02 -05:00
David Ames 1995977ce1 Enable Bionic as a gate test
Change bionic test from dev to gate for 18.05.

Change-Id: I5f3d5ee844c255f96e9b522a2145e4b3f58245d9
2018-05-25 14:08:06 -07:00
Alex Kavanagh 844da56675 Rebuild charm to pick up latest layer-openstack/fix venv action bug
This is needed to work around a setuptool_scm bug.  Also, the action
file had to be re-arranged slightly to ensure the venv is set up
before anything from the wheelhouse is imported.

Change-Id: Ie913fb5946afdaf1bfb7fd9df8b5d053da82c535
2018-05-25 12:59:47 +01:00
Ryan Beisner 0b52fc6955 Update tox.ini to stop using unverified package
As of pip 10.0, --allow-unverified is not permitted.

Use of the flag in this repo was previously used to force
installation of python-apt to accommodate certain unit tests.

The unverified package, python-apt, is no longer necessary
for test execution.

Related-Bug: #1760720

Change-Id: Ibc9be2d0905aae99f79092de6cae17c61672d46c
2018-04-03 16:41:11 +00:00
Ryan Beisner a9a6960c54 Rebuild for sync charm-helpers
Change-Id: I6e49595d2ecee27c20de6a3b90e7230190c75ae9
2018-02-21 14:03:04 -06:00
Alex Kavanagh 41b1a69f54 Fix up to work with 0.6.0 of charms.reactive
charms.reactive deprecates the RelationBase.from_state() class
method.  This is an internal method in charms.reactive and shouldn't
really have been used.

This patch changes to charms.relations.endpoint_from_flag(...) which
essentially does the same thing and will be a more stable API moving
forwards.

Note that from this point on, the library will ONLY work with
charms.reactive 0.6.0 onwards and the modified charms.openstack library.

Change-Id: I704d1bfe7c51880c38482667a6e1fcccb8059357
2018-01-19 15:05:00 +00:00
Ryan Beisner 083e2442af Add Bionic and remove Zesty series and tests
Bionic, being the next LTS, is important to enable for dev
and test as early as possible ahead of 18.02.

Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
will not provide Zesty series support, as it was an interim
(non-LTS) release.

Change-Id: I114f274e9a959d5308422fa5678605beee2e7464
2017-12-05 05:30:35 +00:00
Andrew McLeod 15668b9859 Make default func27-smoke xenial-pike
Fix bare except for pep8

Change-Id: I79fec4d6c02e5614aa49bcc2439b82767d1283c4
2017-11-16 13:23:00 +13:00
Jenkins c6af501412 Merge "Update amulet test definitions" 2017-10-04 16:30:21 +00:00
Ryan Beisner f0439c2df2 Update requirements for git charmhelpers
Change-Id: If0a30acbb3e6e5cd06084186dd837eaa23422291
2017-10-03 04:33:07 +00:00
Ryan Beisner 39f6ec6b65 Update amulet test definitions
Change-Id: I41e937c385ca801b4a6ca0ac3633e7b6b8e6ec3c
2017-09-28 03:53:15 +00:00
Ryan Beisner 5c68011c6c Add Artful dev series metadata
Change-Id: Ie3bb5042955c49ef6ec6f2910dbea2d180e50c4c
2017-09-26 11:42:21 -04:00
Ryan Beisner d3c15a3d94 Remove deprecated series metadata and tests
Change-Id: Ib773930c11f9a59f4bc5417686eb09739337ec64
2017-08-23 09:56:23 -05:00