8 Commits

Author SHA1 Message Date
Tony Breeds
24c37f1010 Make all tools require python3 and remove python2 testing
Now that the last tool that needed python2 has been checked/fixed lets
remove all the python2 infrastructure and make all library users exit if
run under python2

Change-Id: I20184300f0a6cb6d230428cafc49f1b917376380
2018-12-12 14:09:05 +11:00
Tony Breeds
60fb423adf Add a tox environment for flexible candidate checking
By default ci_check_all_candidate_files.py, does as it implies and
checks all candidates for the current election.

Add new operation modes for:
 1. Checking all files for the current git commit '--HEAD'
 2. Checking all files specified on the command line

We also add a voting job on the check pipeline only for validating
the current review.  Local users are encouraged to use this as:

 tox -e ci-checks-review ; or
 tox -e ci-checks-review -- path/to/file

Change-Id: I0c82c59409bb58169840de42c02072aeae182b2b
Co-authored-by: Doug Hellmann <doug@doughellmann.com>
2018-12-12 14:09:05 +11:00
Andreas Jaeger
79cc6c1db5 Switch to "tox -e docs"
Use the new PTI docs building commands, these use "tox -e docs" for
building, also update the publishing job.

Update tox.ini to use sphinx-build directly as documented in the PTI.

Note that we have to disable warnings, otherwise building fails with:
doc/source/results/ocata/ptl.rst:3:Duplicate explicit target name: "tony breeds (tonyb)".
Be aware that with current pbr and Sphinx, warnings are disabled due to
change of parameter names - so, this keeps the status quo.

Depends-On: https://review.openstack.org/615501
Needed-By: https://review.openstack.org/615637
Change-Id: I4713f3a25e08056b7bce9812fa2cf62119330fcc
2018-11-05 21:50:23 +01:00
Doug Hellmann
dc792e968b add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

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

Change-Id: I211dcd8edd8fab1a2303f75e990273f830e1dfc2
Story: #2002586
Task: #24757
2018-08-21 18:18:59 +00:00
Tony Breeds
1cd6207cf8 Promote the ci-check jobs to voting
The job showed it was useful and durind it's non-voting period we found a
bug in out validation tooling.  Let make it voting now so it's just
there for the TC election.

Change-Id: I70cf8124b9ddc674d8e55d30bb05a3a3e35c1bcc
2018-08-01 15:13:53 +10:00
Tony Breeds
4fb27bb591 Promote linters job to voting.
While we're adding items to the gate pipeline also add the py27 unit
tests 'just in case'

Change-Id: I26e4d3a2f9fa8d61740d6aa761a66e98704bc7e0
2018-08-01 15:13:29 +10:00
Tony Breeds
75d47b853b Move zuulv3 job config in repo
Change-Id: Id62b8c7aee609dcb4bfbcf0afdf0e4d7d8305d20
2018-08-01 15:12:50 +10:00
Tony Breeds
113a5eae30 Add non-voting job to check all candidates
I suggest we leave this as non-voting for this PTL election manually
verify the results.  Once we're confident we can upgrade it to voting.

Change-Id: I01ad9c76ab68e8282acb4bcc66a2eb7c57596171
2018-07-27 14:21:51 +10:00