chore: replace live r8.im registry with local test registry#2816
Merged
michaeldwan merged 2 commits intomainfrom Mar 5, 2026
Merged
chore: replace live r8.im registry with local test registry#2816michaeldwan merged 2 commits intomainfrom
michaeldwan merged 2 commits intomainfrom
Conversation
…tion tests Use registry-seed with crane.Copy to seed base images into a local test registry instead of hitting the live r8.im registry, which is flaky in CI. - Add registry-seed harness command supporting both local and external sources - Convert build_base_image_sha, build_cog_version_match, build_python313_base_image to seed python:3.12/3.13-slim from Docker Hub via crane - Convert torch_cuda_baseimage to use cog debug with a dummy seeded image - Fix name.Insecure missing from ParseReference in build.go (consistent with pkg/registry/)
markphelps
approved these changes
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
r8.imregistry with a local test registry seeded viacrane.Copyregistry-seedharness command that supports both local refs (alpine:latest) and external refs (docker.io/library/python:3.12-slim)name.InsecureonParseReferenceinbuild.go(consistent withpkg/registry/)Details
Four integration tests (
build_base_image_sha,build_cog_version_match,build_python313_base_image,torch_cuda_baseimage) previously depended on the live r8.im registry, causing intermittent CI failures. They now use a local test registry:python:3.12-slim/python:3.13-slimfrom Docker Hub into the local registry and do fullcog build+ predicttorch_cuda_baseimage) seedsalpine:latestas a dummy CUDA base image and verifies Dockerfile generation only viacog debug(avoids downloading multi-GB CUDA images)The
registry-seedcommand detects absolute vs relative refs by checking if the host portion before the first/contains a.or:.