Merge lp:~abentley/juju-release-tools/image-index into lp:juju-release-tools
Status: | Merged |
---|---|
Merged at revision: | 304 |
Proposed branch: | lp:~abentley/juju-release-tools/image-index |
Merge into: | lp:juju-release-tools |
Diff against target: |
77 lines (+13/-7) 2 files modified
make_aws_image_streams.py (+9/-3) tests/test_make_aws_image_streams.py (+4/-4) |
To merge this branch: | bzr merge lp:~abentley/juju-release-tools/image-index |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+295334@code.launchpad.net |
Commit message
Use index.json, not index2.json for images.
Description of the change
This branch switches image streams to use index.json as their index.
index2.json is a workaround needed for agents because we now use multiple content-ids, and early jujus couldn't cope with that. But it was not a change to the simplestreams format. Juju considers index.json a "legacy" file, but it still uses it, and this is still the only file generated by cloud-images.
Early jujus could break if they encountered multiple image-ids in simplestreams, but they didn't access streams.
Therefore, image streams should follow the format used by cloud-images.
Thank you.