-
Notifications
You must be signed in to change notification settings - Fork 24
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
Chartpress only considers tags in the current branch - it's too narrow, right? #143
Comments
I'm not so sure. Let's say we have a where there's a 1.x and main branch. The 1.x branch has The 'latest' tag in time is 1.1.2. This tag is only on the 1.x branch. The latest version tag is 2.0.0. This is only on main. Logically, the The case where we could arguably get the wrong answer is before the first tag on main is published, but after a backport release, so only Here, For publish-from-dev repos like our charts, I think the best solution might be to publish dev tags when we start the backport fork (or when we would start the backport fork, if we decide to), which would also get the right info from In short: I don't think this is a problem we should solve in chartpress. |
Update: in jupyterhub/team-compass#471 I mentioned that chartpress may need an update to produce valid helm versions from dev tags in git. But I think that's probably all we should deal with in this repo to support the tags-on-multiple-branches situation. |
Given discussion provided by @minrk above, I agree fully using all branches latest version will be messy enough to not want to go for it - I'm inclined to think either we do something that is easy to understand and reliable, or not at all - and that considering all branches isn't easy to understand or reliable. |
When chartpress considers git tags to get a version for the images/helm chart, I think the logic it use is to take the latest tag on the current branch. I think we need to assume that we should use the latest tag on any branch instead.
chartpress/chartpress.py
Lines 150 to 157 in 9eb6b0a
The text was updated successfully, but these errors were encountered: