Merge branch 'main' into releases/win19/20200827-docs

This commit is contained in:
Actions service account
2020-09-02 13:29:38 +00:00
25 changed files with 223 additions and 106 deletions

View File

@@ -211,6 +211,7 @@
"{{ template_dir }}/scripts/Installers/Install-AliyunCli.ps1",
"{{ template_dir }}/scripts/Installers/Install-PostgreSQL.ps1",
"{{ template_dir }}/scripts/Installers/Install-Packer.ps1",
"{{ template_dir }}/scripts/Installers/Install-Pulumi.ps1",
"{{ template_dir }}/scripts/Installers/Install-JavaTools.ps1"
]
},

View File

@@ -200,6 +200,7 @@
"{{ template_dir }}/scripts/Installers/Install-NodeLts.ps1",
"{{ template_dir }}/scripts/Installers/Install-7zip.ps1",
"{{ template_dir }}/scripts/Installers/Install-Packer.ps1",
"{{ template_dir }}/scripts/Installers/Install-Pulumi.ps1",
"{{ template_dir }}/scripts/Installers/Install-JavaTools.ps1"
]
},

View File

@@ -6,7 +6,7 @@
Import-Module -Name ImageHelpers -Force
$InstallerName = "DacFramework.msi"
$InstallerUrl = "https://go.microsoft.com/fwlink/?linkid=2128142"
$InstallerUrl = "https://go.microsoft.com/fwlink/?linkid=2134206"
Install-Binary -Url $InstallerUrl -Name $InstallerName

View File

@@ -8,4 +8,4 @@ $googleCloudSDKInstaller = "https://dl.google.com/dl/cloudsdk/channels/rapid/Goo
$argumentList = @("/S", "/allusers", "/noreporting")
Install-Binary -Url $googleCloudSDKInstaller -Name "GoogleCloudSDKInstaller.exe" -ArgumentList $argumentList
Invoke-PesterTests -TestFile "Tools" -TestName "GoogleCouldSDK"
Invoke-PesterTests -TestFile "Tools" -TestName "GoogleCloudSDK"

View File

@@ -0,0 +1,8 @@
################################################################################
## File: Install-Pulumi.ps1
## Desc: Install Pulumi
################################################################################
Choco-Install -PackageName pulumi
Invoke-PesterTests -TestFile "Tools" -TestName "Pulumi"

View File

@@ -94,6 +94,7 @@ $markdown += New-MDList -Style Unordered -Lines @(
(Get-NewmanVersion),
(Get-OpenSSLVersion),
(Get-PackerVersion),
(Get-PulumiVersion),
(Get-SQLPSVersion),
(Get-SQLServerPSVersion),
(Get-SVNVersion),

View File

@@ -107,6 +107,10 @@ function Get-PackerVersion {
return "Packer $(packer --version)"
}
function Get-PulumiVersion {
return "Pulumi $(pulumi version)"
}
function Get-SQLPSVersion {
$module = Get-Module -Name SQLPS -ListAvailable
$version = $module.Version
@@ -222,7 +226,9 @@ function Get-NewmanVersion {
}
function Get-GHVersion {
return "GitHub CLI $(gh --version)"
($(gh --version) | Select-String -Pattern "gh version") -match "gh version (?<version>\d+\.\d+\.\d+)" | Out-Null
$ghVersion = $Matches.Version
return "GitHub CLI $ghVersion"
}
function Get-VisualCPPComponents {

View File

@@ -130,7 +130,7 @@ Describe "InnoSetup" {
}
}
Describe "GoogleCouldSDK" {
Describe "GoogleCloudSDK" {
It "<ToolName>" -TestCases @(
@{ ToolName = "bq" }
@{ ToolName = "gcloud" }
@@ -187,6 +187,12 @@ Describe "PowerShell Core" {
}
}
Describe "Pulumi" {
It "pulumi" {
"pulumi version" | Should -ReturnZeroExitCode
}
}
Describe "Sbt" {
It "sbt" {
"sbt --version" | Should -ReturnZeroExitCode

View File

@@ -120,7 +120,8 @@
"3.5.0",
"3.8.0",
"4.3.0",
"4.4.0"
"4.4.0",
"4.6.0"
]
}
],

View File

@@ -129,7 +129,8 @@
"3.5.0",
"3.8.0",
"4.3.0",
"4.4.0"
"4.4.0",
"4.6.0"
]
}
],