From c0720db247f466e91a1567de3ed2a6f8b2538fa0 Mon Sep 17 00:00:00 2001 From: Ravi Mistry Date: Tue, 12 Dec 2017 21:15:43 -0500 Subject: [PATCH] [Infra] Fix revision in upload_skiaserve Bug: skia:7399 Change-Id: I44b9ed895b0a0fccb08eecec1dc20d386c90c883 Reviewed-on: https://skia-review.googlesource.com/84280 Reviewed-by: Ravi Mistry Commit-Queue: Ravi Mistry --- infra/bots/recipes/upload_skiaserve.expected/normal_bot.json | 2 +- infra/bots/recipes/upload_skiaserve.py | 2 +- 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)