setup windows builds to track google-cloud-ruby (#209)
This commit is contained in:
parent
9ca53d24ff
commit
b4feeb6188
|
@ -5,4 +5,12 @@ REM * Merges run all non-acceptance tests for every library, and acceptance tes
|
|||
REM * Nightlies run all acceptance tests for every library.
|
||||
REM Currently only runs tests on 2.5.1
|
||||
|
||||
"C:\Program Files\Git\bin\bash.exe" github/google-auth-library-ruby/.kokoro/windows.sh
|
||||
SET url="https://raw.githubusercontent.com/googleapis/google-cloud-ruby/master/.kokoro/build.bat"
|
||||
|
||||
SET "download=powershell -C Invoke-WebRequest -Uri %url% -OutFile master-build.bat"
|
||||
|
||||
SET EXIT_STATUS=1
|
||||
|
||||
%download% && master-build.bat && SET EXIT_STATUS=0
|
||||
|
||||
EXIT %EXIT_STATUS%
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
# Format: //devtools/kokoro/config/proto/build.proto
|
||||
|
||||
build_file: "google-auth-library-ruby/.kokoro/build.bat"
|
||||
build_file: "google-auth-library-ruby/.kokoro/trampoline.bat"
|
||||
|
||||
# Configure the docker image for kokoro-trampoline.
|
||||
env_vars: {
|
||||
key: "TRAMPOLINE_IMAGE"
|
||||
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/windows"
|
||||
}
|
||||
|
||||
env_vars: {
|
||||
key: "TRAMPOLINE_BUILD_FILE"
|
||||
value: "github/google-auth-library-ruby/.kokoro/build.bat"
|
||||
}
|
||||
|
||||
env_vars: {
|
||||
key: "REPO_DIR"
|
||||
value: "google-auth-library-ruby"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
# Format: //devtools/kokoro/config/proto/build.proto
|
||||
|
||||
build_file: "google-auth-library-ruby/.kokoro/build.bat"
|
||||
build_file: "google-auth-library-ruby/.kokoro/trampoline.bat"
|
||||
|
||||
# Configure the docker image for kokoro-trampoline.
|
||||
env_vars: {
|
||||
key: "TRAMPOLINE_IMAGE"
|
||||
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/windows"
|
||||
}
|
||||
|
||||
env_vars: {
|
||||
key: "TRAMPOLINE_BUILD_FILE"
|
||||
value: "github/google-auth-library-ruby/.kokoro/build.bat"
|
||||
}
|
||||
|
||||
env_vars: {
|
||||
key: "REPO_DIR"
|
||||
value: "google-auth-library-ruby"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
SET url="https://raw.githubusercontent.com/googleapis/google-cloud-ruby/master/.kokoro/trampoline.bat"
|
||||
|
||||
SET "download=powershell -C Invoke-WebRequest -Uri %url% -OutFile master-trampoline.bat"
|
||||
|
||||
SET EXIT_STATUS=1
|
||||
|
||||
%download% && master-trampoline.bat && SET EXIT_STATUS=0
|
||||
|
||||
EXIT %EXIT_STATUS%
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
script_url="https://raw.githubusercontent.com/googleapis/google-cloud-ruby/master/.kokoro/windows.sh"
|
||||
curl -o master-windows.sh $script_url && source master-windows.sh
|
Loading…
Reference in New Issue