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

Side by Side Diff: bin/cbuildbot.py

Issue 5744003: Don't push manifests for chrome pfq. (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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 _IncrementalCheckout(buildroot) 715 _IncrementalCheckout(buildroot)
716 716
717 new_binhost = _GetPortageEnvVar(buildroot, board, _FULL_BINHOST) 717 new_binhost = _GetPortageEnvVar(buildroot, board, _FULL_BINHOST)
718 emptytree = (old_binhost and old_binhost != new_binhost) 718 emptytree = (old_binhost and old_binhost != new_binhost)
719 719
720 # Check that all overlays can be found. 720 # Check that all overlays can be found.
721 for path in rev_overlays: 721 for path in rev_overlays:
722 if not os.path.isdir(path): 722 if not os.path.isdir(path):
723 Die('Missing overlay: %s' % path) 723 Die('Missing overlay: %s' % path)
724 724
725 _DumpManifest(buildroot, options.url) 725 if not options.chrome_rev:
726 _DumpManifest(buildroot, options.url)
726 727
727 if not os.path.isdir(chroot_path): 728 if not os.path.isdir(chroot_path):
728 _MakeChroot(buildroot) 729 _MakeChroot(buildroot)
729 730
730 if not os.path.isdir(boardpath): 731 if not os.path.isdir(boardpath):
731 _SetupBoard(buildroot, board=buildconfig['board']) 732 _SetupBoard(buildroot, board=buildconfig['board'])
732 733
733 # Perform uprev. If chrome_uprev is set, rev Chrome ebuilds. 734 # Perform uprev. If chrome_uprev is set, rev Chrome ebuilds.
734 if options.chrome_rev: 735 if options.chrome_rev:
735 chrome_atom_to_build = _MarkChromeAsStable(buildroot, tracking_branch, 736 chrome_atom_to_build = _MarkChromeAsStable(buildroot, tracking_branch,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 except: 792 except:
792 # Send failure to master bot. 793 # Send failure to master bot.
793 if not buildconfig['master'] and buildconfig['important']: 794 if not buildconfig['master'] and buildconfig['important']:
794 cbuildbot_comm.PublishStatus(cbuildbot_comm.STATUS_BUILD_FAILED) 795 cbuildbot_comm.PublishStatus(cbuildbot_comm.STATUS_BUILD_FAILED)
795 796
796 raise 797 raise
797 798
798 799
799 if __name__ == '__main__': 800 if __name__ == '__main__':
800 main() 801 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