Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Docker Hub repository to heroku/buildpack-procfile #219

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Mar 13, 2024

To match the naming used by our other CNBs, and the new GitHub repo name for this CNB.

The change to the repo metadata here will cause new versions to be published to the new repo instead.

The existing tags on the old repo have been copied over already using:
crane copy --all-tags --jobs 1 docker.io/heroku/procfile-cnb docker.io/heroku/buildpack-procfile

(the --jobs 1 was to ensure the tags appear in the correct order when sorted by push date)

See:
https://hub.docker.com/r/heroku/procfile-cnb/tags
https://hub.docker.com/r/heroku/buildpack-procfile/tags

Once this PR has merged, I'll update the index to reference the new repo for old versions too:
https://github.com/buildpacks/registry-index/blob/main/pr/oc/heroku_procfile

GUS-W-15241542.

To match the naming used by our other CNBs, and the new GitHub repo name
for this CNB.

The change to the repo metadata here will cause new versions to be published
to the new repo instead.

The existing tags on the old repo have been copied over already using:
`crane copy --all-tags --jobs 1 docker.io/heroku/procfile-cnb docker.io/heroku/buildpack-procfile`

(the `--jobs 1` was to ensure the tags appear in the correct order when sorted
by push date)

Once this PR has merged, I'll update the index to reference the new repo for
old versions too:
https://github.com/buildpacks/registry-index/blob/main/pr/oc/heroku_procfile

GUS-W-15241542.
@edmorley edmorley self-assigned this Mar 13, 2024
@edmorley edmorley changed the title Switch Docker Hub repository to heroku/buildpacks-procfile Switch Docker Hub repository to heroku/buildpack-procfile Mar 13, 2024
@edmorley edmorley marked this pull request as ready for review March 13, 2024 07:57
@edmorley edmorley requested a review from a team as a code owner March 13, 2024 07:57
@edmorley edmorley enabled auto-merge (squash) March 13, 2024 07:58
@edmorley edmorley merged commit 4246a0b into main Mar 13, 2024
4 checks passed
@edmorley edmorley deleted the edmorley/migrate-docker-repo branch March 13, 2024 09:22
edmorley added a commit to edmorley/registry-index that referenced this pull request Mar 13, 2024
The `heroku/procfile` buildpack has moved:
heroku/buildpacks-procfile#219

From:
https://hub.docker.com/r/heroku/procfile-cnb/tags

To:
https://hub.docker.com/r/heroku/buildpack-procfile/tags

All tags have been copied verbatim using `crane copy`.

The Buildpack API now handles changes to entries it has already
imported (thanks to the fixes made as part of buildpacks#5767).

Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com>
@edmorley
Copy link
Member Author

Once this PR has merged, I'll update the index to reference the new repo for old versions too:
https://github.com/buildpacks/registry-index/blob/main/pr/oc/heroku_procfile

buildpacks/registry-index#7602

@edmorley
Copy link
Member Author

edmorley commented Mar 25, 2024

In buildpacks/registry-index#7602 the buildpack registry entries have been updated to reference the new Docker Hub repo name, meaning all historic releases on the registry now reference the new repo location, eg:
https://registry.buildpacks.io/api/v1/buildpacks/heroku/procfile/0.6.0

The Docker Hub stats for the old repo show no new pulls since that merged, so I've made the old repo private - and will delete the old repo in a few days unless any issues are reported.

lukaszo added a commit to koyeb/builder that referenced this pull request May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants