Merge lp://qastaging/~cjohnston/ubuntu-ci-services-itself/get-swift-image into lp://qastaging/ubuntu-ci-services-itself
Status: | Merged |
---|---|
Approved by: | Chris Johnston |
Approved revision: | 405 |
Merged at revision: | 410 |
Proposed branch: | lp://qastaging/~cjohnston/ubuntu-ci-services-itself/get-swift-image |
Merge into: | lp://qastaging/ubuntu-ci-services-itself |
Diff against target: |
442 lines (+300/-25) 6 files modified
ci-utils/ci_utils/data_store/__init__.py (+2/-2) cli/ci_libs/image.py (+93/-0) cli/ci_libs/ticket.py (+2/-1) cli/ci_libs/utils.py (+6/-1) cli/tests/test_image.py (+168/-0) cli/ubuntu-ci (+29/-21) |
To merge this branch: | bzr merge lp://qastaging/~cjohnston/ubuntu-ci-services-itself/get-swift-image |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Chris Johnston (community) | Needs Resubmitting | ||
Andy Doan (community) | Approve | ||
Review via email:
|
Commit message
Add the ability to get_image to the CLI
Description of the change
The CI Engine builds a release candidate image that includes all of the tested and 'approved' packages included in it.
Currently the built images are stored in glance and swift. The images stored in glance are not always available for users to download due to different provider policies. Because of this we had to start storing the images in swift. They are presently stored in a container called ticket-#-image (where # is the ticket number). This container is a private container to avoid the images being available without credentials (NOTE: we should probably make the public/private availability a choice either at deployment time or at ticket creation time).
Because the image containers are presently set to be private, even though the artifact reference can be seen on the WebUI, it isn't possible for a user to download the image via the WebUI since they are missing the proper credentials. Because of this, we needed a way for the user to be able to download the image with the proper credentials.
Also note that Ursula is working on some additional tests for this MP which will follow soon.
PASSED: Continuous integration, rev:404 s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/440/
http://
Executed test runs:
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/uci- engine- ci/440/ rebuild
http://