90effa2af0
Now that we've cleaned up the old unused images we can look forward to new Python. Add Python 3.10 base images based on Bullseye. As part of this process we update the default var values in our Dockerfiles to set Bullseye and Python3.10 as our defaults as these should be valid for some time. We also tidy up some yaml anchor names to make future copy and paste for new versions of images easier to perform text replacement on. Change-Id: I4943a9178334c4bdf10ee5601e39004d6783b34c
130 lines
4.5 KiB
YAML
130 lines
4.5 KiB
YAML
# python-builder-3.8-bullseye jobs
|
|
- job:
|
|
name: system-config-build-image-python-builder-3.8-bullseye
|
|
description: Build a python-builder-3.8-bullseye image.
|
|
parent: system-config-build-image
|
|
provides:
|
|
- python-builder-container-image
|
|
- python-builder-3.8-bullseye-container-image
|
|
vars: &python-builder_3_8_bullseye_vars
|
|
docker_images:
|
|
- context: docker/python-builder
|
|
repository: opendevorg/python-builder
|
|
tags:
|
|
- 3.8-bullseye
|
|
arch:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
build_args:
|
|
- PYTHON_VERSION=3.8
|
|
- DEBIAN_VERSION=bullseye
|
|
files: &python-builder_3_8_bullseye_files
|
|
- docker/python-base/
|
|
- docker/python-builder/
|
|
|
|
- job:
|
|
name: system-config-upload-image-python-builder-3.8-bullseye
|
|
description: Build and upload a python-builder-3.8-bullseye image.
|
|
parent: system-config-upload-image
|
|
provides:
|
|
- python-builder-container-image
|
|
- python-builder-3.8-bullseye-container-image
|
|
vars: *python-builder_3_8_bullseye_vars
|
|
files: *python-builder_3_8_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-promote-image-python-builder-3.8-bullseye
|
|
description: Promote a previously published python-builder-3.8-bullseye image to latest.
|
|
parent: system-config-promote-image
|
|
vars: *python-builder_3_8_bullseye_vars
|
|
files: *python-builder_3_8_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-build-image-python-base-3.8-bullseye
|
|
description: Build a python-base-3.8-bullseye image.
|
|
parent: system-config-build-image
|
|
provides:
|
|
- python-base-container-image
|
|
- python-base-3.8-container-image
|
|
vars: &python-base_3_8_bullseye_vars
|
|
docker_images:
|
|
- context: docker/python-base
|
|
repository: opendevorg/python-base
|
|
tags:
|
|
- 3.8-bullseye
|
|
arch:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
build_args:
|
|
- PYTHON_VERSION=3.8
|
|
- DEBIAN_VERSION=bullseye
|
|
files: &python-base_3_8_bullseye_files
|
|
- docker/python-base/
|
|
- docker/python-builder/
|
|
|
|
- job:
|
|
name: system-config-upload-image-python-base-3.8-bullseye
|
|
description: Build and upload a python-base-3.8-bullseye image.
|
|
parent: system-config-upload-image
|
|
provides: python-base-3.8-bullseye-container-image
|
|
vars: *python-base_3_8_bullseye_vars
|
|
files: *python-base_3_8_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-promote-image-python-base-3.8-bullseye
|
|
description: Promote a previously published python-base-3.8-bullseye image to latest.
|
|
parent: system-config-promote-image
|
|
vars: *python-base_3_8_bullseye_vars
|
|
files: *python-base_3_8_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-build-image-uwsgi-base-3.8-bullseye
|
|
description: Build a uwsgi-base-3.8-bullseye image.
|
|
parent: system-config-build-image
|
|
requires: &uwsgi-base_3_8_bullseye_requires
|
|
- python-base-3.8-bullseye-container-image
|
|
- python-builder-3.8-bullseye-container-image
|
|
provides: uwsgi-base-3.8-bullseye-container-image
|
|
dependencies:
|
|
- name: system-config-build-image-python-base-3.8-bullseye
|
|
soft: true
|
|
- name: system-config-build-image-python-builder-3.8-bullseye
|
|
soft: true
|
|
vars: &uwsgi-base_3_8_bullseye_vars
|
|
docker_images:
|
|
- context: docker/uwsgi-base
|
|
repository: opendevorg/uwsgi-base
|
|
tags:
|
|
- 3.8-bullseye
|
|
arch:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
build_args:
|
|
- PYTHON_VERSION=3.8
|
|
- DEBIAN_VERSION=bullseye
|
|
files: &uwsgi-base_3_8_bullseye_files
|
|
- docker/python-base/.*
|
|
- docker/python-builder/.*
|
|
- docker/uwsgi-base/.*
|
|
|
|
- job:
|
|
name: system-config-upload-image-uwsgi-base-3.8-bullseye
|
|
description: Build and upload a uwsgi-base-3.8-bullseye image.
|
|
parent: system-config-upload-image
|
|
provides: uwsgi-base-3.8-bullseye-container-image
|
|
requires: *uwsgi-base_3_8_bullseye_requires
|
|
dependencies:
|
|
- name: system-config-upload-image-python-base-3.8-bullseye
|
|
soft: true
|
|
- name: system-config-upload-image-python-builder-3.8-bullseye
|
|
soft: true
|
|
vars: *uwsgi-base_3_8_bullseye_vars
|
|
files: *uwsgi-base_3_8_bullseye_files
|
|
|
|
- job:
|
|
name: system-config-promote-image-uwsgi-base-3.8-bullseye
|
|
description: Promote a previously published uwsgi-base-3.8-bullseye image to latest.
|
|
parent: system-config-promote-image
|
|
vars: *uwsgi-base_3_8_bullseye_vars
|
|
files: *uwsgi-base_3_8_bullseye_files
|