* 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: Ie91548167daa588d34ea55b9fa2d8d78ad5270e2
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
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: I41a456b4ffc97cc7d92cd59c1bfbdc7df8002ce2
Story: #2005924
Task: #34228
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: If784b5a78fa237eb380a0635ce8fbcc0f6b9590e
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I540ffc4494ca56f1778b8d195e25e36d9d0b7727
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Reactive source charms are Python3-only, but have py27 unit tests
declared in project-config.
The Tox tool recently changed behavior. It used to pass when a tox
target was missing commands. Now it fails in that case.
This commit places a py27 no-op shim to allow gate tests to pass,
effectively restoring the original behavior for these py3x-only repos.
Change-Id: Ifd4ac81020b325bc7151771d6564c5a0562f6e5c
Partial-Bug: 1642981
All OpenStack Charms now contain identical tox.ini files,
not to be modified or made unique within each charm repo.
This is to ensure consistency across charm repos in tox
target naming, approach and purpose, also giving the
charm dev and test experience additional consistency.
Change-Id: Ie3752edbe5fc9518e2d31ea27e805d2812e1b76b
This is in line with the agreed conventions on where to put
files in a layered source package.
Essentially, just the final moving of things around and ensuring
that the dummy tests pass, along with lint.
Change-Id: I392568d6279f0a5876bdb2a3ad5e49fee03734aa
This does not actually add unit tests, only an inert
and passing no-op test to unblock initialization of
this repo with regard to layer build and test
automation.
Change-Id: I7102d6f483d7680c4fc99074c5567cbf32cde690