Commit Graph

14 Commits

Author SHA1 Message Date
Tony Breeds 1491095ce3 Update job config.
In Switch to 2023.2 testing runtime py version (7f56f206e6) we added
the openstack-python3-jobs template to the zuul config.  This doesn't
work for the elections repo as we don't have a pep8 target, and we also
do not want to add publish-openstack-python-branch-tarball to the
promote pipeline.

Instead just opencode the python jobs.

Change-Id: I289f16d95e19da2e546300dd2a2376f2ccd3ac86
2023-08-17 10:07:06 -05:00
Ghanshyam Mann 7f56f206e6 Switch to 2023.2 testing runtime py version
We have prepared general testing template now and
that has been updated for 2023.2 (current dev cycle)
testing runtime.
- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/873051

Switching election repo testing to the general template
and we do not need to update it in future cycle (all adjustment
of future cycle testing runtime will be handled by central place).

Change-Id: I1ea1e98ba4b7214b4576ecac1e2fdd66bd218c06
2023-05-10 15:29:50 +00:00
Mohammed Naser 0253fe4af8 Drop Python 3.5 jobs
The openstackdocstheme no longer supports Python 3.5 and we are
already testing with Python 3.6.

Change-Id: I18c4a9a07d5440867b8f722858194d2f9e1b6b66
2020-03-26 15:12:24 +00:00
Andreas Jaeger 7415600241 Remove promote-tox-docs-static
We have switched to the new AFS publishing of this repo, so can
remove the old promote-tox-docs-static and publish only ones.

Change-Id: I9c99a962bdf7237bb367ca7d8f133c4a641400cd
2020-01-29 09:34:09 +01:00
Ian Wienand 75b2cec7d3 Add promote-governance-election job
This job publishes the election site under the
governance.openstack.org AFS volume.  This is our "next generation"
publishing as it doesn't rely on storing things on a single static
server.  The current job, promote-tox-docs-static, will be removed
after we transition to serving the site from AFS.

Depends-On: https://review.opendev.org/704702
Change-Id: If666499149c80e2194c33dfd17d115f39f2280bf
2020-01-29 09:23:59 +11:00
Andreas Jaeger c208e4b70f Use promote job
Change doc publishing to a promote job so that we do not need to rebuild
docs in the post pipeline.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-August/008610.html

Depends-On: https://review.opendev.org/678351
Change-Id: I4c7d429030eb7388a5e9b8045a01ebaadc2ae911
2019-08-24 16:17:08 +02:00
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