mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
Add Service Fabric SDK to windows 2022 (#4812)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user