mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 19:16:48 +00:00
Remove Windows Server 2016 related code from the repository (#5994)
This commit is contained in:
committed by
GitHub
parent
493f3c3ee1
commit
8c24b03a8d
@@ -1,7 +1,6 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
enum ImageType {
|
||||
Windows2016 = 0
|
||||
Windows2019 = 1
|
||||
Windows2022 = 2
|
||||
Ubuntu1804 = 3
|
||||
@@ -18,9 +17,6 @@ Function Get-PackerTemplatePath {
|
||||
)
|
||||
|
||||
switch ($ImageType) {
|
||||
([ImageType]::Windows2016) {
|
||||
$relativeTemplatePath = Join-Path "win" "windows2016.json"
|
||||
}
|
||||
([ImageType]::Windows2019) {
|
||||
$relativeTemplatePath = Join-Path "win" "windows2019.json"
|
||||
}
|
||||
@@ -71,7 +67,7 @@ Function GenerateResourcesAndImage {
|
||||
.PARAMETER ImageGenerationRepositoryRoot
|
||||
The root path of the image generation repository source.
|
||||
.PARAMETER ImageType
|
||||
The type of the image being generated. Valid options are: {"Windows2016", "Windows2019", "Windows2022", "Ubuntu1804", "Ubuntu2004"}.
|
||||
The type of the image being generated. Valid options are: {"Windows2019", "Windows2022", "Ubuntu1804", "Ubuntu2004", "Ubuntu2204"}.
|
||||
.PARAMETER AzureLocation
|
||||
The location of the resources being created in Azure. For example "East US".
|
||||
.PARAMETER Force
|
||||
|
||||
Reference in New Issue
Block a user