-
Notifications
You must be signed in to change notification settings - Fork 213
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
draft: add file and test for file #5995
base: master
Are you sure you want to change the base?
Conversation
f97a342
to
1eec3c4
Compare
521e929
to
ef9c7ce
Compare
No changes to cached containers or packages on Windows VHDs |
@@ -903,6 +903,9 @@ try | |||
Clear-TempFolder | |||
Log-VHDFreeSize | |||
Test-AzureExtensions | |||
|
|||
Write-Output "creating test.txt file" | |||
Write-Output "this is a test file" > "c:\k\test.txt" |
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.
Reminder to Tim: I have to remove this once I've tested the e2e tests are running against the right VHDs.
@@ -25,6 +25,7 @@ func Test_Windows2019Containerd(t *testing.T) { | |||
ValidateFileHasContent(ctx, s, "/k/kubeletstart.ps1", "--container-runtime=remote") | |||
ValidateWindowsProcessHasCliArguments(ctx, s, "kubelet.exe", []string{"--rotate-certificates=true", "--client-ca-file=c:\\k\\ca.crt"}) | |||
ValidateCiliumIsNotRunningWindows(ctx, s) | |||
ValidateFileHasContent(ctx, s, "/k/test.txt", "this is a test file") |
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.
These are currently here to check the e2e tests are being run with the right VHD version. They will be removed before I merge the PR.
e2e/vmss.go
Outdated
s.T.Logf("vhd rgr id %s", nodeBootstrapping.SigImageConfig.ResourceGroup) | ||
s.T.Logf("vhd galler %s", nodeBootstrapping.SigImageConfig.Gallery) | ||
s.T.Logf("vhd versio %s", nodeBootstrapping.SigImageConfig.Version) | ||
s.T.Logf("vhd defini %s", nodeBootstrapping.SigImageConfig.Definition) |
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.
Reminder: remove these logs.
e2e/vmss.go
Outdated
@@ -74,6 +80,11 @@ func createVMSS(ctx context.Context, s *Scenario) *armcompute.VirtualMachineScal | |||
|
|||
s.PrepareVMSSModel(ctx, s.T, &model) | |||
|
|||
s.T.Logf("vhd rgr id %s", nodeBootstrapping.SigImageConfig.ResourceGroup) |
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.
reminder: remove these logs
@@ -181,6 +181,7 @@ steps: | |||
|
|||
make -f packer.mk test-building-vhd | |||
displayName: Run VHD cache test | |||
enabled: false |
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.
Reminder: re-enable this step.
018d245
to
059d308
Compare
No changes to cached containers or packages on Windows VHDs |
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Requirements:
Special notes for your reviewer:
Release note: