Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amulet not respecting series= declaration for multi-series charms #137

Closed
lazypower opened this issue May 13, 2016 · 0 comments · Fixed by #138
Closed

amulet not respecting series= declaration for multi-series charms #137

lazypower opened this issue May 13, 2016 · 0 comments · Fixed by #138
Assignees

Comments

@lazypower
Copy link
Contributor

With the following snippet in a layers metadata.yaml

series:
  - trusty
  - xenial

And the following defined in a test in tests/10-deploy-test.py

        cls.deployment = amulet.Deployment(series='xenial')

I will get a trusty series charm every time i execute the tests. I've discovered that if you move 'xenial' to the top of the series list on the output charm, it will deploy the series of xenial, but it appears the series= directive was not respected.

ii amulet 1.14.4-0ubuntu4~ubuntu1 all Testing harness for Juju Charms

@tvansteenburgh tvansteenburgh self-assigned this May 13, 2016
marcoceppi pushed a commit that referenced this issue May 13, 2016
…#137)

Otherwise deployer may try to infer a default series from
the charm metadata, which may result in a different series
than the one specified in the test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants