system-config/zuul.d/docker-images/python-3.9-buster.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

133 lines
4.4 KiB
YAML

# python-builder-3.9-buster jobs
- job:
name: system-config-build-image-python-builder-3.9-buster
description: Build a python-builder-3.9-buster image.
parent: system-config-build-image
provides:
- python-builder-container-image
- python-builder-3.9-buster-container-image
vars: &python-builder_3_9_buster_vars
docker_images:
- context: docker/python-builder
repository: opendevorg/python-builder
tags:
- 3.9
- 3.9-buster
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.9
- DEBIAN_VERSION=buster
files: &python-builder_3_9_buster_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-builder-3.9-buster
description: Build and upload a python-builder-3.9-buster image.
parent: system-config-upload-image
provides:
- python-builder-container-image
- python-builder-3.9-buster-container-image
vars: *python-builder_3_9_buster_vars
files: *python-builder_3_9_buster_files
- job:
name: system-config-promote-image-python-builder-3.9-buster
description: Promote a previously published python-builder-3.9-buster image.
parent: system-config-promote-image
vars: *python-builder_3_9_buster_vars
files: *python-builder_3_9_buster_files
- job:
name: system-config-build-image-python-base-3.9-buster
description: Build a python-base-3.9-buster image.
parent: system-config-build-image
provides:
- python-base-container-image
- python-base-3.9-container-image
vars: &python-base-3_9_buster_vars
docker_images:
- context: docker/python-base
repository: opendevorg/python-base
tags:
- 3.9
- 3.9-buster
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.9
- DEBIAN_VERSION=buster
files: &python-base-3_9_buster_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-base-3.9-buster
description: Build and upload a python-base-3.9-buster image.
parent: system-config-upload-image
provides: python-base-3.9-buster-container-image
vars: *python-base-3_9_buster_vars
files: *python-base-3_9_buster_files
- job:
name: system-config-promote-image-python-base-3.9-buster
description: Promote a previously published python-base-3.9-buster image.
parent: system-config-promote-image
vars: *python-base-3_9_buster_vars
files: *python-base-3_9_buster_files
- job:
name: system-config-build-image-uwsgi-base-3.9-buster
description: Build a uwsgi-base-3.9-buster image.
parent: system-config-build-image
requires: &uwsgi-base_3_9_buster_requires
- python-base-3.9-buster-container-image
- python-builder-3.9-buster-container-image
provides: uwsgi-base-3.9-buster-container-image
dependencies:
- name: system-config-build-image-python-base-3.9-buster
soft: true
- name: system-config-build-image-python-builder-3.9-buster
soft: true
vars: &uwsgi-base_3_9_buster_vars
docker_images:
- context: docker/uwsgi-base
repository: opendevorg/uwsgi-base
tags:
- 3.9
- 3.9-buster
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.9
- DEBIAN_VERSION=buster
files: &uwsgi-base_3_9_buster_files
- docker/python-base/.*
- docker/python-builder/.*
- docker/uwsgi-base/.*
- job:
name: system-config-upload-image-uwsgi-base-3.9-buster
description: Build and upload a uwsgi-base-3.9-buster image.
parent: system-config-upload-image
provides: uwsgi-base-3.9-buster-container-image
requires: *uwsgi-base_3_9_buster_requires
dependencies:
- name: system-config-upload-image-python-base-3.9-buster
soft: true
- name: system-config-upload-image-python-builder-3.9-buster
soft: true
vars: *uwsgi-base_3_9_buster_vars
files: *uwsgi-base_3_9_buster_files
- job:
name: system-config-promote-image-uwsgi-base-3.9-buster
description: Promote a previously published uwsgi-base-3.9-buster image.
parent: system-config-promote-image
vars: *uwsgi-base_3_9_buster_vars
files: *uwsgi-base_3_9_buster_files