cog
086f271d - use GHCR mirror for cog-base images in integration tests (#2866)

Commit
36 days ago
use GHCR mirror for cog-base images in integration tests (#2866) * add workflow to mirror cog-base images from r8.im to GHCR Add a workflow_dispatch workflow that copies cog-base images from r8.im to ghcr.io/replicate/cog/cog-base using crane. Uses GITHUB_TOKEN for GHCR authentication. The list of tags to mirror is in integration-tests/cog-base-tags.txt (4 CPU + 6 GPU base images used by integration tests). Run this workflow from Actions > Mirror cog-base images > Run workflow when new cog-base images are published or new tags are added. * use GHCR mirror for cog-base images in integration tests Set COG_REGISTRY_HOST=ghcr.io/replicate/cog in CI so integration tests resolve cog-base images from GHCR instead of r8.im. CI changes: - Set COG_REGISTRY_HOST in the integration test job env Harness changes: - Add COG_REGISTRY_HOST to propagatedEnvVars so cog serve inherits it Test simplification: - 5 tests no longer need per-test registries since they can resolve cog-base images from the GHCR mirror via COG_REGISTRY_HOST: build_base_image_sha, build_cog_version_match, build_python313_base_image, torch_cuda_baseimage, torch_baseimage_fallback
Author
Parents
Loading