flag to pick master
This commit is contained in:
parent
548e07d5d4
commit
d91c7b653a
1 changed files with 7 additions and 1 deletions
|
@ -17,7 +17,13 @@
|
||||||
|
|
||||||
# TODO: add parameter to bootstrap buildkite or jenkins
|
# TODO: add parameter to bootstrap buildkite or jenkins
|
||||||
|
|
||||||
$NAME="agent-windows-jenkins"
|
param(
|
||||||
|
[Parameter(Mandatory=$true)]
|
||||||
|
[ValidateSet("buildkite", "jenkins")]
|
||||||
|
[string]$master
|
||||||
|
)
|
||||||
|
|
||||||
|
$NAME="agent-windows-${master}"
|
||||||
$IMAGE="gcr.io/llvm-premerge-checks/${NAME}"
|
$IMAGE="gcr.io/llvm-premerge-checks/${NAME}"
|
||||||
|
|
||||||
Write-Output "Authenticating docker..."
|
Write-Output "Authenticating docker..."
|
||||||
|
|
Loading…
Reference in a new issue