Merge pull request #275 from webcomics/update-jenkins

Jenkins: Update containers to Debian 12 (bookworm)
This commit is contained in:
Tobias Gruetzmacher 2023-07-12 01:22:11 +02:00 committed by GitHub
commit 632f36e80e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

10
Jenkinsfile vendored
View file

@ -1,9 +1,9 @@
def pys = [ def pys = [
[name: 'Python 3.11', docker: '3.11-bullseye', tox:'py311,flake8', main: true], [name: 'Python 3.11', docker: '3.11-bookworm', tox:'py311,flake8', main: true],
[name: 'Python 3.10', docker: '3.10-bullseye', tox:'py310', main: false], [name: 'Python 3.10', docker: '3.10-bookworm', tox:'py310', main: false],
[name: 'Python 3.9', docker: '3.9-bullseye', tox:'py39', main: false], [name: 'Python 3.9', docker: '3.9-bookworm', tox:'py39', main: false],
[name: 'Python 3.8', docker: '3.8-bullseye', tox:'py38', main: false], [name: 'Python 3.8', docker: '3.8-bookworm', tox:'py38', main: false],
[name: 'Python 3.7', docker: '3.7-bullseye', tox:'py37', main: false], [name: 'Python 3.7', docker: '3.7-bookworm', tox:'py37', main: false],
] ]
properties([ properties([

View file

@ -9,7 +9,7 @@ node {
stage ('Run tests') { stage ('Run tests') {
timeout(time: 12, unit: 'HOURS') { timeout(time: 12, unit: 'HOURS') {
withCredentials([string(credentialsId: 'proxymap', variable: 'PROXYMAP')]) { withCredentials([string(credentialsId: 'proxymap', variable: 'PROXYMAP')]) {
sh 'podman run --rm -v $PWD:/work --userns=keep-id docker.io/python:3.10-bullseye /work/tests/modules/testall.sh' sh 'podman run --rm -v $PWD:/work --userns=keep-id docker.io/python:3.11-bookworm /work/tests/modules/testall.sh'
} }
} }
} }