Files
sqltoolsservice/scripts/CleanupKubernetesTarget.ps1
Karl Burtram 62a519cab5 Enable docker container support in VSO integration tests (#590)
* Add container scripts for VSO builds

* Remove relative path from kubectl.exe

* Use a variable and iex for kubectl path

* Use envvar for working dir path

* Try agent directory

* Update kubeconfig path

* Write connection settings json in build script

* Output logging

* remove _work prefix

* End end point instead of service name

* Disable failing tests

* Change service name prefix so it's different than SSMS containers
2018-03-15 12:48:39 -07:00

10 lines
242 B
PowerShell

Param (
$svcName = $env:k8ServiceName
)
$env:KUBECONFIG = $env:AGENT_WORKFOLDER + "\kubeconfig.centralus.json"
$kube = $env:AGENT_WORKFOLDER + "\kubectl.exe"
iex "$kube delete service $svcName"
iex "$kube delete deployment $svcName"