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:
parent
aed4e49286
commit
0c5c5871fe
14
.zuul.yaml
14
.zuul.yaml
@ -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
|
||||
|
@ -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
|
||||
|
@ -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/6/bin/ansible-playbook /var/playbooks/setup.yaml"
|
||||
|
2
tox.ini
2
tox.ini
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user