Build Python 3.9 python-builder/base containers

Python 3.9 is released, so let's build containers.

This splits the docker-images/ files up as they are becoming a bit
crowded.

Change-Id: Id68080575a30e4a08c99df0af603fbb65a0983bd
This commit is contained in:
Ian Wienand 2021-05-05 09:55:56 +10:00
parent 00cd471c99
commit 629fdec768
4 changed files with 249 additions and 126 deletions

View File

@ -39,44 +39,6 @@
vars: *python-builder_3_7_vars
files: *python-builder_3_7_files
# python-builder-3.8 jobs
- job:
name: system-config-build-image-python-builder-3.8
description: Build a python-builder-3.8 image.
parent: system-config-build-image
provides:
- python-builder-3.8-container-image
vars: &python-builder_3_8_vars
docker_images:
- context: docker/python-builder
repository: opendevorg/python-builder
tags:
- 3.8
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.8
files: &python-builder_3_8_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-builder-3.8
description: Build and upload a python-builder-3.8 image.
parent: system-config-upload-image
provides: python-builder-3.8-container-image
vars: *python-builder_3_8_vars
files: *python-builder_3_8_files
- job:
name: system-config-promote-image-python-builder-3.8
description: Promote a previously published python-builder-3.8 image to latest.
parent: system-config-promote-image
vars: *python-builder_3_8_vars
files: *python-builder_3_8_files
# python-base-3.7 jobs
- job:
name: system-config-build-image-python-base-3.7
description: Build a python-base-3.7 image.
@ -115,43 +77,6 @@
vars: *python-base-3_7_vars
files: *python-base-3_7_files
# python-base-3.8 jobs
- job:
name: system-config-build-image-python-base-3.8
description: Build a python-base-3.8 image.
parent: system-config-build-image
provides: python-base-3.8-container-image
vars: &python-base-3_8_vars
docker_images:
- context: docker/python-base
repository: opendevorg/python-base
tags:
- 3.8
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.8
files: &python-base-3_8_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-base-3.8
description: Build and upload a python-base-3.8 image.
parent: system-config-upload-image
provides: python-base-3.8-container-image
vars: *python-base-3_8_vars
files: *python-base-3_8_files
- job:
name: system-config-promote-image-python-base-3.8
description: Promote a previously published python-base-3.8 image to latest.
parent: system-config-promote-image
vars: *python-base-3_8_vars
files: *python-base-3_8_files
# uwsgi-base-3.7 jobs
- job:
name: system-config-build-image-uwsgi-base-3.7
description: Build a uwsgi-base-3.7 image.
@ -202,54 +127,3 @@
parent: system-config-promote-image
vars: *uwsgi-base_3_7_vars
files: *uwsgi-base_3_7_files
# uwsgi-base-3.8 jobs
- job:
name: system-config-build-image-uwsgi-base-3.8
description: Build a uwsgi-base-3.8 image.
parent: system-config-build-image
provides: uwsgi-base-3.8-container-image
requires: &uwsgi-base_3_8_requires
- python-base-3.8-container-image
- python-builder-3.8-container-image
dependencies:
- name: system-config-build-image-python-base-3.8
soft: true
- name: system-config-build-image-python-builder-3.8
soft: true
vars: &uwsgi-base_3_8_vars
docker_images:
- context: docker/uwsgi-base
repository: opendevorg/uwsgi-base
tags:
- 3.8
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.8
files: &uwsgi-base_3_8_files
- docker/python-base/.*
- docker/python-builder/.*
- docker/uwsgi-base/.*
- job:
name: system-config-upload-image-uwsgi-base-3.8
description: Build and upload a uwsgi-base-3.8 image.
parent: system-config-upload-image
provides: uwsgi-base-3.8-container-image
requires: *uwsgi-base_3_8_requires
dependencies:
- name: system-config-upload-image-python-base-3.8
soft: true
- name: system-config-upload-image-python-builder-3.8
soft: true
vars: *uwsgi-base_3_8_vars
files: *uwsgi-base_3_8_files
- job:
name: system-config-promote-image-uwsgi-base-3.8
description: Promote a previously published uwsgi-base-3.8 image to latest.
parent: system-config-promote-image
vars: *uwsgi-base_3_8_vars
files: *uwsgi-base_3_8_files

