How to quickly re-deploy the same charm

Tom Barber tom at spicule.co.uk
Fri Aug 18 13:07:19 UTC 2017


juju upgrade-charm is I suspect what you're looking for .

Tom


On Fri, Aug 18, 2017 at 1:58 PM, fengxia <fxia1 at lenovo.com> wrote:

> Hi Juju,
>
> I'm testing a locally built charm using `localhost` (LXD) setup. Everytime
> `juju deploy` will take a good 5-10 minutes just to download and install
> python packages before the charm code runs.
>
> I'm wondering what's a good practice to cut down this in dev iteration? So
> if I build a version 2 of the same charm, can I do `juju deploy my-charm`
> again to cause an update/upgrade, so to save the initial install time?
>
> Any advice?
>
> --
> Feng xia
> Engineer
> Lenovo USA
>
> Phone: 5088011794
> fxia1 at lenovo.com
>
> Lenovo.com
> Twitter | Facebook | Instagram | Blogs | Forums
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/juju
>



-- 
Tom Barber
CTO Spicule LTD
tom at spicule.co.uk

http://spicule.co.uk

@spiculeim <http://twitter.com/spiculeim>

Schedule a meeting with me <http://meetme.so/spicule>

GB: +44(0)5603641316
US: +18448141689

<https://leanpub.com/juju-cookbook>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170818/a9a654a9/attachment.html>


More information about the Juju mailing list