[corey.bryant,trivial] Add icehouse git amulet tests back with new branches.
This commit is contained in:
parent
88924c0361
commit
8efb9a0b05
9
tests/050-basic-trusty-icehouse-git
Executable file
9
tests/050-basic-trusty-icehouse-git
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Amulet tests on a basic nova compute git deployment on trusty-icehouse."""
|
||||
|
||||
from basic_deployment import NovaBasicDeployment
|
||||
|
||||
if __name__ == '__main__':
|
||||
deployment = NovaBasicDeployment(series='trusty', git=True)
|
||||
deployment.run_tests()
|
@ -70,16 +70,21 @@ class NovaBasicDeployment(OpenStackAmuletDeployment):
|
||||
nova_config = {'config-flags': 'auto_assign_floating_ip=False',
|
||||
'enable-live-migration': 'False'}
|
||||
if self.git:
|
||||
branch = 'stable/' + self._get_openstack_release_string()
|
||||
release = self._get_openstack_release_string()
|
||||
reqs_branch = 'stable/' + release
|
||||
if self._get_openstack_release() == self.trusty_icehouse:
|
||||
nova_branch = release + '-eol'
|
||||
else:
|
||||
nova_branch = 'stable/' + release
|
||||
amulet_http_proxy = os.environ.get('AMULET_HTTP_PROXY')
|
||||
openstack_origin_git = {
|
||||
'repositories': [
|
||||
{'name': 'requirements',
|
||||
'repository': 'git://github.com/openstack/requirements',
|
||||
'branch': branch},
|
||||
'branch': reqs_branch},
|
||||
{'name': 'nova',
|
||||
'repository': 'git://github.com/openstack/nova',
|
||||
'branch': branch},
|
||||
'branch': nova_branch},
|
||||
],
|
||||
'directory': '/mnt/openstack-git',
|
||||
'http_proxy': amulet_http_proxy,
|
||||
|
Loading…
Reference in New Issue
Block a user