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

Enable a publishing with a rolling tag #1252

Open
dmikusa opened this issue Aug 14, 2023 · 0 comments
Open

Enable a publishing with a rolling tag #1252

dmikusa opened this issue Aug 14, 2023 · 0 comments
Labels
type:enhancement A general enhancement

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Aug 14, 2023

Describe the Enhancement

When publishing code updates, there are some scenarios where it is helpful to have a tag that rolls and updates automatically (like container image tags). Ex: v2 always points to the latest v2.x.x. Enable pipeline builder to support this scenario.

Possible Solution

  1. Add a pipeline-descriptor property. When enabled, this will trigger the publishing job to run, look at a particular set of tags (probably based on a prefix), find the most recent tag and then update the rolling tag to it.

  2. This won't apply to buildpack publishing, just for publishing libraries or publishing binaries.

Motivation

For octo, we often just want it to use the "latest", but that is confusing because we have different major branches. This feature would enable us to say something like go install github.com/paketo-buildpacks/pipeline-builder/octo@v2-latest and every time that CI job runs, it'll fetch the latest branch.

@dmikusa dmikusa added the type:enhancement A general enhancement label Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant