Skip to content

Commit

Permalink
Try Get-WindowsFeature goss spec twice for windows-2025
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Oct 22, 2024
1 parent 95d1483 commit 39c0497
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion images/capi/azure_targets.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VHD_TARGETS="ubuntu-2004 ubuntu-2204 ubuntu-2404 centos-7 mariner-2 azurelinux-3 rhel-8 windows-2019-containerd windows-2022-containerd"
VHD_CI_TARGETS="ubuntu-2204 ubuntu-2404 azurelinux-3 windows-2022-containerd"
SIG_TARGETS="ubuntu-2004 ubuntu-2204 ubuntu-2404 centos-7 mariner-2 azurelinux-3 rhel-8 windows-2019-containerd windows-2022-containerd windows-2025-containerd flatcar"
SIG_CI_TARGETS="ubuntu-2204 ubuntu-2404 azurelinux-3 windows-2022-containerd flatcar"
SIG_CI_TARGETS="ubuntu-2204 ubuntu-2404 azurelinux-3 windows-2022-containerd windows-2025-containerd flatcar"
SIG_GEN2_TARGETS="ubuntu-2004 ubuntu-2204 ubuntu-2404 centos-7 mariner-2 azurelinux-3 flatcar"
SIG_GEN2_CI_TARGETS="ubuntu-2204 ubuntu-2404 azurelinux-3 flatcar"
SIG_CVM_TARGETS="ubuntu-2004 ubuntu-2204 ubuntu-2404 windows-2019-containerd windows-2022-containerd"
Expand Down
4 changes: 2 additions & 2 deletions images/capi/packer/goss/goss-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ package:

#################################################################################
######## TODO: [SEPTEMBER 2024] Revert timeout to 60000ms after image GA ########
# The WS2025 preview image build is failing due to timeout issues when running
# The WS2025 preview image build is failing due to timeout issues when running
# PowerShell command to Get Windows Features.
{{ if eq .Vars.OS "windows"}} # Windows
# Workaround until windows features are added to goss
command:
{{range $name, $vers := index .Vars .Vars.OS "common-windows-features"}}
"Windows Feature - {{ $name }}":
exec: powershell -command "(Get-WindowsFeature {{ $name }} | select *)"
exec: powershell -command "(for ($i = 0; $i -lt 2; $i++) {Get-WindowsFeature {{ $name }} | select *})"
exit-status: 0
stdout: {{range $vers.expected}}
- {{.}}
Expand Down

0 comments on commit 39c0497

Please sign in to comment.