Add Service Fabric SDK to windows 2022 (#4812)

This commit is contained in:
Mikhail Timofeev
2021-12-27 23:12:44 +03:00
committed by GitHub
parent 3ff9488146
commit bb56fb7ef4
3 changed files with 13 additions and 5 deletions

View File

@@ -110,6 +110,7 @@ $toolsList = @(
(Get-PackerVersion), (Get-PackerVersion),
(Get-PulumiVersion), (Get-PulumiVersion),
(Get-RVersion), (Get-RVersion),
(Get-ServiceFabricSDKVersion),
(Get-StackVersion), (Get-StackVersion),
(Get-SVNVersion), (Get-SVNVersion),
(Get-VSWhereVersion), (Get-VSWhereVersion),
@@ -122,8 +123,7 @@ $toolsList = @(
if ((Test-IsWin16) -or (Test-IsWin19)) { if ((Test-IsWin16) -or (Test-IsWin19)) {
$toolsList += @( $toolsList += @(
(Get-GoogleCloudSDKVersion), (Get-GoogleCloudSDKVersion),
(Get-ParcelVersion), (Get-ParcelVersion)
(Get-ServiceFabricSDKVersion)
) )
} }
$markdown += New-MDList -Style Unordered -Lines ($toolsList | Sort-Object) $markdown += New-MDList -Style Unordered -Lines ($toolsList | Sort-Object)

View File

@@ -130,7 +130,7 @@ Describe "Sbt" {
} }
} }
Describe "ServiceFabricSDK" -Skip:(Test-IsWin22) { Describe "ServiceFabricSDK" {
It "PowerShell Module" { It "PowerShell Module" {
Get-Module -Name ServiceFabric -ListAvailable | Should -Not -BeNullOrEmpty Get-Module -Name ServiceFabric -ListAvailable | Should -Not -BeNullOrEmpty
} }
@@ -176,7 +176,7 @@ Describe "VCRedist" -Skip:(Test-IsWin22) {
} }
} }
Describe "WebPlatformInstaller" -Skip:(Test-IsWin22) { Describe "WebPlatformInstaller" {
It "WebPlatformInstaller" { It "WebPlatformInstaller" {
"WebPICMD" | Should -ReturnZeroExitCode "WebPICMD" | Should -ReturnZeroExitCode
} }

View File

@@ -147,7 +147,8 @@
"type": "powershell", "type": "powershell",
"scripts": [ "scripts": [
"{{ template_dir }}/scripts/Installers/Install-Docker.ps1", "{{ template_dir }}/scripts/Installers/Install-Docker.ps1",
"{{ template_dir }}/scripts/Installers/Install-PowershellCore.ps1" "{{ template_dir }}/scripts/Installers/Install-PowershellCore.ps1",
"{{ template_dir }}/scripts/Installers/Install-WebPlatformInstaller.ps1"
] ]
}, },
{ {
@@ -180,6 +181,13 @@
"{{ template_dir }}/scripts/Installers/Install-Kotlin.ps1" "{{ template_dir }}/scripts/Installers/Install-Kotlin.ps1"
] ]
}, },
{
"type": "powershell",
"scripts": [
"{{ template_dir }}/scripts/Installers/Install-ServiceFabricSDK.ps1"
],
"execution_policy": "remotesigned"
},
{ {
"type": "windows-restart", "type": "windows-restart",
"restart_timeout": "10m" "restart_timeout": "10m"