aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhizhou Yang <zhizhouy@google.com>2019-10-03 14:09:22 -0700
committerZhizhou Yang <zhizhouy@google.com>2019-10-03 23:55:44 +0000
commitf723413d259ff1997fefc51f9c358f4e3e2ecfd0 (patch)
tree2df1d24b8a181d57f561d73a2abdd84f49212dad
parentc88ee8a1d2c3d925a90f7a880ae085237b117454 (diff)
downloadtoolchain-utils-f723413d259ff1997fefc51f9c358f4e3e2ecfd0.tar.gz
toolchain-utils: update skylab credential location for role account
The skylab credential has been checked into crostc. This patch updates the location of the json file. TEST=Tested with skylab dut using role account. BUG=chromium:984790 Change-Id: I163b6aef14bc7df8c85e556032455a7cc7d7822d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1838442 Tested-by: Zhizhou Yang <zhizhouy@google.com> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Commit-Queue: Zhizhou Yang <zhizhouy@google.com>
-rwxr-xr-xafe_lock_machine.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/afe_lock_machine.py b/afe_lock_machine.py
index 510d55f2..2f35e9bf 100755
--- a/afe_lock_machine.py
+++ b/afe_lock_machine.py
@@ -70,8 +70,9 @@ class AFELockManager(object):
SKYLAB_PATH = '/usr/local/bin/skylab'
LEASE_MINS = 600
- SKYLAB_CREDENTIAL = '/usr/local/google/home/mobiletc-prebuild/' \
- 'chromeos-swarming-1adbe355c97c.json'
+ SKYLAB_CREDENTIAL = '/usr/local/google/home/mobiletc-prebuild' \
+ '/sheriff_utils/skylab_credential' \
+ '/chromeos-swarming-credential.json'
SWARMING = 'chromite/third_party/swarming.client/swarming.py'
SUCCESS = 0