From a41e9f67159b16a5fc3e559c1467e31814d61fa2 Mon Sep 17 00:00:00 2001 From: Benjy Weinberger Date: Thu, 16 Mar 2023 17:35:51 -0700 Subject: [PATCH] Use wheel build images from GitHub Packages. (#18518) Since the Docker Hub free tier is going away. --- .github/workflows/test.yaml | 2 +- build-support/bin/generate_github_workflows.py | 2 +- pants.toml | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b0b61186dbd..a8ef057626e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -322,7 +322,7 @@ jobs: timeout-minutes: 60 build_wheels_linux_arm64: container: - image: registry.hub.docker.com/pantsbuild/wheel_build_aarch64:v3-8384c5cf + image: ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf env: PANTS_REMOTE_CACHE_READ: 'false' PANTS_REMOTE_CACHE_WRITE: 'false' diff --git a/build-support/bin/generate_github_workflows.py b/build-support/bin/generate_github_workflows.py index 55f0314648b..c42ba0f4b87 100644 --- a/build-support/bin/generate_github_workflows.py +++ b/build-support/bin/generate_github_workflows.py @@ -717,7 +717,7 @@ def build_wheels_job(platform: Platform, python_versions: list[str]) -> Jobs: # Unfortunately Equinix do not support the CentOS 7 image on the hardware we've been # generously given by the Runs on ARM program. Se we have to build in this image. container = { - "image": "registry.hub.docker.com/pantsbuild/wheel_build_aarch64:v3-8384c5cf", + "image": "ghcr.io/pantsbuild/wheel_build_aarch64:v3-8384c5cf", } else: container = None diff --git a/pants.toml b/pants.toml index fe0aeaedf75..a1e96789c14 100644 --- a/pants.toml +++ b/pants.toml @@ -1,6 +1,8 @@ [GLOBAL] print_stacktrace = true +# Temp change to force wheel build + # Enable our custom loose-source plugins. pythonpath = ["%(buildroot)s/pants-plugins"] backend_packages.add = [