[Windows] Add more docker tests and move K8s tools into single provisioner (#2583)

* Add more docker tests

* Rework tools installation and test

* remove docker tests from tools

* get back kind installation

* transform kind download link to string

* add Add-MachinePathItem after kind installation
This commit is contained in:
Mikhail Timofeev
2021-01-29 11:38:57 +03:00
committed by GitHub
parent 0fa90a6df5
commit 2ee29eddc1
9 changed files with 64 additions and 81 deletions

View File

@@ -64,25 +64,6 @@ Describe "DACFx" {
"${sqlPackagePath}" | Should -Exist
"${sqlLocalDBPath}" | Should -Exist
}
}
Describe "Docker" {
It "<ToolName>" -TestCases @(
@{ ToolName = "docker" }
@{ ToolName = "docker-compose" }
) {
"$ToolName --version"| Should -ReturnZeroExitCode
}
It "Helm" {
"helm version --short" | Should -ReturnZeroExitCode
}
}
Describe "Kind" {
It "Kind" {
"kind version" | Should -ReturnZeroExitCode
}
}
Describe "DotnetTLS" {
@@ -113,11 +94,19 @@ Describe "Mercurial" {
}
}
Describe "KubernetesCli" {
Describe "KubernetesTools" {
It "Kind" {
"kind version" | Should -ReturnZeroExitCode
}
It "kubectl" {
"kubectl version --client=true --short=true" | Should -ReturnZeroExitCode
}
It "Helm" {
"helm version --short" | Should -ReturnZeroExitCode
}
It "minikube" {
"minikube version --short" | Should -ReturnZeroExitCode
}