system-config/zuul.d/docker-images/python-3.9-bullseye.yaml
Monty Taylor 8dbf0a3d82 Produce both buster and bullseye container images
This will allow us to roll out consumption forward in a
methodical manner.

This reverts commit 45caec4d43.

Note the weird ARG definitions are there for a reason:
https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact

Change-Id: I81174ac035164695f1c27c9662f25335b78c2e64
2021-08-28 16:46:29 -07:00

130 lines
4.5 KiB
YAML

# python-builder-3.9-bullseye jobs
- job:
name: system-config-build-image-python-builder-3.9-bullseye
description: Build a python-builder-3.9-bullseye image.
parent: system-config-build-image
provides:
- python-builder-container-image
- python-builder-3.9-bullseye-container-image
vars: &python-builder_3_9_bullseye_vars
docker_images:
- context: docker/python-builder
repository: opendevorg/python-builder
tags:
- 3.9-bullseye
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.9
- DEBIAN_VERSION=bullseye
files: &python-builder_3_9_bullseye_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-builder-3.9-bullseye
description: Build and upload a python-builder-3.9-bullseye image.
parent: system-config-upload-image
provides:
- python-builder-container-image
- python-builder-3.9-bullseye-container-image
vars: *python-builder_3_9_bullseye_vars
files: *python-builder_3_9_bullseye_files
- job:
name: system-config-promote-image-python-builder-3.9-bullseye
description: Promote a previously published python-builder-3.9-bullseye image to latest.
parent: system-config-promote-image
vars: *python-builder_3_9_bullseye_vars
files: *python-builder_3_9_bullseye_files
- job:
name: system-config-build-image-python-base-3.9-bullseye
description: Build a python-base-3.9-bullseye image.
parent: system-config-build-image
provides:
- python-base-container-image
- python-base-3.9-container-image
vars: &python-base-3_9_bullseye_vars
docker_images:
- context: docker/python-base
repository: opendevorg/python-base
tags:
- 3.9-bullseye
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.9
- DEBIAN_VERSION=bullseye
files: &python-base-3_9_bullseye_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-base-3.9-bullseye
description: Build and upload a python-base-3.9-bullseye image.
parent: system-config-upload-image
provides: python-base-3.9-bullseye-container-image
vars: *python-base-3_9_bullseye_vars
files: *python-base-3_9_bullseye_files
- job:
name: system-config-promote-image-python-base-3.9-bullseye
description: Promote a previously published python-base-3.9-bullseye image to latest.
parent: system-config-promote-image
vars: *python-base-3_9_bullseye_vars
files: *python-base-3_9_bullseye_files
- job:
name: system-config-build-image-uwsgi-base-3.9-bullseye
description: Build a uwsgi-base-3.9-bullseye image.
parent: system-config-build-image
requires: &uwsgi-base_3_9_bullseye_requires
- python-base-3.9-bullseye-container-image
- python-builder-3.9-bullseye-container-image
provides: uwsgi-base-3.9-bullseye-container-image
dependencies:
- name: system-config-build-image-python-base-3.9-bullseye
soft: true
- name: system-config-build-image-python-builder-3.9-bullseye
soft: true
vars: &uwsgi-base_3_9_bullseye_vars
docker_images:
- context: docker/uwsgi-base
repository: opendevorg/uwsgi-base
tags:
- 3.9-bullseye
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.9
- DEBIAN_VERSION=bullseye
files: &uwsgi-base_3_9_bullseye_files
- docker/python-base/.*
- docker/python-builder/.*
- docker/uwsgi-base/.*
- job:
name: system-config-upload-image-uwsgi-base-3.9-bullseye
description: Build and upload a uwsgi-base-3.9-bullseye image.
parent: system-config-upload-image
provides: uwsgi-base-3.9-bullseye-container-image
requires: *uwsgi-base_3_9_bullseye_requires
dependencies:
- name: system-config-upload-image-python-base-3.9-bullseye
soft: true
- name: system-config-upload-image-python-builder-3.9-bullseye
soft: true
vars: *uwsgi-base_3_9_bullseye_vars
files: *uwsgi-base_3_9_bullseye_files
- job:
name: system-config-promote-image-uwsgi-base-3.9-bullseye
description: Promote a previously published uwsgi-base-3.9-bullseye image to latest.
parent: system-config-promote-image
vars: *uwsgi-base_3_9_bullseye_vars
files: *uwsgi-base_3_9_bullseye_files