aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Ravi Mistry <rmistry@google.com>2017-12-12 21:15:43 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-13 02:40:10 +0000
commitc0720db247f466e91a1567de3ed2a6f8b2538fa0 (patch)
tree918a2b088f637d0790934955eb94dbc27d6fab02
parent1e229a4bea883e71205b371185bdd98f980750d8 (diff)
[Infra] Fix revision in upload_skiaserve
Bug: skia:7399 Change-Id: I44b9ed895b0a0fccb08eecec1dc20d386c90c883 Reviewed-on: https://skia-review.googlesource.com/84280 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com>
-rw-r--r--infra/bots/recipes/upload_skiaserve.expected/normal_bot.json2
-rw-r--r--infra/bots/recipes/upload_skiaserve.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/infra/bots/recipes/upload_skiaserve.expected/normal_bot.json b/infra/bots/recipes/upload_skiaserve.expected/normal_bot.json
index 0f1b9e1381..75feeef396 100644
--- a/infra/bots/recipes/upload_skiaserve.expected/normal_bot.json
+++ b/infra/bots/recipes/upload_skiaserve.expected/normal_bot.json
@@ -4,7 +4,7 @@
"gsutil",
"cp",
"[CUSTOM_/_B_WORK]/skia/out/Build-Debian9-Clang-arm-Release-Android/Release/skiaserve",
- "gs://skia-public-binaries/skiaserve/arm/None/"
+ "gs://skia-public-binaries/skiaserve/arm/abc123/"
],
"name": "upload skiaserve"
},
diff --git a/infra/bots/recipes/upload_skiaserve.py b/infra/bots/recipes/upload_skiaserve.py
index dbae375516..fb10841ff7 100644
--- a/infra/bots/recipes/upload_skiaserve.py
+++ b/infra/bots/recipes/upload_skiaserve.py
@@ -30,7 +30,7 @@ def RunSteps(api):
src = api.vars.skia_out.join(api.vars.configuration, 'skiaserve')
target_arch = api.vars.builder_cfg.get('target_arch')
dest = 'gs://skia-public-binaries/skiaserve/%s/%s/' % (
- target_arch, api.vars.got_revision)
+ target_arch, api.properties['revision'])
api.gsutil.cp('skiaserve', src, dest)