Commit Graph

5 Commits

Author SHA1 Message Date
Ghanshyam Mann 06c6435cce [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: Ibfafcda16b5c59b7afc63ceb5e7c0f4fad08c7a4
2020-02-27 20:30:27 -06:00
Corey Bryant b551205b3f 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: I603dbbd3a7dd9061f0fe91928895f4ad20a6a113
Story: #2005924
Task: #34228
2019-07-30 10:20:44 -04:00
Paul Goins 3c81e2a92e 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: I2e1964927b44aeef8135350390968f98bf77f8ac
2019-03-01 14:40:27 +01:00
Frode Nordahl 783333e102 Enable py3 gate job
Extend .gitignore

Change-Id: I79fb5d2275c5e5fda6a7212f64a475cbb06baf1a
2018-10-12 13:31:06 +02:00
Doug Hellmann 09779fea8d import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I8912b06ec61bbebcee14f3cd1ac0a14acbd97ac5
Story: #2002586
Task: #24317
2018-09-11 13:11:59 -04:00