Update container image to python3.12 and trixie

We want to drop bookworm images at some point in the future and this is
one step in that process. While we are at it we bump the python3 version
to 3.12 and update the unittest job to match.

Change-Id: Ic8f9676d275e912ecee86dc9897289b25a8eaaae
This commit is contained in:
Clark Boylan
2026-01-30 13:06:58 -08:00
parent 2b4bfa0f76
commit 0ac49a2c97
2 changed files with 10 additions and 10 deletions
+8 -8
View File
@@ -22,8 +22,8 @@
description: Build OpenDev Docker images for storyboard webclient
provides: gerritbot-container-image
requires:
- python-builder-3.11-bookworm-container-image
- python-base-3.11-bookworm-container-image
- python-builder-3.12-trixie-container-image
- python-base-3.12-trixie-container-image
required-projects: &gerritbot_opendev_required_projects
- opendev/gerritlib
vars: &gerritbot_opendev_image_vars
@@ -48,8 +48,8 @@
description: Build OpenDev gerritbot Docker images and upload to Docker Hub.
provides: gerritbot-container-image
requires:
- python-builder-3.11-bookworm-container-image
- python-base-3.11-bookworm-container-image
- python-builder-3.12-trixie-container-image
- python-base-3.12-trixie-container-image
required-projects: *gerritbot_opendev_required_projects
vars: *gerritbot_opendev_image_vars
secrets:
@@ -71,14 +71,14 @@
check:
jobs:
- tox-pep8
- tox-py311:
nodeset: ubuntu-jammy
- tox-py312:
nodeset: ubuntu-noble
- gerritbot-build-opendev-image
gate:
jobs:
- tox-pep8
- tox-py311:
nodeset: ubuntu-jammy
- tox-py312:
nodeset: ubuntu-noble
- gerritbot-upload-opendev-image
promote:
jobs:
+2 -2
View File
@@ -13,12 +13,12 @@
# You should have received a copy of the GNU General Public License
# along with this software. If not, see <http://www.gnu.org/licenses/>.
FROM quay.io/opendevorg/python-builder:3.11-bookworm as builder
FROM quay.io/opendevorg/python-builder:3.12-trixie as builder
COPY . /tmp/src
RUN assemble
FROM quay.io/opendevorg/python-base:3.11-bookworm as gerritbot
FROM quay.io/opendevorg/python-base:3.12-trixie as gerritbot
COPY --from=builder /output/ /output
RUN /output/install-from-bindep