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

is generator: add possibility to generate custom tags, and to specify target dir #125

Merged
merged 2 commits into from
May 20, 2024

Conversation

zmiklank
Copy link
Contributor

@zmiklank zmiklank commented May 13, 2024

Custom tags are needed for backwards compatibility - some of our imagestream tags are already shipped, but are in non-strandard format. We need to make sure we provide these tags in full lifecycle of the image. Until now stream generator was able to generate only standard tags in format - (e.g., 16-el8). With adding custom tags feature we can now specify full tag name any format we like.
See, e.g., in here: sclorg/s2i-nodejs-container#427.

Copy link
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this pull request.

It would be nice to add into description also some examples, how the imagestream.yaml file is going to be changed.

The code is pretty hard to read. I would prefer to have one class with
one or two methods. Many fields are repeated in CustomTag and LatestTag classes.

Copy link
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finishing this PR. LGTM. Test are passing.

@phracek phracek merged commit 3926181 into sclorg:master May 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants