Skip to content

Use a local registry for integration tests - #2295

Merged
dmikusa merged 1 commit into
mainfrom
use-local-registry-for-tests
Aug 5, 2026
Merged

Use a local registry for integration tests#2295
dmikusa merged 1 commit into
mainfrom
use-local-registry-for-tests

Conversation

@dmikusa

@dmikusa dmikusa commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Replaces ttl.sh with a local Docker registry (registry:2 on localhost:5000) for publishing the test buildpack during the Tests workflow. ttl.sh has 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.yml
    • Adds a "Disable containerd snapshotter" step that also configures localhost:5000 as an insecure registry (mirroring the approach in github-config).
    • Adds a "Start Local Registry" step that starts registry:2 on localhost:5000 with a readiness check.
    • Publishes the test buildpack to localhost:5000/paketo-java-test-<version>-<random>:latest instead of ttl.sh/....
    • Renames the ttl-image-tag step output to image-tag (BP_UNDER_TEST now reads steps.package-buildpack.outputs.image-tag).
  • pb-create-package.yml: renames the dead TTL_SH_PUBLISH branch (unused, since PUBLISH=true there).

The multi-arch pack buildpack package --publish path is preserved for the composite java buildpack.

Validation

The Tests workflow runs on push and will validate the new approach in CI.


Disclaimer: This pull request was generated with AI and reviewed by a human.

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.
@dmikusa
dmikusa requested a review from a team as a code owner August 5, 2026 13:06
@dmikusa dmikusa added semver:patch A change requiring a patch version bump type:bug A general bug labels Aug 5, 2026
@dmikusa
dmikusa merged commit 4b04065 into main Aug 5, 2026
6 checks passed
@dmikusa
dmikusa deleted the use-local-registry-for-tests branch August 5, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:patch A change requiring a patch version bump type:bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants