Update lodgeit container image to Python3.11 on Bookworm
We update the upper bound in testing from python3.10 to python3.11 to match. This will allow the opendev team to clean up old bullseye images and look ahead to python3.12. Change-Id: I5321b2e75b4cf50f9342efa13fd4ef37cf87e1e0
This commit is contained in:
parent
fd508a8c19
commit
376c2ba0d0
12
.zuul.yaml
12
.zuul.yaml
@ -20,8 +20,8 @@
|
||||
description: Build OpenDev Docker images for LodgeIt
|
||||
dependencies: opendev-buildset-registry
|
||||
requires:
|
||||
- python-builder-3.10-bullseye-container-image
|
||||
- uwsgi-base-3.10-bullseye-container-image
|
||||
- python-builder-3.11-bookworm-container-image
|
||||
- uwsgi-base-3.11-bookworm-container-image
|
||||
provides: lodgeit-container-image
|
||||
vars: &lodgeit_opendev_image_vars
|
||||
zuul_work_dir: src/opendev.org/opendev/lodgeit
|
||||
@ -36,8 +36,8 @@
|
||||
description: Build OpenDev LodgeIt Docker images and upload to Docker Hub.
|
||||
dependencies: opendev-buildset-registry
|
||||
requires:
|
||||
- python-builder-3.10-bullseye-container-image
|
||||
- uwsgi-base-3.10-bullseye-container-image
|
||||
- python-builder-3.11-bookworm-container-image
|
||||
- uwsgi-base-3.11-bookworm-container-image
|
||||
provides: lodgeit-container-image
|
||||
vars: *lodgeit_opendev_image_vars
|
||||
secrets:
|
||||
@ -61,7 +61,7 @@
|
||||
- tox-pep8
|
||||
- tox-py38:
|
||||
nodeset: ubuntu-focal
|
||||
- tox-py310
|
||||
- tox-py311
|
||||
- opendev-buildset-registry
|
||||
- lodgeit-build-opendev-image
|
||||
gate:
|
||||
@ -69,7 +69,7 @@
|
||||
- tox-pep8
|
||||
- tox-py38:
|
||||
nodeset: ubuntu-focal
|
||||
- tox-py310
|
||||
- tox-py311
|
||||
- opendev-buildset-registry
|
||||
- lodgeit-upload-opendev-image
|
||||
promote:
|
||||
|
@ -15,11 +15,11 @@
|
||||
|
||||
# Thu Dec 9 23:48:42 UTC 2021 Rebuild Timestamp
|
||||
|
||||
FROM docker.io/opendevorg/python-builder:3.10-bullseye as builder
|
||||
FROM docker.io/opendevorg/python-builder:3.11-bookworm as builder
|
||||
COPY . /tmp/src
|
||||
RUN assemble
|
||||
|
||||
FROM docker.io/opendevorg/uwsgi-base:3.10-bullseye as lodgeit
|
||||
FROM docker.io/opendevorg/uwsgi-base:3.11-bookworm as lodgeit
|
||||
COPY --from=builder /output/ /output
|
||||
RUN /output/install-from-bindep
|
||||
|
||||
|
@ -14,6 +14,7 @@ classifier =
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
Programming Language :: Python :: 3.10
|
||||
Programming Language :: Python :: 3.11
|
||||
[entry_points]
|
||||
wsgi_scripts =
|
||||
lodgeit-wsgi = lodgeit.application:make_app
|
||||
|
Loading…
Reference in New Issue
Block a user