970d5f6a06
It is a good idea ot periodically update our base python images. Now is a good time to do it as we've got debian bullseye updates and python minor releases. The bullseye updates fix a glibc bug that was affecting Ansible in the zuul images. With this update we'll be able to remove the workaround for that issue. We also update the builder image's apt-get process to include a clean to match tbe base image. This is more for consistency than anything else. Finally update job timeouts for builds as it seems we occasionally need more time particularly for emulated arm64 builds. Change-Id: I31483ff434f19f408aef3b63cb2cd24044a8bf29
136 lines
4.7 KiB
YAML
136 lines
4.7 KiB
YAML
# python-builder-3.10-bullseye jobs
|
|
- job:
|
|
name: system-config-build-image-python-builder-3.10-bullseye
|
|
description: Build a python-builder-3.10-bullseye image.
|
|
parent: system-config-build-image
|
|
timeout: 3600
|
|
provides:
|
|
- python-builder-container-image
|
|
- python-builder-3.10-bullseye-container-image
|
|
vars: &python-builder_3_10_bullseye_vars
|
|
docker_images:
|
|
- context: docker/python-builder
|
|
repository: opendevorg/python-builder
|
|
tags:
|
|
- 3.10-bullseye
|
|
arch:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
build_args:
|
|
- PYTHON_VERSION=3.10
|
|
- DEBIAN_VERSION=bullseye
|
|
files: &python-builder_3_10_bullseye_files
|
|
- docker/python-base/
|
|
- docker/python-builder/
|
|
|
|
- job:
|
|
name: system-config-upload-image-python-builder-3.10-bullseye
|
|
description: Build and upload a python-builder-3.10-bullseye image.
|
|
parent: system-config-upload-image
|
|
timeout: 3600
|
|
provides:
|
|
- python-builder-container-image
|
|
- python-builder-3.10-bullseye-container-image
|
|
vars: *python-builder_3_10_bullseye_vars
|
|
files: *python-builder_3_10_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-promote-image-python-builder-3.10-bullseye
|
|
description: Promote a previously published python-builder-3.10-bullseye image to latest.
|
|
parent: system-config-promote-image
|
|
vars: *python-builder_3_10_bullseye_vars
|
|
files: *python-builder_3_10_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-build-image-python-base-3.10-bullseye
|
|
description: Build a python-base-3.10-bullseye image.
|
|
parent: system-config-build-image
|
|
timeout: 3600
|
|
provides:
|
|
- python-base-container-image
|
|
- python-base-3.10-container-image
|
|
vars: &python-base_3_10_bullseye_vars
|
|
docker_images:
|
|
- context: docker/python-base
|
|
repository: opendevorg/python-base
|
|
tags:
|
|
- 3.10-bullseye
|
|
arch:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
build_args:
|
|
- PYTHON_VERSION=3.10
|
|
- DEBIAN_VERSION=bullseye
|
|
files: &python-base_3_10_bullseye_files
|
|
- docker/python-base/
|
|
- docker/python-builder/
|
|
|
|
- job:
|
|
name: system-config-upload-image-python-base-3.10-bullseye
|
|
description: Build and upload a python-base-3.10-bullseye image.
|
|
parent: system-config-upload-image
|
|
timeout: 3600
|
|
provides: python-base-3.10-bullseye-container-image
|
|
vars: *python-base_3_10_bullseye_vars
|
|
files: *python-base_3_10_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-promote-image-python-base-3.10-bullseye
|
|
description: Promote a previously published python-base-3.10-bullseye image to latest.
|
|
parent: system-config-promote-image
|
|
vars: *python-base_3_10_bullseye_vars
|
|
files: *python-base_3_10_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-build-image-uwsgi-base-3.10-bullseye
|
|
description: Build a uwsgi-base-3.10-bullseye image.
|
|
parent: system-config-build-image
|
|
timeout: 3600
|
|
requires: &uwsgi-base_3_10_bullseye_requires
|
|
- python-base-3.10-bullseye-container-image
|
|
- python-builder-3.10-bullseye-container-image
|
|
provides: uwsgi-base-3.10-bullseye-container-image
|
|
dependencies:
|
|
- name: system-config-build-image-python-base-3.10-bullseye
|
|
soft: true
|
|
- name: system-config-build-image-python-builder-3.10-bullseye
|
|
soft: true
|
|
vars: &uwsgi-base_3_10_bullseye_vars
|
|
docker_images:
|
|
- context: docker/uwsgi-base
|
|
repository: opendevorg/uwsgi-base
|
|
tags:
|
|
- 3.10-bullseye
|
|
arch:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
build_args:
|
|
- PYTHON_VERSION=3.10
|
|
- DEBIAN_VERSION=bullseye
|
|
files: &uwsgi-base_3_10_bullseye_files
|
|
- docker/python-base/.*
|
|
- docker/python-builder/.*
|
|
- docker/uwsgi-base/.*
|
|
|
|
- job:
|
|
name: system-config-upload-image-uwsgi-base-3.10-bullseye
|
|
description: Build and upload a uwsgi-base-3.10-bullseye image.
|
|
parent: system-config-upload-image
|
|
timeout: 3600
|
|
provides: uwsgi-base-3.10-bullseye-container-image
|
|
requires: *uwsgi-base_3_10_bullseye_requires
|
|
dependencies:
|
|
- name: system-config-upload-image-python-base-3.10-bullseye
|
|
soft: true
|
|
- name: system-config-upload-image-python-builder-3.10-bullseye
|
|
soft: true
|
|
vars: *uwsgi-base_3_10_bullseye_vars
|
|
files: *uwsgi-base_3_10_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-promote-image-uwsgi-base-3.10-bullseye
|
|
description: Promote a previously published uwsgi-base-3.10-bullseye image to latest.
|
|
parent: system-config-promote-image
|
|
vars: *uwsgi-base_3_10_bullseye_vars
|
|
files: *uwsgi-base_3_10_bullseye_files
|