From 43b8acbe87877b93020e0329bbe104cd3d33d944 Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Mon, 26 Oct 2026 19:06:53 +0000 Subject: [PATCH] fix(image): drop the ci Dockerfile comment edit and the empty f-strings A comment edit in images/ci/Dockerfile is an image input, so the bump check wants a version bump and a rebuild for nothing; the stale base comment waits for the next real ci change. Two test strings had no interpolation (pylint f-string-without-interpolation). Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm --- images/ci/Dockerfile | 3 ++- tests/scripts/test_check_image_versions.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/images/ci/Dockerfile b/images/ci/Dockerfile index b4e7aae..0797001 100644 --- a/images/ci/Dockerfile +++ b/images/ci/Dockerfile @@ -30,7 +30,8 @@ # Layers: each COPY / RUN below is one layer, and a layer is pushed as one request, # so it must stay below Cloudflare's 100 MB request-body limit on git.rkdr.net. The # build stage prints the sizes it will copy; the first push is the real test. -# Base image: ubuntu:26.04 index digest as of 2026-10-26, same as molecule-ubuntu2604. +# Base image: ubuntu:24.04 index digest as of 2026-10-24 (24.04.5), same as the +# molecule image. FROM ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944 AS os diff --git a/tests/scripts/test_check_image_versions.py b/tests/scripts/test_check_image_versions.py index ad82366..6d2e09c 100644 --- a/tests/scripts/test_check_image_versions.py +++ b/tests/scripts/test_check_image_versions.py @@ -259,8 +259,8 @@ class PureTest(unittest.TestCase): cases = { f"FROM --platform=linux/amd64 ubuntu:26.04@{digest} AS a\nFROM a AS b\n": (["26.04"], 0), f"FROM docker.io/library/ubuntu:24.04@{digest}\n": (["24.04"], 0), - f"FROM ubuntu:24.04 AS ubuntu\nFROM ubuntu AS x\n": (["24.04"], 0), - f"FROM golang:1.22 AS b\nFROM ubuntu:24.04\n": (["24.04"], 1), + "FROM ubuntu:24.04 AS ubuntu\nFROM ubuntu AS x\n": (["24.04"], 0), + "FROM golang:1.22 AS b\nFROM ubuntu:24.04\n": (["24.04"], 1), "ARG B=ubuntu:26.04\nFROM ubuntu:24.04 AS a\nFROM ${B} AS b\n": (["24.04"], 1), "FROM ubuntu:${REL}\n": ([], 1), "FROM ubuntu:24.04\nRUN <