-
Notifications
You must be signed in to change notification settings - Fork 256
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
Publish release artifacts with manifests #1722
Comments
/triage accepted |
/help |
hey I would like to contribute to it if someone has not picked it up yet |
Go for it! |
/assign |
@lentzi90 : should we do it for previous release branches as well , or current one only? |
@babugeet are you working together with @7h3-3mp7y-m4n ? If not, please let @7h3-3mp7y-m4n get a chance to work on this first. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Ok if we are going to do this with release artifacts we will need to do some more changes. The tricky part is that we cannot include configuration in the release artifacts. Currently we have a default config mixed in with the manifests. This does not make sense to include in the release artifacts IMO. We should handle it the same as the secrets I think. I.e. the manifests expect the configmap to exist but it is up to the user to create/add it in some way. With that fixed I think we can do release artifacts and set the image there. (Side note: we should then use those release artifacts in CAPM3 e2e also.) Edit: I realize I didn't explain why it may be tricky to do this. It is because of metal3-dev-env. It directly modifies the default config here: https://github.com/metal3-io/metal3-dev-env/blob/0b07f57d8bc1fe9596c748b58ac01c75f6eb93d6/03_launch_mgmt_cluster.sh#L64-L70 |
Let's just make it absolutely clear what this ticket is about. So remove the other option and put in the Lennarts comment etc. It also does not sound that it is good first issue anymore, so adjust the labels accordingly. |
/remove-help |
What steps did you take and what happened:
As seen in metal3-io/metal3-docs#414 we are not setting the image tag in the manifests. This is fine for the main branch, but it is not ideal for release branches and tags.
I think we should set the image tag always on release branches to the same as the release branch and for tags to the exact tag.Otherwise a user trying to apply manifests from
release-0.6
for example, will end up with the latest container image frommain
.We should publishing release artifacts where the correct image tag is used. Currently we have a default config mixed in with the manifests. This does not make sense to include in the release artifacts IMO. We should handle it the same as the secrets. I.e. the manifests expect the configmap to exist but it is up to the user to create/add it in some way.
With that fixed I think we can do release artifacts and set the image there.
What did you expect to happen:
When using manifests from a specific branch or tag, the corresponding container image should be used.
We should probably include this in the release process.
/kind bug
The text was updated successfully, but these errors were encountered: