mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
Always re-configure to use ssh even on incremental checkouts
Change-Id: I0a729b14e34c61a8174edd63fb20066e0811128e Review URL: http://codereview.chromium.org/3181025
This commit is contained in:
parent
a33a445a8d
commit
9a27b4099f
@ -64,6 +64,11 @@ def _FullCheckout(buildroot):
|
||||
|
||||
def _IncrementalCheckout(buildroot):
|
||||
RunCommand(['repo', 'sync'], cwd=buildroot)
|
||||
# Always re-run in case of new git repos or repo sync
|
||||
# failed in a previous run because of a forced Stop Build.
|
||||
RunCommand(['repo', 'forall', '-c', 'git', 'config',
|
||||
'url.ssh://git@gitrw.chromium.org:9222.pushinsteadof',
|
||||
'http://src.chromium.org/git'], cwd=buildroot)
|
||||
|
||||
def _MakeChroot(buildroot):
|
||||
cwd = os.path.join(buildroot, 'src', 'scripts')
|
||||
|
Loading…
x
Reference in New Issue
Block a user