Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: client/tools/buildbot_annotated_steps.py

Issue 1138703003: Add an annotated steps for driving our sdk and api archiving. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/bots/dart_sdk.py » ('j') | tools/bots/dart_sdk.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 6 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
7 # Use of this source code is governed by a BSD-style license that can be 7 # Use of this source code is governed by a BSD-style license that can be
8 # found in the LICENSE file. 8 # found in the LICENSE file.
9 9
10 """Dart client buildbot steps 10 """Dart client buildbot steps
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 #TODO(sigmund): remove this indirection once we update our bots 183 #TODO(sigmund): remove this indirection once we update our bots
184 (name, version) = GetBuildInfo() 184 (name, version) = GetBuildInfo()
185 # The buildbot will set a BUILDBOT_JAVA_HOME relative to the dart 185 # The buildbot will set a BUILDBOT_JAVA_HOME relative to the dart
186 # root directory, set JAVA_HOME based on that. 186 # root directory, set JAVA_HOME based on that.
187 FixJavaHome() 187 FixJavaHome()
188 if name.startswith('pub-'): 188 if name.startswith('pub-'):
189 status = ProcessBot(name, 'pub') 189 status = ProcessBot(name, 'pub')
190 elif name.startswith('vm-android'): 190 elif name.startswith('vm-android'):
191 status = ProcessBot(name, 'android') 191 status = ProcessBot(name, 'android')
192 elif name.startswith('dart-sdk'):
193 status = ProcessBot(name, 'dart_sdk')
192 elif name.startswith('cross') or name.startswith('target'): 194 elif name.startswith('cross') or name.startswith('target'):
193 status = ProcessBot(name, 'cross-vm', 195 status = ProcessBot(name, 'cross-vm',
194 custom_env=EnvironmentWithoutBotoConfig()) 196 custom_env=EnvironmentWithoutBotoConfig())
195 elif name.startswith('linux-distribution-support'): 197 elif name.startswith('linux-distribution-support'):
196 status = ProcessBot(name, 'linux_distribution_support') 198 status = ProcessBot(name, 'linux_distribution_support')
197 elif name.startswith('version-checker'): 199 elif name.startswith('version-checker'):
198 status = ProcessBot(name, 'version_checker') 200 status = ProcessBot(name, 'version_checker')
199 elif name.startswith('dart2js-dump-info'): 201 elif name.startswith('dart2js-dump-info'):
200 status = ProcessBot(name, 'dart2js_dump_info') 202 status = ProcessBot(name, 'dart2js_dump_info')
201 else: 203 else:
202 status = ProcessBot(name, 'compiler') 204 status = ProcessBot(name, 'compiler')
203 205
204 if status: 206 if status:
205 print '@@@STEP_FAILURE@@@' 207 print '@@@STEP_FAILURE@@@'
206 208
207 return status 209 return status
208 210
209 211
210 if __name__ == '__main__': 212 if __name__ == '__main__':
211 sys.exit(main()) 213 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | tools/bots/dart_sdk.py » ('j') | tools/bots/dart_sdk.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698