Use a local registry for integration tests - #2295
Merged
Merged
Conversation
Replace ttl.sh with a local registry (registry:2 on localhost:5000) for publishing test buildpacks during the integration tests workflow. ttl.sh has been intermittently unavailable, causing the Tests workflow to fail when publishing multi-arch buildpacks. A local registry is started as part of the workflow, the buildpack is published to it with pack --publish, and the integration tests pull from it. This removes the dependency on ttl.sh while preserving the multi-arch publish path used for the composite java buildpack. Also disables Docker's containerd snapshotter and configures localhost:5000 as an insecure registry, mirroring the approach used in github-config.
anthonydahanne
approved these changes
Aug 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
Replaces
ttl.shwith a local Docker registry (registry:2onlocalhost:5000) for publishing the test buildpack during the Tests workflow.ttl.shhas been intermittently unavailable (see replicatedhq/ttl.sh#193), which caused the Tests workflow to fail when publishing the multi-arch buildpack image.Changes
pb-tests.ymllocalhost:5000as an insecure registry (mirroring the approach ingithub-config).registry:2onlocalhost:5000with a readiness check.localhost:5000/paketo-java-test-<version>-<random>:latestinstead ofttl.sh/....ttl-image-tagstep output toimage-tag(BP_UNDER_TESTnow readssteps.package-buildpack.outputs.image-tag).pb-create-package.yml: renames the deadTTL_SH_PUBLISHbranch (unused, sincePUBLISH=truethere).The multi-arch
pack buildpack package --publishpath is preserved for the composite java buildpack.Validation
The Tests workflow runs on push and will validate the new approach in CI.