simplify build script for win
This commit is contained in:
parent
6b10a5d09b
commit
57988f5329
1 changed files with 2 additions and 10 deletions
|
@ -20,15 +20,7 @@ param(
|
|||
$ROOT_DIR=(Get-Item $PSScriptRoot).Parent.FullName
|
||||
. ${ROOT_DIR}\scripts\common.ps1
|
||||
|
||||
# get config options
|
||||
Get-Content "${ROOT_DIR}\k8s_config" | Foreach-Object{
|
||||
if (! $_.StartsWith('#') ){
|
||||
$var = $_.Split('=')
|
||||
New-Variable -Name $var[0] -Value $var[1]
|
||||
}
|
||||
}
|
||||
|
||||
$QUALIFIED_NAME="${GCR_HOSTNAME}/${GCP_PROJECT}/${IMAGE_NAME}"
|
||||
$QUALIFIED_NAME="gcr.io/llvm-premerge-checks/${IMAGE_NAME}"
|
||||
|
||||
Push-Location "$PSScriptRoot\$IMAGE_NAME"
|
||||
|
||||
|
|
Loading…
Reference in a new issue