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

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

Issue 336243004: Remove old buildbot editor building script. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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/editor.py » ('j') | no next file with comments »
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 print '@@@STEP_FAILURE@@@' 179 print '@@@STEP_FAILURE@@@'
180 return status 180 return status
181 181
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('dart-editor'): 188 if name.startswith('dart-editor'):
189 # TODO(kustermann,ricow): This is a temporary hack until we can safely 189 # Run the old annotated steps script
190 # enable it on main waterfall. We need to remove this eventually 190 status = ProcessTools('release', name, version)
191 if name.startswith('dart-editor-fyi'):
192 match = re.search('dart-editor-fyi(.*)', name)
193 name = 'dart-editor' + match.group(1)
194 # In case we're an FYI builder, run 'tools/bots/editor.py'.
195 status = ProcessBot(name, 'editor',
196 custom_env=EnvironmentWithoutBotoConfig())
197 else:
198 # Run the old annotated steps script
199 status = ProcessTools('release', name, version)
200 elif name.startswith('pub-'): 191 elif name.startswith('pub-'):
201 status = ProcessBot(name, 'pub') 192 status = ProcessBot(name, 'pub')
202 elif name.startswith('vm-android'): 193 elif name.startswith('vm-android'):
203 status = ProcessBot(name, 'android') 194 status = ProcessBot(name, 'android')
204 elif name.startswith('cross') or name.startswith('target'): 195 elif name.startswith('cross') or name.startswith('target'):
205 status = ProcessBot(name, 'cross-vm', 196 status = ProcessBot(name, 'cross-vm',
206 custom_env=EnvironmentWithoutBotoConfig()) 197 custom_env=EnvironmentWithoutBotoConfig())
207 elif name.startswith('linux-distribution-support'): 198 elif name.startswith('linux-distribution-support'):
208 status = ProcessBot(name, 'linux_distribution_support') 199 status = ProcessBot(name, 'linux_distribution_support')
209 elif name.startswith('ft'): 200 elif name.startswith('ft'):
210 status = ProcessBot(name, 'functional_testing') 201 status = ProcessBot(name, 'functional_testing')
211 elif name.startswith('version-checker'): 202 elif name.startswith('version-checker'):
212 status = ProcessBot(name, 'version_checker') 203 status = ProcessBot(name, 'version_checker')
213 else: 204 else:
214 status = ProcessBot(name, 'compiler') 205 status = ProcessBot(name, 'compiler')
215 206
216 if status: 207 if status:
217 print '@@@STEP_FAILURE@@@' 208 print '@@@STEP_FAILURE@@@'
218 209
219 return status 210 return status
220 211
221 212
222 if __name__ == '__main__': 213 if __name__ == '__main__':
223 sys.exit(main()) 214 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | tools/bots/editor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698