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

Side by Side Diff: bin/cbuildbot.py

Issue 6016005: Always run build_packages regardless of sync for chrome builder. (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 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 options.chrome_rev, board) 681 options.chrome_rev, board)
682 # If we found nothing to rev, we're done here. 682 # If we found nothing to rev, we're done here.
683 if not chrome_atom_to_build: 683 if not chrome_atom_to_build:
684 return 684 return
685 685
686 elif buildconfig['uprev']: 686 elif buildconfig['uprev']:
687 _UprevPackages(buildroot, tracking_branch, revisionfile, 687 _UprevPackages(buildroot, tracking_branch, revisionfile,
688 buildconfig['board'], rev_overlays) 688 buildconfig['board'], rev_overlays)
689 689
690 _EnableLocalAccount(buildroot) 690 _EnableLocalAccount(buildroot)
691 # Doesn't rebuild without acquiring more source. 691 _Build(buildroot, emptytree)
692 if options.sync:
693 _Build(buildroot, emptytree)
694 692
695 if buildconfig['unittests'] and options.tests: 693 if buildconfig['unittests'] and options.tests:
696 _RunUnitTests(buildroot) 694 _RunUnitTests(buildroot)
697 695
698 _BuildImage(buildroot) 696 _BuildImage(buildroot)
699 697
700 if buildconfig['smoke_bvt'] and options.tests: 698 if buildconfig['smoke_bvt'] and options.tests:
701 _BuildVMImageForTesting(buildroot) 699 _BuildVMImageForTesting(buildroot)
702 test_results_dir = '/tmp/run_remote_tests.%s' % options.buildnumber 700 test_results_dir = '/tmp/run_remote_tests.%s' % options.buildnumber
703 try: 701 try:
(...skipping 29 matching lines...) Expand all
733 except: 731 except:
734 # Send failure to master bot. 732 # Send failure to master bot.
735 if not buildconfig['master'] and buildconfig['important']: 733 if not buildconfig['master'] and buildconfig['important']:
736 cbuildbot_comm.PublishStatus(cbuildbot_comm.STATUS_BUILD_FAILED) 734 cbuildbot_comm.PublishStatus(cbuildbot_comm.STATUS_BUILD_FAILED)
737 735
738 raise 736 raise
739 737
740 738
741 if __name__ == '__main__': 739 if __name__ == '__main__':
742 main() 740 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