[Android Compile Bot] Look at the start_dir for trigger_wait_ac_task.py

Noticed this when trybots were not using changes to
trigger_wait_ac_task.py

NoTry: true
Bug: skia:7469
Change-Id: Ifac964e247bfd6862fa030fbf5176f179ef7f3c4
Reviewed-on: https://skia-review.googlesource.com/103521
Commit-Queue: Ravi Mistry <rmistry@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
This commit is contained in:
Ravi Mistry 2018-02-05 13:16:34 -05:00 committed by Skia Commit-Bot
parent 9708af826c
commit 73e391db8a
2 changed files with 3 additions and 5 deletions

View File

@ -2,7 +2,7 @@
{
"cmd": [
"python",
"[CUSTOM_/_B_WORK]/skia/infra/bots/android_compile/trigger_wait_ac_task.py",
"[START_DIR]/skia/infra/bots/android_compile/trigger_wait_ac_task.py",
"--issue",
"1234",
"--patchset",

View File

@ -7,15 +7,13 @@ import math
DEPS = [
'recipe_engine/path',
'recipe_engine/properties',
'recipe_engine/step',
'vars',
]
def RunSteps(api):
api.vars.setup()
buildername = api.properties['buildername']
issue = api.properties.get('patch_issue')
patchset = api.properties.get('patch_set')
@ -26,7 +24,7 @@ def RunSteps(api):
# not currently have a way to do the same for non-trybot runs.
raise Exception('%s can only be run as a trybot.' % buildername)
infrabots_dir = api.vars.skia_dir.join('infra', 'bots')
infrabots_dir = api.path['start_dir'].join('skia', 'infra', 'bots')
trigger_wait_ac_script = infrabots_dir.join('android_compile',
'trigger_wait_ac_task.py')