-
Notifications
You must be signed in to change notification settings - Fork 341
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
CML docker version tagging #217
Comments
I brought this up her but was redirected here. We would like to have a pinned version. In the other issue I was asked what the pain point was, and it's true that you all have not made any backwards incompatibilities. So the pain point is merely that we have policies about pinning images and not having versions forces us to break that policy and then explain a comment why it's pinned Maybe there will never be a problem and nothing will ever be broken but it does take some "cognitive load" to remember why it's not version pinned. |
👋 @hsharrison I will review this soon |
With DVC 2.0 breaking changes this is actually very important. |
Oh yeah, have you guys already updated the image? 😬 I can tell you soon if it is causing any problems... |
@hsharrison, no worries: we haven't (yet) and we won't without considering the implications. I wonder if we could avoid shipping DVC with the base CML containers and ask users to explicitly install it, following the reasoning behind some of the comments on iterative/dvc#2774. We could also ship a DVC major version with each CML release and tag the latter, but that would (potentially) keep users tied to DVC 1 from ejoying the benefits of the new CML releases. Another option would be shipping the two most recent major versions, but the bloat might be worse than the benefits. |
@0x2b3bfa0 lets attack this definitely. We have to tag with:
Not sure about DVC So the image could be
We can also for easiness and clarity get rid off elgohr/Publish-Docker-Github-Action. Has served us very well but for this might be easier for us to all without it like we are tagging later on. We can do also #383 We should probably also freeze dvcorg/cml:latest or always stick with dvcorg/cml to be cuda 10. |
(Originally written as a Slack direct message) |
I prefer to be explicit. On thing also is that our py3 image is an image not a tag. Should we continue that way? dvcorg/cml:cuda10-dvc2 |
Excellent! Me too. 👍
If we choose this approach, I would suggest to migrate everything to tags for consistency and soft-deprecate the |
This comment has been minimized.
This comment has been minimized.
@dmpetrov, it looks like we aren't using the Once they become useful, we can start publishing images without a pinned major version, like |
When deprecating the old images, we might also want to pin the provider version here, and then release a latest version with the old tags with that change and a deprecation warning message. That would keep the current users well informed and ensure that their workflows won't break if we modify the provider. |
Unification and tagging proposalImagesHard deprecations (#383)Soft deprecations
Updated images
Tag components
Note: items in bold won't be provided for non-GPU images. Tag example
RationaleThis proposal tries to simplify the image offering by tying packages to known major versions, creating flexible labels for users to choose from, and reducing the total number of image names.
cml and cml-gpu |
Tangentially, we probably should also consider the possibility of using GitHub Environments as mentioned above for deploying |
Given that image tags should be as stable as possible over time, we probably should discuss this proposal and triple-check everything before applying any of the proposed changes. 🔔 @iterative/cml |
NPM is registering the versions properly, however DockerHub is not.
Be able to pin the exact version if CML is important to warranty the reproducibility of the workflow. Changes in
latest
may break existing workflows and enforces us to work with backward compatibilityThe text was updated successfully, but these errors were encountered: