mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-13 11:38:33 -05:00
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:
9
scripts/CleanupKubernetesTarget.ps1
Normal file
9
scripts/CleanupKubernetesTarget.ps1
Normal 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"
|
||||
Reference in New Issue
Block a user