Hi folks

We communicated back in early March that Juju 2.0 would no longer support local
charms deployed using a local charm repository and local charm URLs like
local:trusty/mysql. The final piece has landed in master, which is support for
local bundles to declare their contained charms to as disk paths.

You can now do something like this for bundles:

series: xenial
services:
    wordpress:
        charm: ./wordpress
        num_units: 1
        series: trusty
    mysql:
        charm: ./mysql
        num_units: 1
relations:
    - ["wordpress:db", "mysql:server"]


Note the series attributes. These are required if the charm does not yet define
any default series in metadata or you want to use a series different to the
default. Either the bundle default series will be used ("xenial" for the mysql
service above) or the service specific one will be ("trusty" for the wordpress
service above).

With the above changes, the JUJU_REPOSITORY env var is no longer supported, nor
is the --repository deploy argument. Just specify everything using a local path.
And construct your local bundles also using local paths for the charms (or store
paths also).

This work is now in master if you want to try it out early, otherwise it will be
available soon with the 2.0 release candidate following beta4.




-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to