From 3cceed49f3971bb0d1f52f86af86945d78c25254 Mon Sep 17 00:00:00 2001 From: Seth Michael Larson Date: Wed, 15 Nov 2023 15:31:10 -0600 Subject: [PATCH] Use manifest for quay.io/tiran/cpython_autoconf instead of tag --- run_release.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/run_release.py b/run_release.py index ba716296..6de907f9 100755 --- a/run_release.py +++ b/run_release.py @@ -298,7 +298,6 @@ def check_tool(db: DbfilenameShelf, tool: str) -> None: check_latexmk = functools.partial(check_tool, tool="latexmk") check_make = functools.partial(check_tool, tool="make") check_blurb = functools.partial(check_tool, tool="blurb") -check_autoconf = functools.partial(check_tool, tool="autoconf") check_docker = functools.partial(check_tool, tool="docker") @@ -411,14 +410,16 @@ def prepare_pydoc_topics(db: DbfilenameShelf) -> None: def run_autoconf(db: DbfilenameShelf) -> None: + # Manifest corresponds to quay.io/tiran/cpython_autoconf:271 + cpython_autoconf_manifest = "1ad139f48cd382f59de0752446aea173a2311a92093d7aa9f73f77eb9726d727" subprocess.check_call( [ "docker", "run", "--rm", - "--pull=always", + "--pull=missing", f"-v{db['git_repo']}:/src", - "quay.io/tiran/cpython_autoconf:cp311", + f"quay.io/tiran/cpython_autoconf@sha256:{cpython_autoconf_manifest}", ], cwd=db["git_repo"], ) @@ -1012,7 +1013,6 @@ def _api_key(api_key): Task(check_make, "Checking make is available"), Task(check_blurb, "Checking blurb is available"), Task(check_docker, "Checking docker is available"), - Task(check_autoconf, "Checking autoconf is available"), Task(check_gpg_keys, "Checking GPG keys"), Task(check_ssh_connection, f"Validating ssh connection to {DOWNLOADS_SERVER}"), Task(check_buildbots, "Check buildbots are good"),