mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-12 11:51:09 +00:00
Add CLOUD_ENABLE option to config
Updated to match other optional policies in how they are enabled or set to dry-run.
This commit is contained in:
parent
436626145b
commit
25875e7a27
@ -122,3 +122,6 @@ SRUREGRESSIONEMAIL_ENABLE = no
|
||||
|
||||
# we don't run piuparts testing in Ubuntu
|
||||
PIUPARTS_ENABLE = no
|
||||
|
||||
# run cloud tests on packages
|
||||
CLOUD_ENABLE = yes
|
||||
|
@ -553,7 +553,11 @@ class Britney(object):
|
||||
self._policy_engine.add_policy(EmailPolicy(self.options,
|
||||
self.suite_info,
|
||||
dry_run=add_email_policy == 'dry-run'))
|
||||
self._policy_engine.add_policy(CloudPolicy(self.options, self.suite_info, dry_run=self.options.dry_run))
|
||||
add_cloud_policy = getattr(self.options, 'cloud_enable', 'no')
|
||||
if add_cloud_policy in ('yes', 'dry-run'):
|
||||
self._policy_engine.add_policy(CloudPolicy(self.options,
|
||||
self.suite_info,
|
||||
dry_run=add_cloud_policy == 'dry-run'))
|
||||
|
||||
@property
|
||||
def hints(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user