Update to python3.12 trixie container

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

Change-Id: Id62f7e046d9e4ab4162fad968e774357adc68085
This commit is contained in:
Clark Boylan
2026-01-30 13:10:41 -08:00
parent 55778502d5
commit 98a32bae20
2 changed files with 10 additions and 10 deletions

View File

@@ -23,8 +23,8 @@
allowed-projects: opendev/grafyaml
timeout: 2700
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
provides:
- grafyaml-container-image
dependencies:
@@ -49,8 +49,8 @@
description: Build the grafyaml Docker image and upload to Docker Hub.
timeout: 3600
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
provides: grafyaml-container-image
vars: *grafyaml_image_vars
secrets:
@@ -74,16 +74,16 @@
check:
jobs:
- tox-pep8
- tox-py311:
nodeset: ubuntu-jammy
- tox-py312:
nodeset: ubuntu-noble
- opendev-buildset-registry
- grafyaml-build-image
- project-config-grafana
gate:
jobs:
- tox-pep8
- tox-py311:
nodeset: ubuntu-jammy
- tox-py312:
nodeset: ubuntu-noble
- grafyaml-upload-image
promote:
jobs:

View File

@@ -16,12 +16,12 @@
# Trigger rebuild - Thu Aug 7 11:28:15 PM UTC 2025
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
FROM quay.io/opendevorg/python-base:3.12-trixie
COPY --from=builder /output/ /output
RUN /output/install-from-bindep