-
Notifications
You must be signed in to change notification settings - Fork 277
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
feat: adds windows server 2022 #756
Conversation
Welcome @nick5616! |
Hi @nick5616. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@nick5616 Thanks for the PR! /ok-to-test |
docker/BASEIMAGE
Outdated
@@ -4,3 +4,5 @@ windows/amd64/1809=mcr.microsoft.com/windows/nanoserver:1809 | |||
windows/amd64/1903=mcr.microsoft.com/windows/nanoserver:1903 | |||
windows/amd64/1909=mcr.microsoft.com/windows/nanoserver:1909 | |||
windows/amd64/2004=mcr.microsoft.com/windows/nanoserver:2004 | |||
windows/amd64/2004=mcr.microsoft.com/windows/nanoserver:ltsc2022 | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove extra new line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR. Just one small nit!
@aramase @tam7t We are not testing/validating these kind of changes anywhere. Should we add |
@nilekhc docker manifest inspect k8sprow.azurecr.io/driver:v1.0.0-e2e-d4245ff6
{
"schemaVersion": 2,
"mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
"manifests": [
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 952,
"digest": "sha256:0797874d8647fd1ac1f4d7039194cc877db5f37f27a4bdec9f204cadf220333f",
"platform": {
"architecture": "amd64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 952,
"digest": "sha256:e89f2d904e3acdcb69e1f140f8a585cb6fd1fc5daa067e5814c154be43ba03ab",
"platform": {
"architecture": "arm64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 951,
"digest": "sha256:51e95d8f7ec36e52b9d242baec871b605fef9c099f92433805d6b32ddf33f69b",
"platform": {
"architecture": "amd64",
"os": "windows",
"os.version": "10.0.17763.2183"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 951,
"digest": "sha256:999f6dac5c4dd86b0423db3f9cc1e0017f357a8545b6a793d3699b1244457d5f",
"platform": {
"architecture": "amd64",
"os": "windows",
"os.version": "10.0.18362.1256"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 951,
"digest": "sha256:20383a1cd645857c8a1f624ecfeb66dbc3adea71c0600019b197254f7e5f023b",
"platform": {
"architecture": "amd64",
"os": "windows",
"os.version": "10.0.18363.1556"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 951,
"digest": "sha256:66fa6fd6dc996fe674d94f70e036ea021e7e4f1c63e080d8b0116892a346f8c9",
"platform": {
"architecture": "amd64",
"os": "windows",
"os.version": "10.0.19041.1237"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 951,
"digest": "sha256:8940fd99597ba20e0c08aa97f24b5ecbe0b3fea23d455f383f5a6129d7dbf9a1",
"platform": {
"architecture": "amd64",
"os": "windows",
"os.version": "10.0.20348.230"
}
}
]
} |
Got it. Tests are covered as part of |
/lgtm /hold |
docker/BASEIMAGE
Outdated
@@ -4,3 +4,4 @@ windows/amd64/1809=mcr.microsoft.com/windows/nanoserver:1809 | |||
windows/amd64/1903=mcr.microsoft.com/windows/nanoserver:1903 | |||
windows/amd64/1909=mcr.microsoft.com/windows/nanoserver:1909 | |||
windows/amd64/2004=mcr.microsoft.com/windows/nanoserver:2004 | |||
windows/amd64/2004=mcr.microsoft.com/windows/nanoserver:ltsc2022 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: please add newline.
Earlier there were two newlines and only one was expected to remove. EOF is expected to have a newline.
docker/BASEIMAGE_CORE
Outdated
@@ -2,3 +2,4 @@ windows/amd64/1809=gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1 | |||
windows/amd64/1903=gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1.0-linux-amd64-1903 | |||
windows/amd64/1909=gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1.0-linux-amd64-1909 | |||
windows/amd64/2004=gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1.0-linux-amd64-2004 | |||
windows/amd64/ltsc2022=gcr.io/k8s-staging-e2e-test-images/windows-servercore-cache:1.0-linux-amd64-ltsc2022 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: please add newline.
Removed extra lines
* ci: debug Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> * ci: tests inplace upgrade Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> * ci: debug Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> * test: fixes inplace upgrade test Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> * test: removes debug Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> added single new line
/label tide/merge-method-squash @nick5616 this is the label I was referring to for squash ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
I think we should also cherry pick this to |
/hold cancel |
/unhold |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nick5616, tam7t The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@nick5616 Could you also cherry pick this PR to the Run the following command and that'll create the PR automatically export GITHUB_USER=<github user name>
hack/cherry_pick_pull.sh upstream/release-1.0 756 |
* feat: adds windows server 2022 * Removed extra lines * feat: adds windows server 2022 Removed extra lines * fix: inplace upgrade test (#752) * ci: debug Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> * ci: tests inplace upgrade Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> * ci: debug Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> * test: fixes inplace upgrade test Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> * test: removes debug Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> added single new line * Revert #752 changes Co-authored-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
What this PR does / why we need it:
Adds Windows Server 2022 to
Makefile
,BASEIMAGE
, andBASEIMAGE_CORE
Which issue(s) this PR fixes (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):Fixes #
Special notes for your reviewer:
ltsc2022 is the MCR tag for Windows Server 2022
https://hub.docker.com/_/microsoft-windows-nanoserver
There is a PR for the same thing here: kubernetes-sigs/azuredisk-csi-driver#1030