mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
Update cbuildbot.py to print manifests when we sync.
If cbuildbot.py printed out a manifest when it syncs, it would make it possible for us to reproduce the build later by looking at what revisions the buildbot was using. This is useful for debugging. Change-Id: I186ad01eef0090b6c618cb7ad583085197474018 BUG=chromium-os:7069 TEST=Ran test suite with 3441027 patched in (Sosa's patch that fixes an unrelated issue with the unit tests) Review URL: http://codereview.chromium.org/3461028
This commit is contained in:
parent
7bf8d2715e
commit
70b297a263
@ -69,6 +69,9 @@ def RepoSync(buildroot, rw_checkout=False, retries=_DEFAULT_RETRIES):
|
||||
Warning('CBUILDBOT -- Retries exhausted')
|
||||
raise
|
||||
|
||||
# Output manifest
|
||||
RunCommand(['repo', 'manifest', '-r', '-o', '-'], cwd=buildroot)
|
||||
|
||||
# =========================== Command Helpers =================================
|
||||
|
||||
def _GetAllGitRepos(buildroot, debug=False):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user