View File

@ -0,0 +1,120 @@
- job:
name: system-config-build-image-python-builder-3.8
description: Build a python-builder-3.8 image.
parent: system-config-build-image
provides:
- python-builder-3.8-container-image
vars: &python-builder_3_8_vars
docker_images:
- context: docker/python-builder
repository: opendevorg/python-builder
tags:
- 3.8
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.8
files: &python-builder_3_8_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-builder-3.8
description: Build and upload a python-builder-3.8 image.
parent: system-config-upload-image
provides: python-builder-3.8-container-image
vars: *python-builder_3_8_vars
files: *python-builder_3_8_files
- job:
name: system-config-promote-image-python-builder-3.8
description: Promote a previously published python-builder-3.8 image to latest.
parent: system-config-promote-image
vars: *python-builder_3_8_vars
files: *python-builder_3_8_files
- job:
name: system-config-build-image-python-base-3.8
description: Build a python-base-3.8 image.
parent: system-config-build-image
provides: python-base-3.8-container-image
vars: &python-base-3_8_vars
docker_images:
- context: docker/python-base
repository: opendevorg/python-base
tags:
- 3.8
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.8
files: &python-base-3_8_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-base-3.8
description: Build and upload a python-base-3.8 image.
parent: system-config-upload-image
provides: python-base-3.8-container-image
vars: *python-base-3_8_vars
files: *python-base-3_8_files
- job:
name: system-config-promote-image-python-base-3.8
description: Promote a previously published python-base-3.8 image to latest.
parent: system-config-promote-image
vars: *python-base-3_8_vars
files: *python-base-3_8_files
- job:
name: system-config-build-image-uwsgi-base-3.8
description: Build a uwsgi-base-3.8 image.
parent: system-config-build-image
provides: uwsgi-base-3.8-container-image
requires: &uwsgi-base_3_8_requires
- python-base-3.8-container-image
- python-builder-3.8-container-image
dependencies:
- name: system-config-build-image-python-base-3.8
soft: true
- name: system-config-build-image-python-builder-3.8
soft: true
vars: &uwsgi-base_3_8_vars
docker_images:
- context: docker/uwsgi-base
repository: opendevorg/uwsgi-base
tags:
- 3.8
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.8
files: &uwsgi-base_3_8_files
- docker/python-base/.*
- docker/python-builder/.*
- docker/uwsgi-base/.*
- job:
name: system-config-upload-image-uwsgi-base-3.8
description: Build and upload a uwsgi-base-3.8 image.
parent: system-config-upload-image
provides: uwsgi-base-3.8-container-image
requires: *uwsgi-base_3_8_requires
dependencies:
- name: system-config-upload-image-python-base-3.8
soft: true
- name: system-config-upload-image-python-builder-3.8
soft: true
vars: *uwsgi-base_3_8_vars
files: *uwsgi-base_3_8_files
- job:
name: system-config-promote-image-uwsgi-base-3.8
description: Promote a previously published uwsgi-base-3.8 image to latest.
parent: system-config-promote-image
vars: *uwsgi-base_3_8_vars
files: *uwsgi-base_3_8_files

View File

