Drop Python < 3.8, add Python 3.10 testing

Also update the integration job to Jammy, and update to the latest
ansible in Zuul.

Change-Id: Idec1941f6879a0fabee8fac637bc1a43e0acd793
This commit is contained in:
Ian Wienand 2022-12-01 11:52:18 +11:00
parent aed4e49286
commit 3e3599c800
No known key found for this signature in database
4 changed files with 8 additions and 15 deletions

View File

@ -1,7 +1,7 @@
- job:
name: gerritlib-jeepyb-integration
description: Run manage_projects with gerritlib from source against Gerrit
nodeset: ubuntu-focal
nodeset: ubuntu-jammy
pre-run: playbooks/jeepyb-integration/pre.yaml
run: playbooks/jeepyb-integration/run.yaml
post-run: playbooks/jeepyb-integration/post.yaml
@ -13,22 +13,18 @@
check:
jobs:
- gerritlib-jeepyb-integration
- tox-py36:
nodeset: ubuntu-bionic
- tox-py37:
nodeset: ubuntu-bionic
- tox-py38:
nodeset: ubuntu-focal
- tox-py39:
nodeset: ubuntu-focal
- tox-py310:
nodeset: ubuntu-jammy
gate:
jobs:
- gerritlib-jeepyb-integration
- tox-py36:
nodeset: ubuntu-bionic
- tox-py37:
nodeset: ubuntu-bionic
- tox-py38:
nodeset: ubuntu-focal
- tox-py39:
nodeset: ubuntu-focal
- tox-py310:
nodeset: ubuntu-jammy

View File

@ -17,13 +17,10 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
[files]
packages = gerritlib

View File

@ -29,4 +29,4 @@ services:
- "./playbooks/:/var/playbooks/:z"
# NOTE(pabelanger): Be sure to update this line each time we change the
# default version of ansible for Zuul.
command: "/usr/local/lib/zuul/ansible/2.8/bin/ansible-playbook /var/playbooks/setup.yaml"
command: "/usr/local/lib/zuul/ansible/5/bin/ansible-playbook /var/playbooks/setup.yaml"

View File

@ -3,7 +3,7 @@ minversion = 1.6
skipsdist = True
skip_missing_interpreters = false
# https://docs.python.org/devguide/#status-of-python-branches
envlist = pep8, py{39,38,37,36,27,py}
envlist = pep8, py{310,39,38,py}
[testenv]
setenv = VIRTUAL_ENV={envdir}