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 29 matching lines...) Expand all Loading... |
40 # Alias which can be used to specify a regex to choose builders. | 40 # Alias which can be used to specify a regex to choose builders. |
41 REGEX = 'regex' | 41 REGEX = 'regex' |
42 | 42 |
43 ALL_ALIASES = [ALL_BUILDERS, COMPILE_BUILDERS, CQ_BUILDERS, REGEX] | 43 ALL_ALIASES = [ALL_BUILDERS, COMPILE_BUILDERS, CQ_BUILDERS, REGEX] |
44 | 44 |
45 # Contact information for the build master. | 45 # Contact information for the build master. |
46 SKIA_BUILD_MASTER_HOST = str(GetGlobalVariable('master_host')) | 46 SKIA_BUILD_MASTER_HOST = str(GetGlobalVariable('master_host')) |
47 SKIA_BUILD_MASTER_PORT = str(GetGlobalVariable('external_port')) | 47 SKIA_BUILD_MASTER_PORT = str(GetGlobalVariable('external_port')) |
48 | 48 |
49 # All try builders have this suffix. | 49 # All try builders have this suffix. |
50 TRYBOT_SUFFIX = '_Trybot' | 50 TRYBOT_SUFFIX = '-Trybot' |
51 | 51 |
52 # Location of the codereview.settings file in the Skia repo. | 52 # Location of the codereview.settings file in the Skia repo. |
53 SKIA_URL = 'skia.googlecode.com' | 53 SKIA_URL = 'skia.googlecode.com' |
54 CODEREVIEW_SETTINGS = '/svn/codereview.settings' | 54 CODEREVIEW_SETTINGS = '/svn/codereview.settings' |
55 | 55 |
56 # String for matching the svn url of the try server inside codereview.settings. | 56 # String for matching the svn url of the try server inside codereview.settings. |
57 TRYSERVER_SVN_URL = 'TRYSERVER_SVN_URL: ' | 57 TRYSERVER_SVN_URL = 'TRYSERVER_SVN_URL: ' |
58 | 58 |
59 # Strings used for matching svn config properties. | 59 # Strings used for matching svn config properties. |
60 URL_STR = 'URL' | 60 URL_STR = 'URL' |
(...skipping 230 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 |