OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 | 2 |
3 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 | 7 |
8 """ | 8 """ |
9 submit_try: Submit a try request. | 9 submit_try: Submit a try request. |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 # Alias which can be used to run a try on all compile builders. | 29 # Alias which can be used to run a try on all compile builders. |
30 COMPILE_BUILDERS = 'compile' | 30 COMPILE_BUILDERS = 'compile' |
31 # Alias which can be used to run a try on all builders that are run in the CQ. | 31 # Alias which can be used to run a try on all builders that are run in the CQ. |
32 CQ_BUILDERS = 'cq' | 32 CQ_BUILDERS = 'cq' |
33 # Alias which can be used to specify a regex to choose builders. | 33 # Alias which can be used to specify a regex to choose builders. |
34 REGEX = 'regex' | 34 REGEX = 'regex' |
35 | 35 |
36 ALL_ALIASES = [ALL_BUILDERS, COMPILE_BUILDERS, CQ_BUILDERS, REGEX] | 36 ALL_ALIASES = [ALL_BUILDERS, COMPILE_BUILDERS, CQ_BUILDERS, REGEX] |
37 | 37 |
38 # Contact information for the build master. | 38 # Contact information for the build master. |
39 SKIA_BUILD_MASTER_HOST = str(buildbot_globals.Get('master_host')) | 39 SKIA_BUILD_MASTER_HOST = str(buildbot_globals.Get('public_master_host')) |
40 SKIA_BUILD_MASTER_PORT = str(buildbot_globals.Get('external_port')) | 40 SKIA_BUILD_MASTER_PORT = str(buildbot_globals.Get('public_external_port')) |
41 | 41 |
42 # All try builders have this suffix. | 42 # All try builders have this suffix. |
43 TRYBOT_SUFFIX = '-Trybot' | 43 TRYBOT_SUFFIX = '-Trybot' |
44 | 44 |
45 # Location of the codereview.settings file in the Skia repo. | 45 # Location of the codereview.settings file in the Skia repo. |
46 SKIA_URL = 'skia.googlecode.com' | 46 SKIA_URL = 'skia.googlecode.com' |
47 CODEREVIEW_SETTINGS = '/svn/codereview.settings' | 47 CODEREVIEW_SETTINGS = '/svn/codereview.settings' |
48 | 48 |
49 # String for matching the svn url of the try server inside codereview.settings. | 49 # String for matching the svn url of the try server inside codereview.settings. |
50 TRYSERVER_SVN_URL = 'TRYSERVER_SVN_URL: ' | 50 TRYSERVER_SVN_URL = 'TRYSERVER_SVN_URL: ' |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 | 291 |
292 # Parse and validate the command-line arguments. | 292 # Parse and validate the command-line arguments. |
293 args = ValidateArgs(sys.argv[1:], trybots=trybots, is_svn=is_svn) | 293 args = ValidateArgs(sys.argv[1:], trybots=trybots, is_svn=is_svn) |
294 | 294 |
295 # Submit the try request. | 295 # Submit the try request. |
296 SubmitTryRequest(args, is_svn=is_svn) | 296 SubmitTryRequest(args, is_svn=is_svn) |
297 | 297 |
298 | 298 |
299 if __name__ == '__main__': | 299 if __name__ == '__main__': |
300 sys.exit(main()) | 300 sys.exit(main()) |
OLD | NEW |