Added support for setting OS version in docker manifest annotate.#1461
Added support for setting OS version in docker manifest annotate.#1461SaswatB wants to merge 0 commit intodocker:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1461 +/- ##
=========================================
+ Coverage 54.19% 54.2% +<.01%
=========================================
Files 289 289
Lines 19377 19380 +3
=========================================
+ Hits 10502 10505 +3
Misses 8199 8199
Partials 676 676 |
|
/cc @estesp |
|
I seem to recall there was a serialized (string) format for platform, which includes all of these parts. Wondering if we need separate flags for all of these, or just a way to pass a platform string (which would then be parsed/splitted into those components) /cc @tonistiigi @stevvooe |
|
It seems we already went with having a separate flag for each field as the os features field is separate. There is a format defined for the whole platform being describe as a single string but os version is not included in that currently. |
|
@SaswatB, thanks for making the change - what is your expected timeline to have this released? |
|
ping @tonistiigi @dmcgowan PTAL |
|
This PR has been open for almost a year, I'll be closing it on October 18th if there's no interest in this being merged. |
tonistiigi
left a comment
There was a problem hiding this comment.
Patch SGTM. Not sure what is the state of manifest command in general though.
|
@SaswatB, since the change has been approved, will you be merging it soon? Thanks! |
|
@GregMialon I do not have the ability to merge this pr, someone with write access will need to do so. |
estesp
left a comment
There was a problem hiding this comment.
LGTM
Seems reasonable given os-features was already present; worth noting that only the Windows runtime uses OS features/version for specific Windows container usage. It doesn't mean someone couldn't use it privately for another use, but on Linux container runtimes (all of them that I'm aware of) these fields are never inspected.
|
@thaJeztah , will you be merging this change? Thanks |
|
@thaJeztah, sorry for the ping again - but what is missing for this to get merged? We were planning to use this for helping us when upgrading the host OS version of Windows - thanks |
|
Not sure why this got closed. This is very much needed for windows manifests. |
|
Ok, this is coming from @SaswatB's master branch, github doesn't like me rebasing this (and force closed it). I'll open on another PR. |
|
Carried in #2578 |
Signed-off-by: Saswat Bhattacharya [email protected]
- What I did
Added support for setting os.version through
docker manifest annotate.- How I did it
Created the flag
--os-versionthat can be passed intodocker manifest annotateto update the os version.- How to verify it
- Description for the changelog
Added flag
--os-versiontodocker manifest annotatefor updating os version.- A picture of a cute animal (not mandatory but encouraged)
🐱