OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2015 The Chromium Authors. All rights reserved. | 2 # Copyright 2015 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import argparse | 6 import argparse |
7 import collections | 7 import collections |
8 import logging | 8 import logging |
9 import os | 9 import os |
10 import re | 10 import re |
11 import subprocess | 11 import subprocess |
12 import sys | 12 import sys |
13 import time | 13 import time |
14 | 14 |
15 extra_cq_trybots = [ | 15 extra_cq_trybots = [ |
16 { | 16 { |
17 "mastername": "tryserver.chromium.win", | 17 "mastername": "master.tryserver.chromium.win", |
18 "buildernames": ["win_optional_gpu_tests_rel"] | 18 "buildernames": ["win_optional_gpu_tests_rel"] |
19 }, | 19 }, |
20 { | 20 { |
21 "mastername": "tryserver.chromium.mac", | 21 "mastername": "master.tryserver.chromium.mac", |
22 "buildernames": ["mac_optional_gpu_tests_rel"] | 22 "buildernames": ["mac_optional_gpu_tests_rel"] |
23 }, | 23 }, |
24 { | 24 { |
25 "mastername": "tryserver.chromium.linux", | 25 "mastername": "master.tryserver.chromium.linux", |
26 "buildernames": ["linux_optional_gpu_tests_rel"] | 26 "buildernames": ["linux_optional_gpu_tests_rel"] |
27 } | 27 } |
28 ] | 28 ] |
29 extra_fyi_trybots = [ | 29 extra_fyi_trybots = [ |
30 { | 30 { |
31 "mastername": "tryserver.chromium.win", | 31 "mastername": "master.tryserver.chromium.win", |
32 "buildernames": ["win_clang_dbg"] | 32 "buildernames": ["win_clang_dbg"] |
33 } | 33 } |
34 ] | 34 ] |
35 | 35 |
36 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) | 36 SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) |
37 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) | 37 SRC_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) |
38 sys.path.insert(0, os.path.join(SRC_DIR, 'build')) | 38 sys.path.insert(0, os.path.join(SRC_DIR, 'build')) |
39 import find_depot_tools | 39 import find_depot_tools |
40 find_depot_tools.add_depot_tools_to_path() | 40 find_depot_tools.add_depot_tools_to_path() |
41 import roll_dep_svn | 41 import roll_dep_svn |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 logging.basicConfig(level=logging.ERROR) | 405 logging.basicConfig(level=logging.ERROR) |
406 | 406 |
407 autoroller = AutoRoller(SRC_DIR) | 407 autoroller = AutoRoller(SRC_DIR) |
408 if args.abort: | 408 if args.abort: |
409 return autoroller.Abort() | 409 return autoroller.Abort() |
410 else: | 410 else: |
411 return autoroller.PrepareRoll(args.ignore_checks, args.tbr, args.commit) | 411 return autoroller.PrepareRoll(args.ignore_checks, args.tbr, args.commit) |
412 | 412 |
413 if __name__ == '__main__': | 413 if __name__ == '__main__': |
414 sys.exit(main()) | 414 sys.exit(main()) |
OLD | NEW |