Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Add apiv4 bundle id support to deploy-target #695

Merged
merged 2 commits into from Feb 17, 2015

Conversation

hatched
Copy link
Contributor

@hatched hatched commented Feb 17, 2015

The jujucharms.com website allows users to "add to demo" bundles to play around with. It has had to guess at the apiv3 bundle id for some time now which has caused a number of bugs. This adds apiv4 bundle support to the GUI's deploy-target handler so that jujucharms.com can now use the apiv4 bundle id's.

@hatched
Copy link
Contributor Author

hatched commented Feb 17, 2015

To QA

make devel
visit <host>?deploy-target=bundle/django
It should deploy the bundle.

@jujugui
Copy link
Contributor

jujugui commented Feb 17, 2015

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
http://ci.jujugui.org:8080//job/juju-gui/2372/
Test FAILed.

@hatched
Copy link
Contributor Author

hatched commented Feb 17, 2015

Spurious failure, running manually.

@makyo
Copy link
Contributor

makyo commented Feb 17, 2015

👍 QA okay - works like a dream, tried a few different bundles.

@hatched
Copy link
Contributor Author

hatched commented Feb 17, 2015

Passed when ran manually http://ci.jujugui.org:8080/job/juju-gui/2373/

deploying a bundle via the deployer.

@method getBundleYAML
@param {String} id Bundle id in apiv4 format.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might make it clear we're talking charmstore here, e.g. ... id in v4 charmstore api format.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea

@jcsackett
Copy link
Contributor

👍 @hatched, thanks for the explanations.

@hatched
Copy link
Contributor Author

hatched commented Feb 17, 2015

Thanks for the reviews! :shipit:

@jujugui
Copy link
Contributor

jujugui commented Feb 17, 2015

Status: merge request accepted. Url: http://ci.jujugui.org:8080/job/juju-gui-merge

jujugui added a commit that referenced this pull request Feb 17, 2015
Add apiv4 bundle id support to deploy-target

The jujucharms.com website allows users to "add to demo" bundles to play around with. It has had to guess at the apiv3 bundle id for some time now which has caused a number of bugs. This adds apiv4 bundle support to the GUI's deploy-target handler so that jujucharms.com can now use the apiv4 bundle id's.
@jujugui jujugui merged commit eedee1b into juju:develop Feb 17, 2015
@hatched hatched deleted the deploy-target-apiv4 branch March 9, 2015 15:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants