From df4f11393b33cd41c4abd42285e6f845b016560c Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 14 Oct 2022 14:34:03 -0700 Subject: [PATCH] Drop python 3.8 base image builds Python 3.11 is coming up and running image builds for all the pythons gets overwhelming fast. We end up with so many jobs that landing any one change to our base images becomes difficult. To reduce the total count we remove builds for 3.8 to make room for 3.11. Only a few things appear to still be using the 3.8 images and their updates are all listed as depends on below. Depends-On: https://review.opendev.org/c/opendev/gerritbot/+/861474 Depends-On: https://review.opendev.org/c/opendev/grafyaml/+/861475 Depends-On: https://review.opendev.org/c/opendev/statusbot/+/861476 Depends-On: https://review.opendev.org/c/zuul/zuul-client/+/861477 Depends-On: https://review.opendev.org/c/zuul/zuul-operator/+/861478 Depends-On: https://review.opendev.org/c/zuul/zuul-registry/+/861479 Change-Id: Ifa44ed0586f54b7ee4d6e37ba32235d63a30addb --- zuul.d/docker-images/python-3.8-bullseye.yaml | 135 ------------------ zuul.d/project.yaml | 9 -- 2 files changed, 144 deletions(-) delete mode 100644 zuul.d/docker-images/python-3.8-bullseye.yaml diff --git a/zuul.d/docker-images/python-3.8-bullseye.yaml b/zuul.d/docker-images/python-3.8-bullseye.yaml deleted file mode 100644 index 69d5f9fa1f..0000000000 --- a/zuul.d/docker-images/python-3.8-bullseye.yaml +++ /dev/null @@ -1,135 +0,0 @@ -# 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 - timeout: 3600 - 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 - timeout: 3600 - 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 - timeout: 3600 - 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 - timeout: 3600 - 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 - timeout: 3600 - 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 - timeout: 3600 - 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 diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 88fd57315c..a38a8053b3 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -143,13 +143,10 @@ - name: opendev-buildset-registry - name: system-config-build-image-python-builder-3.9-bullseye soft: true - - system-config-build-image-python-base-3.8-bullseye - system-config-build-image-python-base-3.9-bullseye - system-config-build-image-python-base-3.10-bullseye - - system-config-build-image-python-builder-3.8-bullseye - system-config-build-image-python-builder-3.9-bullseye - system-config-build-image-python-builder-3.10-bullseye - - system-config-build-image-uwsgi-base-3.8-bullseye - system-config-build-image-uwsgi-base-3.9-bullseye - system-config-build-image-uwsgi-base-3.10-bullseye check-arm64: @@ -283,13 +280,10 @@ - name: opendev-buildset-registry - name: system-config-upload-image-python-builder-3.9-bullseye soft: true - - system-config-upload-image-python-base-3.8-bullseye - system-config-upload-image-python-base-3.9-bullseye - system-config-upload-image-python-base-3.10-bullseye - - system-config-upload-image-python-builder-3.8-bullseye - system-config-upload-image-python-builder-3.9-bullseye - system-config-upload-image-python-builder-3.10-bullseye - - system-config-upload-image-uwsgi-base-3.8-bullseye - system-config-upload-image-uwsgi-base-3.9-bullseye - system-config-upload-image-uwsgi-base-3.10-bullseye promote: @@ -309,13 +303,10 @@ - system-config-promote-image-refstack - system-config-promote-image-ircbot - system-config-promote-image-matrix-eavesdrop - - system-config-promote-image-python-base-3.8-bullseye - system-config-promote-image-python-base-3.9-bullseye - system-config-promote-image-python-base-3.10-bullseye - - system-config-promote-image-python-builder-3.8-bullseye - system-config-promote-image-python-builder-3.9-bullseye - system-config-promote-image-python-builder-3.10-bullseye - - system-config-promote-image-uwsgi-base-3.8-bullseye - system-config-promote-image-uwsgi-base-3.9-bullseye - system-config-promote-image-uwsgi-base-3.10-bullseye