Skip to content

Commit

Permalink
revert, add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
timmy-wright committed Feb 13, 2025
1 parent c3fa378 commit b0ed29e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion parts/common/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
"multiArchVersionsV2": [],
"windowsVersions": [
{
"comment": "1809 gets patches every 6 months or so. The alternative is ltsc2019 which gets patches every couple of years. Most customers use 1809, so we keep that on the VHD",
"renovateTag": "registry=https://mcr.microsoft.com, name=windows/nanoserver",
"latestVersion": "ltsc2019",
"latestVersion": "1809",
"windowsSkuMatch": "2019-containerd"
},
{
Expand Down
1 change: 1 addition & 0 deletions schemas/components.cue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ package components
}

#WindowsVersion: {
comment?: string
k8sVersion?: string
renovateTag?: string
latestVersion: string
Expand Down
4 changes: 2 additions & 2 deletions vhdbuilder/packer/windows/components_json_helpers.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,9 @@ Describe 'Tests of components.json ' {

$components.Length | Should -BeGreaterThan 0

# Pause image shouldn't change too often, so let's check that is in there.
# core images shouldn't change too often, so let's check that is in there.
$components | Should -Contain "mcr.microsoft.com/windows/servercore:ltsc2019"
$components | Should -Contain "mcr.microsoft.com/windows/nanoserver:ltsc2019"
$components | Should -Contain "mcr.microsoft.com/windows/nanoserver:1809"
}

It 'has specific WS2022 containers' {
Expand Down

0 comments on commit b0ed29e

Please sign in to comment.