mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Merge pull request #571 from dmitry-shibanov/v-dmshib/add-Helm-win
Add helm installation
This commit is contained in:
@@ -14,3 +14,7 @@ Install-Package -Name docker -ProviderName DockerMsftProvider -Force
|
||||
Start-Service docker
|
||||
|
||||
choco install docker-compose -y
|
||||
|
||||
# Install helm
|
||||
Write-Host "Install Helm"
|
||||
choco install kubernetes-helm
|
||||
@@ -44,3 +44,25 @@ _Environment:_
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
# Validate helm
|
||||
if (Get-Command -Name 'helm')
|
||||
{
|
||||
Write-Host "helm on path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host 'helm is not on path'
|
||||
exit 1
|
||||
}
|
||||
|
||||
$version = $(helm version --short)
|
||||
$SoftwareName = "Helm"
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $version<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of helm
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
Reference in New Issue
Block a user