aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing-Yuan Huang <laszio@chromium.org>2018-03-26 13:49:42 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-03-26 20:16:31 -0700
commit112d562b20ae5fd708bdf95c1f842a8e456085d1 (patch)
treec4da2a20494bd2a36215f5deff7ee1fa24d643c8
parent36d4a9605dabd6967f67c6fbc16d510f4c99550f (diff)
downloadtoolchain-utils-112d562b20ae5fd708bdf95c1f842a8e456085d1.tar.gz
buildbot_test_toolchains: update pattern to match artifact url
The 'trybot-' prefix is removed in the artifact URL. See bug for more details. BUG=chromium:825997 TEST=Tested locally; The re pattern accepts the new URL. Change-Id: I46667c29c60aa6bde9710bbb0f699f4939a1a451 Reviewed-on: https://chromium-review.googlesource.com/981398 Commit-Ready: Ting-Yuan Huang <laszio@chromium.org> Tested-by: Ting-Yuan Huang <laszio@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@chromium.org>
-rwxr-xr-xbuildbot_test_toolchains.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py
index 33490724..78825233 100755
--- a/buildbot_test_toolchains.py
+++ b/buildbot_test_toolchains.py
@@ -41,7 +41,7 @@ NIGHTLY_TESTS_DIR = os.path.join(CROSTC_ROOT, 'nightly_test_reports')
IMAGE_DIR = '{board}-{image_type}'
IMAGE_VERSION_STR = r'{chrome_version}-{tip}\.{branch}\.{branch_branch}'
IMAGE_FS = IMAGE_DIR + '/' + IMAGE_VERSION_STR
-TRYBOT_IMAGE_FS = 'trybot-' + IMAGE_FS + '-{build_id}'
+TRYBOT_IMAGE_FS = IMAGE_FS + '-{build_id}'
PFQ_IMAGE_FS = IMAGE_FS + '-rc1'
IMAGE_RE_GROUPS = {
'board': r'(?P<board>\S+)',
@@ -92,7 +92,7 @@ class ToolchainComparator(object):
Args:
trybot_image: artifact name such as
- 'trybot-daisy-release-tryjob/R40-6394.0.0-b1389'
+ 'daisy-release-tryjob/R40-6394.0.0-b1389'
Returns:
Latest official image name, e.g. 'daisy-release/R57-9089.0.0'.
@@ -117,7 +117,7 @@ class ToolchainComparator(object):
Args:
trybot_image: artifact name such as
- 'trybot-daisy-release-tryjob/R40-6394.0.0-b1389'
+ 'daisy-release-tryjob/R40-6394.0.0-b1389'
Returns:
Corresponding chrome PFQ image name, e.g.