mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-26 08:01:14 +02:00
Revert "Change url of manifest to use ssh one as opposed to mirrored repo."
This reverts commit 4847031faad12e0f7b2fd3f047c77cad7b0a4003. TBR=Required for pushes to work. Change-Id: I4f07407e518045ea77fa61942af58f57e68b5f8f
This commit is contained in:
parent
1c4026c7a7
commit
444e3a6de0
@ -59,6 +59,13 @@ def RepoSync(buildroot, rw_checkout=False, retries=_DEFAULT_RETRIES):
|
|||||||
# is needed so that the buildbot can kill us if git is not making
|
# is needed so that the buildbot can kill us if git is not making
|
||||||
# progress.
|
# progress.
|
||||||
RunCommand(['repo', '--trace', 'sync'], cwd=buildroot)
|
RunCommand(['repo', '--trace', 'sync'], cwd=buildroot)
|
||||||
|
if rw_checkout:
|
||||||
|
# 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://git.chromium.org/git'], cwd=buildroot)
|
||||||
|
|
||||||
retries = 0
|
retries = 0
|
||||||
except:
|
except:
|
||||||
retries -= 1
|
retries -= 1
|
||||||
@ -508,7 +515,7 @@ def main():
|
|||||||
parser.add_option('-t', '--tracking-branch', dest='tracking_branch',
|
parser.add_option('-t', '--tracking-branch', dest='tracking_branch',
|
||||||
default='cros/master', help='Run the buildbot on a branch')
|
default='cros/master', help='Run the buildbot on a branch')
|
||||||
parser.add_option('-u', '--url', dest='url',
|
parser.add_option('-u', '--url', dest='url',
|
||||||
default='ssh://git@gitrw.chromium.org:9222/manifest',
|
default='http://git.chromium.org/git/manifest',
|
||||||
help='Run the buildbot on internal manifest')
|
help='Run the buildbot on internal manifest')
|
||||||
|
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user