Use "https" instead of "git" for cloning code
If you're in a private network, you need to setup a proxy to access the public network. It would be a difficult thing to set-up proxy for git:// protocol, while much more easy to use https:// protocol instead. Change-Id: Iec8447cc28760a98e1641162c50c152c89100775
This commit is contained in:
parent
8c77a27fef
commit
d04111628b
@ -47,7 +47,7 @@ class DevstackEngine(engine.EngineFactory):
|
||||
Sample of a configuration:
|
||||
{
|
||||
"type": "DevstackEngine",
|
||||
"devstack_repo": "git://example.com/devstack/",
|
||||
"devstack_repo": "https://example.com/devstack/",
|
||||
"localrc": {
|
||||
"ADMIN_PASSWORD": "secret"
|
||||
},
|
||||
|
@ -115,7 +115,7 @@ class Tempest(object):
|
||||
print("Please wait while tempest is being cloned. "
|
||||
"This could take a few minutes...")
|
||||
subprocess.check_call(["git", "clone",
|
||||
"git://github.com/openstack/tempest",
|
||||
"https://github.com/openstack/tempest",
|
||||
Tempest.tempest_base_path])
|
||||
|
||||
def install(self):
|
||||
|
@ -59,7 +59,7 @@ class TempestTestCase(test.TestCase):
|
||||
def test__clone(self, mock_sp):
|
||||
self.verifier._clone()
|
||||
mock_sp.check_call.assert_called_once_with(
|
||||
['git', 'clone', 'git://github.com/openstack/tempest',
|
||||
['git', 'clone', 'https://github.com/openstack/tempest',
|
||||
tempest.Tempest.tempest_base_path])
|
||||
|
||||
@mock.patch(TEMPEST_PATH + '.tempest.Tempest._initialize_testr')
|
||||
|
Loading…
Reference in New Issue
Block a user