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>
This commit is contained in:
Hal Canary 2017-05-18 11:29:04 -04:00 committed by Skia Commit-Bot
parent 9926f4bf65
commit 287a3fe6b9

View File

@ -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)