Skip to content

Use manifest for quay.io/tiran/cpython_autoconf instead of tag #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions run_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")


Expand Down Expand Up @@ -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"],
)
Expand Down Expand Up @@ -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"),
Expand Down