build: watch for sauce service failures when waiting for it to start (#36109)

Also add two targets to make it more convienent to tail & dump the sauce service logs: //tools/saucelabs:sauce_service_tail & //tools/saucelabs:sauce_service_log

PR Close #36109
This commit is contained in:
Greg Magolan
2020-03-17 11:31:00 -05:00
committed by Andrew Kushnir
parent 22be967104
commit 02281281a8
3 changed files with 57 additions and 5 deletions
+14
View File
@@ -37,6 +37,20 @@ sh_binary(
data = ["@npm//sauce-connect"],
)
sh_binary(
name = "sauce_service_tail",
srcs = ["sauce-service.sh"],
args = ["tail"],
data = ["@npm//sauce-connect"],
)
sh_binary(
name = "sauce_service_log",
srcs = ["sauce-service.sh"],
args = ["log"],
data = ["@npm//sauce-connect"],
)
nodejs_binary(
name = "karma-saucelabs",
data = [