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

Ability to build and deploy bundles #513

Open
knkski opened this issue Mar 25, 2019 · 2 comments
Open

Ability to build and deploy bundles #513

knkski opened this issue Mar 25, 2019 · 2 comments

Comments

@knkski
Copy link

knkski commented Mar 25, 2019

Copied from https://bugs.launchpad.net/juju/+bug/1820080, as it seems like having charm-tools wrap juju deploy is the better path forward. Basically, it would be nice if there were a single command for deploying a bundle that would build any local charms as necessary and grab the rest from the charm store. It's unlikely to be able to happen in juju itself, since we don't want to add charm-tools as a dependency to juju deploy, but it might make sense to have e.g. charm deploy-bundle that would take care of this.

@johnsca
Copy link
Contributor

johnsca commented Mar 26, 2019

We also discussed the possibility of adding a --deploy option to charm build and adding support to charm build to detect if it's called against a bundle, specifically if the bundle contains references to local charms, and to perform a build on those local charms before doing the deploy.

@knkski
Copy link
Author

knkski commented Apr 16, 2019

I've got a first stab at this here:

https://github.com/knkski/rust-libjuju

It works great for deploying, though I think I'm going to add another command or so, and have something like juju bundle deploy and juju bundle destroy, as right now I don't think there's a handy way to remove everything in a bundle.

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

No branches or pull requests

2 participants