Make gerrit-git-fetch params configurable
Change-Id: I793153a63a82a98e90b0ecc2404e8d6596f2be48
This commit is contained in:
parent
ae4ef1eaa4
commit
15e1e6977e
@ -1,6 +1,8 @@
|
||||
{
|
||||
"zuul_server": {
|
||||
"git_url": "http://119.9.13.90/p/",
|
||||
"gerrit_site": "http://review.openstack.org",
|
||||
"zuul_site": "http://119.9.13.90",
|
||||
"git_origin": "git://git.openstack.org/",
|
||||
"gearman_host": "119.9.13.90",
|
||||
"gearman_port": 4730
|
||||
},
|
||||
|
@ -182,12 +182,11 @@ class ShellTask(Task):
|
||||
os.makedirs(local_path)
|
||||
|
||||
git_args = copy.deepcopy(job_args)
|
||||
git_args['GIT_ORIGIN'] = 'git://git.openstack.org/'
|
||||
|
||||
cmd = os.path.join(os.path.join(os.path.dirname(__file__),
|
||||
'gerrit-git-prep.sh'))
|
||||
cmd += ' https://review.openstack.org'
|
||||
cmd += ' http://zuul.rcbops.com'
|
||||
cmd += ' ' + self.global_config['zuul_server']['gerrit_site']
|
||||
cmd += ' ' + self.global_config['zuul_server']['zuul_site']
|
||||
utils.execute_to_log(cmd, self.shell_output_log, env=git_args,
|
||||
cwd=local_path)
|
||||
self.git_path = local_path
|
||||
|
Loading…
x
Reference in New Issue
Block a user