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
* 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
- 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
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
This patch also updates the smoke test to run train.
Change-Id: I0a5c2a42d34bd4df209996a136c87dd04cd1d0d6
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
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
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
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
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
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
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
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
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
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
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