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
This commit is contained in:
Karl Burtram
2018-03-15 12:48:39 -07:00
committed by GitHub
parent 365fe2282e
commit 62a519cab5
5 changed files with 59 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
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"