mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 14:36:58 +02:00
Have upload_prebuilts respect the debug flag.
Chrome PFQ right now is uploading prebuilts which wasn't meant to happen :( Change-Id: I502a0621a6c9f655e5a3f890dd79e00652925902 BUG=chromium-os:8693 TEST=Ran cbuildbot with --debug Review URL: http://codereview.chromium.org/5595004
This commit is contained in:
parent
46b5e1d286
commit
1a4a9665d4
@ -701,8 +701,9 @@ def main():
|
|||||||
if buildconfig['master']:
|
if buildconfig['master']:
|
||||||
# Master bot needs to check if the other slaves completed.
|
# Master bot needs to check if the other slaves completed.
|
||||||
if cbuildbot_comm.HaveSlavesCompleted(config):
|
if cbuildbot_comm.HaveSlavesCompleted(config):
|
||||||
_UploadPrebuilts(buildroot, board, buildconfig['rev_overlays'],
|
if not options.debug:
|
||||||
[new_binhost])
|
_UploadPrebuilts(buildroot, board, buildconfig['rev_overlays'],
|
||||||
|
[new_binhost])
|
||||||
_UprevPush(buildroot, tracking_branch, buildconfig['board'],
|
_UprevPush(buildroot, tracking_branch, buildconfig['board'],
|
||||||
push_overlays, options.debug)
|
push_overlays, options.debug)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user