[1chb1n, r=gnuoy] auto normalize amulet test definitions and amulet make targets; charm-helper sync.
This commit is contained in:
5
Makefile
5
Makefile
@@ -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
|
||||
|
||||
@@ -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 {}
|
||||
|
||||
|
||||
11
tests/017-basic-trusty-kilo
Normal file
11
tests/017-basic-trusty-kilo
Normal 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
9
tests/018-basic-utopic-juno
Executable 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()
|
||||
9
tests/019-basic-vivid-kilo
Normal file
9
tests/019-basic-vivid-kilo
Normal 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()
|
||||
Reference in New Issue
Block a user