[1chb1n, r=gnuoy] auto normalize amulet test definitions and amulet make targets; charm-helper sync.

This commit is contained in:
Liam Young
2015-04-17 16:30:15 +01:00
10 changed files with 35 additions and 4 deletions

View File

@@ -23,10 +23,7 @@ test:
# coreycb note: The -v should only be temporary until Amulet sends
# raise_status() messages to stderr:
# https://bugs.launchpad.net/amulet/+bug/1320357
@juju test -v -p AMULET_HTTP_PROXY --timeout 900 \
00-setup 14-basic-precise-icehouse 15-basic-trusty-icehouse \
16-basic-trusty-icehouse-git 17-basic-trusty-juno \
18-basic-trusty-juno-git
@juju test -v -p AMULET_HTTP_PROXY,AMULET_OS_VIP --timeout 2700
publish: lint test
bzr push lp:charms/openstack-dashboard

View File

@@ -459,6 +459,11 @@ class AMQPContext(OSContextGenerator):
ctxt['rabbitmq_hosts'] = ','.join(sorted(rabbitmq_hosts))
oslo_messaging_flags = conf.get('oslo-messaging-flags', None)
if oslo_messaging_flags:
ctxt['oslo_messaging_flags'] = config_flags_parser(
oslo_messaging_flags)
if not context_complete(ctxt):
return {}

View File

@@ -0,0 +1,11 @@
#!/usr/bin/python
"""Amulet tests on a basic openstack-dashboard deployment on trusty-kilo."""
from basic_deployment import OpenstackDashboardBasicDeployment
if __name__ == '__main__':
deployment = OpenstackDashboardBasicDeployment(series='trusty',
openstack='cloud:trusty-kilo',
source='cloud:trusty-updates/kilo')
deployment.run_tests()

9
tests/018-basic-utopic-juno Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/python
"""Amulet tests on a basic openstack-dashboard deployment on utopic-juno."""
from basic_deployment import OpenstackDashboardBasicDeployment
if __name__ == '__main__':
deployment = OpenstackDashboardBasicDeployment(series='utopic')
deployment.run_tests()

View File

@@ -0,0 +1,9 @@
#!/usr/bin/python
"""Amulet tests on a basic openstack-dashboard deployment on vivid-kilo."""
from basic_deployment import OpenstackDashboardBasicDeployment
if __name__ == '__main__':
deployment = OpenstackDashboardBasicDeployment(series='vivid')
deployment.run_tests()