Merge lp:~sseman/juju-ci-tools/multi-series-charm-2 into lp:juju-ci-tools
Status: | Merged |
---|---|
Merged at revision: | 1360 |
Proposed branch: | lp:~sseman/juju-ci-tools/multi-series-charm-2 |
Merge into: | lp:juju-ci-tools |
Diff against target: |
360 lines (+307/-4) 5 files modified
assess_heterogeneous_control.py (+6/-3) assess_multi_series_charms.py (+133/-0) tests/test_assess_heterogeneous_control.py (+26/-0) tests/test_assess_multi_series_charms.py (+140/-0) utility.py (+2/-1) |
To merge this branch: | bzr merge lp:~sseman/juju-ci-tools/multi-series-charm-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+291937@code.launchpad.net |
Description of the change
This branch adds tests for multi series charm.
Charms have the capability to declare that they support more than
one series. Previously a separate copy of the charm was required for
each series. Supported series are added to charm metadata as follows:
name: mycharm
summary: "Great software"
description: It works
series:
- trusty
- precise
- wily
The default series is the first in the list:
juju deploy mycharm
should deploy a mycharm service running on trusty.
A different, non-default series may be specified:
juju deploy mycharm --series precise
It is possible to force the charm to deploy using an unsupported series
(so long as the underlying OS is compatible):
juju deploy mycharm --series xenial --force
Very nice.