From faf0c90fe682f7905bf8c65fee155a841e078dc5 Mon Sep 17 00:00:00 2001 From: Gene Kuo Date: Fri, 21 Apr 2023 12:52:16 +0900 Subject: [PATCH] Update accessbot to Use Python 3.11 Base Images This commits update accessbot Dockerfile to use Python 3.11 images instead of older 3.9 one. It's part of the effort to update Python version to 3.10 or later. Change-Id: I983ca73237b8a11ae3885505f549d8b0b16c144f --- docker/accessbot/Dockerfile | 2 +- zuul.d/docker-images/accessbot.yaml | 4 ++-- zuul.d/project.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/accessbot/Dockerfile b/docker/accessbot/Dockerfile index 4b9c75a65e..5b7fb61bf7 100644 --- a/docker/accessbot/Dockerfile +++ b/docker/accessbot/Dockerfile @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM docker.io/opendevorg/python-base:3.9-bullseye +FROM docker.io/opendevorg/python-base:3.11-bullseye RUN pip install pyyaml irc COPY accessbot.py /usr/local/bin/accessbot.py diff --git a/zuul.d/docker-images/accessbot.yaml b/zuul.d/docker-images/accessbot.yaml index 84daee7a51..5a72cd8571 100644 --- a/zuul.d/docker-images/accessbot.yaml +++ b/zuul.d/docker-images/accessbot.yaml @@ -3,7 +3,7 @@ name: system-config-build-image-accessbot description: Build a accessbot image. parent: system-config-build-image - requires: python-base-3.9-bullseye-container-image + requires: python-base-3.11-bullseye-container-image provides: accessbot-container-image vars: &accessbot_vars docker_images: @@ -17,7 +17,7 @@ name: system-config-upload-image-accessbot description: Build and upload a accessbot image. parent: system-config-upload-image - requires: python-base-3.9-bullseye-container-image + requires: python-base-3.11-bullseye-container-image provides: accessbot-container-image vars: *accessbot_vars files: *accessbot_files diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 2d32f099af..2b489729d0 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -137,7 +137,7 @@ - system-config-build-image-accessbot: dependencies: - name: opendev-buildset-registry - - name: system-config-build-image-python-base-3.9-bullseye + - name: system-config-build-image-python-base-3.11-bullseye soft: true - system-config-build-image-ircbot: dependencies: @@ -283,7 +283,7 @@ - system-config-upload-image-accessbot: dependencies: - name: opendev-buildset-registry - - name: system-config-upload-image-python-base-3.9-bullseye + - name: system-config-upload-image-python-base-3.11-bullseye soft: true - system-config-upload-image-ircbot: dependencies: