12 Commits

Author SHA1 Message Date
Jeremy Stanley
b0f82029d8 Update the upper bound for Python and Gerrit tests
OpenDev is preparing to upgrade its Gerrit deployment to 3.9, so
make sure git-review is working with the latest 3.9 point release.
This also requires a newer JDK.

While we're at it, switch from testing with Python 3.11 to 3.12
since that's ending up in more user environments these days.

Also drop unit test jobs that exercise old Python with new Gerrit
and new Python with old Gerrit to simplify the test matrix, because
our Python 3.6 platform lacks new enough Java to support current
Gerrit releases.

And since the Python 3.12 testing uses a platform with newer tools,
remove an unnecessary Git command output assert where the output has
diverged significantly from version to version, trusting that Git
will do what it's asked to do because we're not interested in
testing it for regressions anyway.

Depends-On: https://review.opendev.org/920841
Change-Id: Idb1af841ba68a6f536117ef64f3bec011e905203
2024-05-31 02:01:48 +00:00
Clark Boylan
904d175d19 Test old and new Gerrit
This change updates the CI testing for git-review to test with Gerrit
3.4.4 and 3.7.1. This should give us good coverage of new and old Gerrit
behavior when making changes to git-review.

Note we leave 3.4.4 as the default in the test suite for local runs to
try and limit possibility of breaking old Gerrit when adding features to
git-review for new Gerrit.

Change-Id: I4a42eddec1e247cbb0af5e74b8f1cee0ad58a79a
2023-03-14 08:08:22 -07:00
Clark Boylan
fcd9de135b Test Python bounds only
This bumps the newest python version tested to 3.11 and drops testing
for 3.7, 3.8, and 3.9. We only test the lower and upper python version
bounds.

We switch to an ed25519 ssh key instead of rsa because Ubuntu Jammy
defaults to rsa + sha2 and Gerrit 3.4.4 does not understand this. This
results in a golden site version bump.

Change-Id: I3989460575fa9c389233244683318a6cfded68fe
2023-03-14 08:07:27 -07:00
Clark Boylan
12a0aca425 Switch from tox to nox
Recent tox releases have put us on a config treadmill. Avoid these
issues entirely by using nox. Nox is a tox alternative that uses
standard tools like pip and should be simpler to use for us.

Change-Id: Ie79845bbed7ca1254aec466bd5219186fefcdac9
2023-03-13 10:19:07 -07:00
Dr. Jens Harbott
21445db642 Fix nodesets for tox jobs
The default nodeset has switched from focal to jammy, so we need to pin
the jobs that require focal to the correct nodesets.

Change-Id: I6d8dad4c4a4cbfa3a395b2f8a5e40f6717878a8b
2022-11-09 14:06:22 +01:00
Jeremy Stanley
43fe34f309 Publish documentation at every release
We normally publish documentation updates in the promote pipeline,
using documentation built in the gate. As a result, the published
docs tend to lag behind release events until the next post-release
change lands. Run a separate docs build and publish it on release,
so that release notes and version information included in the
documentation reflect the most recent tag prior to the next change
merging (which for stable projects like this one, could be a while).
Override the tag jobvar to force publication to the branch path
rather than using a version-specific tree.

Change-Id: Ibf1ecfa0420a3c170beb79c14a9a9ef13fea9046
Depends-On: https://review.opendev.org/838525
2022-04-19 15:55:51 +00:00
Jeremy Stanley
f1851f732a Drop support for Python 3.5
An upcoming change needs a feature from Git 2.10, which Ubuntu 16.04
LTS lacks. Since Python 3.5 reached end of life with the 3.5.10
release on 2020-09-05, it's been unsupported by its maintainers for
nearly 2 years anyway.

Change-Id: I0369c29baa344c4dc76eaa47b3467b6117eb933c
2022-04-11 16:59:57 +00:00
Jens Harbott
d0d3da82f5 Fix nodeset selections for zuul jobs
We now are using focal nodes by default, so we no longer need to
explicitly select those, instead we need bionic for py36+py37.

Change-Id: I0f0f44e57a100420d8e6d2eaec7dbb5d77b654af
2021-06-17 07:29:08 +02:00
Jeremy Stanley
6db286013f Update jobs for opendev tenant
As git-review has moved to the "opendev" tenant in OpenDev's Zuul
now, update its jobs to still work there and re-add release jobs
based on similar configuration for the opendev/bindep repository.

Change-Id: I7700ca9369080138122829ab2d4ddf3bbaea7b5f
Depends-On: https://review.opendev.org/777774
2021-02-26 17:53:53 +00:00
Jeremy Stanley
5d93035d10 Test/assert Python 3.9 support
Update our package metadata and job list to include Python 3.9.

Change-Id: I931b1bf6e41b2d18d56a9b841ac8eda501093628
2021-02-24 01:00:12 +00:00
Sorin Sbarnea
4af1703a90 Assure git-review works with py37 and py38
Change-Id: I0e7b370348e4a350d4e2fdc11bc57c3746f15267
2021-01-13 15:49:58 +00:00
Sorin Sbarnea
f4e0e70bb0 Bring zuul configuration in-tree
Change-Id: I42dd5b0e1a5ac5a83f4370790ada9617f1122f6b
Depends-On: https://review.opendev.org/c/openstack/project-config/+/763808
2021-01-13 13:16:27 +00:00