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:
+8
-8
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user