aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2017-05-18 11:29:04 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-18 16:46:49 +0000
commit287a3fe6b9b1cda050922054a2bf2c55a4f28e76 (patch)
tree43db07765f48409799bce511bcc20a64fbfca41e /infra
parent9926f4bf652e2a526a2f94a85547ed8cfe7d1b7b (diff)
CQ_INCLUDE_CHROMIUM_TRYBOTS: add optional trybots
Change-Id: Id1bc86592a3006b00dfd313bf48488e038f3a041 Reviewed-on: https://skia-review.googlesource.com/17317 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'infra')
-rw-r--r--infra/bots/update_meta_config.py44
1 files changed, 34 insertions, 10 deletions
diff --git a/infra/bots/update_meta_config.py b/infra/bots/update_meta_config.py
index 663d170c33..7a91ae796f 100644
--- a/infra/bots/update_meta_config.py
+++ b/infra/bots/update_meta_config.py
@@ -19,20 +19,44 @@ SKIA_COMMITTER_EMAIL = 'update-meta-config@skia.org'
SKIA_COMMITTER_NAME = 'Update Meta Config'
SKIA_REPO_TEMPLATE = 'https://skia.googlesource.com/%s.git'
-CQ_INCLUDE_CHROMIUM_TRYBOTS = (
- 'master.tryserver.blink:linux_trusty_blink_rel,linux_trusty_blink_dbg;'
- 'master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;'
- 'master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;'
- 'master.tryserver.chromium.win:win_optional_gpu_tests_rel;'
- 'master.tryserver.chromium.android:android_optional_gpu_tests_rel'
-)
+CQ_INCLUDE_CHROMIUM_TRYBOTS = [
+ ('master.tryserver.blink', [
+ 'linux_trusty_blink_rel',
+ 'linux_trusty_blink_dbg',
+ ]),
+ ('master.tryserver.chromium.linux', [
+ 'linux_chromium_compile_dbg_ng',
+ 'linux_chromium_compile_rel_ng',
+ 'linux_chromium_dbg_ng',
+ 'linux_chromium_rel_ng',
+ 'linux_optional_gpu_tests_rel',
+ ]),
+ ('master.tryserver.chromium.mac', [
+ 'mac_chromium_compile_dbg_ng',
+ 'mac_chromium_compile_rel_ng',
+ 'mac_chromium_dbg_ng',
+ 'mac_chromium_rel_ng',
+ 'mac_optional_gpu_tests_rel',
+ ]),
+ ('master.tryserver.chromium.win', [
+ 'win_chromium_compile_dbg_ng',
+ 'win_chromium_compile_rel_ng',
+ 'win_chromium_dbg_ng',
+ 'win_chromium_rel_ng',
+ 'win_optional_gpu_tests_rel',
+ ]),
+ ('master.tryserver.chromium.android', [
+ 'android_compile_dbg',
+ 'android_compile_rel',
+ 'android_optional_gpu_tests_rel',
+ ])
+]
def addChromiumTrybots(f):
- for master_section in CQ_INCLUDE_CHROMIUM_TRYBOTS.split(';'):
- master, bots = master_section.split(':')
+ for master, bots in CQ_INCLUDE_CHROMIUM_TRYBOTS:
f.write('[bucket "%s"]\n' % master)
- for bot in bots.split(','):
+ for bot in bots:
f.write('\tbuilder = %s\n' % bot)