@ -0,0 +1,120 @@
- job:
name: system-config-build-image-python-builder-3.9
description: Build a python-builder-3.9 image.
parent: system-config-build-image
provides:
- python-builder-3.9-container-image
vars: &python-builder_3_9_vars
docker_images:
- context: docker/python-builder
repository: opendevorg/python-builder
tags:
- 3.9
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.9
files: &python-builder_3_9_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-builder-3.9
description: Build and upload a python-builder-3.9 image.
parent: system-config-upload-image
provides: python-builder-3.9-container-image
vars: *python-builder_3_9_vars
files: *python-builder_3_9_files
- job:
name: system-config-promote-image-python-builder-3.9
description: Promote a previously published python-builder-3.9 image to latest.
parent: system-config-promote-image
vars: *python-builder_3_9_vars
files: *python-builder_3_9_files
- job:
name: system-config-build-image-python-base-3.9
description: Build a python-base-3.9 image.
parent: system-config-build-image
provides: python-base-3.9-container-image
vars: &python-base-3_9_vars
docker_images:
- context: docker/python-base
repository: opendevorg/python-base
tags:
- 3.9
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.9
files: &python-base-3_9_files
- docker/python-base/
- docker/python-builder/
- job:
name: system-config-upload-image-python-base-3.9
description: Build and upload a python-base-3.9 image.
parent: system-config-upload-image
provides: python-base-3.9-container-image
vars: *python-base-3_9_vars
files: *python-base-3_9_files
- job:
name: system-config-promote-image-python-base-3.9
description: Promote a previously published python-base-3.9 image to latest.
parent: system-config-promote-image
vars: *python-base-3_9_vars
files: *python-base-3_9_files
- job:
name: system-config-build-image-uwsgi-base-3.9
description: Build a uwsgi-base-3.9 image.
parent: system-config-build-image
provides: uwsgi-base-3.9-container-image
requires: &uwsgi-base_3_9_requires
- python-base-3.9-container-image
- python-builder-3.9-container-image
dependencies:
- name: system-config-build-image-python-base-3.9
soft: true
- name: system-config-build-image-python-builder-3.9
soft: true
vars: &uwsgi-base_3_9_vars
docker_images:
- context: docker/uwsgi-base
repository: opendevorg/uwsgi-base
tags:
- 3.9
arch:
- linux/amd64
- linux/arm64
build_args:
- PYTHON_VERSION=3.9
files: &uwsgi-base_3_9_files
- docker/python-base/.*
- docker/python-builder/.*
- docker/uwsgi-base/.*
- job:
name: system-config-upload-image-uwsgi-base-3.9
description: Build and upload a uwsgi-base-3.9 image.
parent: system-config-upload-image
provides: uwsgi-base-3.9-container-image
requires: *uwsgi-base_3_9_requires
dependencies:
- name: system-config-upload-image-python-base-3.9
soft: true
- name: system-config-upload-image-python-builder-3.9
soft: true
vars: *uwsgi-base_3_9_vars
files: *uwsgi-base_3_9_files
- job:
name: system-config-promote-image-uwsgi-base-3.9
description: Promote a previously published uwsgi-base-3.9 image to latest.
parent: system-config-promote-image
vars: *uwsgi-base_3_9_vars
files: *uwsgi-base_3_9_files

View File

@ -118,10 +118,13 @@
soft: true
- system-config-build-image-python-base-3.7
- system-config-build-image-python-base-3.8
- system-config-build-image-python-base-3.9
- system-config-build-image-python-builder-3.7
- system-config-build-image-python-builder-3.8
- system-config-build-image-python-builder-3.9
- system-config-build-image-uwsgi-base-3.7
- system-config-build-image-uwsgi-base-3.8
- system-config-build-image-uwsgi-base-3.9
check-arm64:
jobs:
- system-config-run-base-arm64
@ -233,10 +236,13 @@
soft: true
- system-config-upload-image-python-base-3.7
- system-config-upload-image-python-base-3.8
- system-config-upload-image-python-base-3.9
- system-config-upload-image-python-builder-3.7
- system-config-upload-image-python-builder-3.8
- system-config-upload-image-python-builder-3.9
- system-config-upload-image-uwsgi-base-3.7
- system-config-upload-image-uwsgi-base-3.8
- system-config-upload-image-uwsgi-base-3.9
promote:
jobs:
- opendev-promote-docs
@ -254,10 +260,13 @@
- system-config-promote-image-refstack
- system-config-promote-image-python-base-3.7
- system-config-promote-image-python-base-3.8
- system-config-promote-image-python-base-3.9
- system-config-promote-image-python-builder-3.7
- system-config-promote-image-python-builder-3.8
- system-config-promote-image-python-builder-3.9
- system-config-promote-image-uwsgi-base-3.7
- system-config-promote-image-uwsgi-base-3.8
- system-config-promote-image-uwsgi-base-3.9
- infra-prod-install-ansible
- infra-prod-base
- infra-prod-letsencrypt