mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Cleanup old markdown documenation approach (#979)
This commit is contained in:
committed by
GitHub
parent
8c8f384a61
commit
43e26fa96b
@@ -3,8 +3,7 @@
|
||||
## Desc: Validate KubernetesCli.
|
||||
################################################################################
|
||||
|
||||
|
||||
if((Get-Command -Name 'kubectl'))
|
||||
if (Get-Command -Name 'kubectl')
|
||||
{
|
||||
Write-Host "kubectl $(kubectl version --client=true --short=true) in path"
|
||||
}
|
||||
@@ -14,20 +13,7 @@ else
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "Kubectl"
|
||||
|
||||
$version = $(kubectl version --client=true --short=true)
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $version<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of kubectl.exe
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
if((Get-Command -Name 'minikube'))
|
||||
if (Get-Command -Name 'minikube')
|
||||
{
|
||||
Write-Host "minikube $(minikube version --short) in path"
|
||||
}
|
||||
@@ -37,15 +23,3 @@ else
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Adding description of the software to Markdown
|
||||
$SoftwareName = "minikube"
|
||||
|
||||
$version = $(minikube version --short=true)
|
||||
|
||||
$Description = @"
|
||||
_Version:_ $version<br/>
|
||||
_Environment:_
|
||||
* PATH: contains location of minikube.exe
|
||||
"@
|
||||
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||
|
||||
Reference in New Issue
Block a user