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

Side by Side Diff: bin/cbuildbot.py

Issue 5876002: Push prebuilts by default. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 10 years 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 | no next file » | 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 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS 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 """CBuildbot is wrapper around the build process used by the pre-flight queue""" 7 """CBuildbot is wrapper around the build process used by the pre-flight queue"""
8 8
9 import errno 9 import errno
10 import heapq 10 import heapq
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 parser.add_option('-g', '--gsutil', default='', help='Location of gsutil') 662 parser.add_option('-g', '--gsutil', default='', help='Location of gsutil')
663 parser.add_option('-c', '--gsutil_archive', default='', 663 parser.add_option('-c', '--gsutil_archive', default='',
664 help='Datastore archive location') 664 help='Datastore archive location')
665 parser.add_option('--clobber', action='store_true', dest='clobber', 665 parser.add_option('--clobber', action='store_true', dest='clobber',
666 default=False, 666 default=False,
667 help='Clobbers an old checkout before syncing') 667 help='Clobbers an old checkout before syncing')
668 parser.add_option('--debug', action='store_true', dest='debug', 668 parser.add_option('--debug', action='store_true', dest='debug',
669 default=False, 669 default=False,
670 help='Override some options to run as a developer.') 670 help='Override some options to run as a developer.')
671 parser.add_option('--noprebuilts', action='store_false', dest='prebuilts', 671 parser.add_option('--noprebuilts', action='store_false', dest='prebuilts',
672 default=True,
672 help="Don't upload prebuilts.") 673 help="Don't upload prebuilts.")
673 parser.add_option('--nosync', action='store_false', dest='sync', 674 parser.add_option('--nosync', action='store_false', dest='sync',
674 default=True, 675 default=True,
675 help="Don't sync before building.") 676 help="Don't sync before building.")
676 parser.add_option('--notests', action='store_false', dest='tests', 677 parser.add_option('--notests', action='store_false', dest='tests',
677 default=True, 678 default=True,
678 help='Override values from buildconfig and run no tests.') 679 help='Override values from buildconfig and run no tests.')
679 parser.add_option('-f', '--revisionfile', 680 parser.add_option('-f', '--revisionfile',
680 help='file where new revisions are stored') 681 help='file where new revisions are stored')
681 parser.add_option('-t', '--tracking-branch', dest='tracking_branch', 682 parser.add_option('-t', '--tracking-branch', dest='tracking_branch',
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 except: 800 except:
800 # Send failure to master bot. 801 # Send failure to master bot.
801 if not buildconfig['master'] and buildconfig['important']: 802 if not buildconfig['master'] and buildconfig['important']:
802 cbuildbot_comm.PublishStatus(cbuildbot_comm.STATUS_BUILD_FAILED) 803 cbuildbot_comm.PublishStatus(cbuildbot_comm.STATUS_BUILD_FAILED)
803 804
804 raise 805 raise
805 806
806 807
807 if __name__ == '__main__': 808 if __name__ == '__main__':
808 main() 809 main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698