juju-solutions / layer-caas-base

Base layer for CaaS charms
Apache License 2.0
2 stars 7 forks source link

Add custom wheelhouse tactic to create "pre-installed" wheelhouse #3

Closed johnsca closed 6 years ago

johnsca commented 6 years ago

CaaS charms need to be able to specify their charm-code dependencies and have a known version of those dependencies, including reactive and charm-helpers. But they can't do a normal wheelhouse install because they're side-loaded into an otherwise immutable operator image. So we create an "unpacked" or "pre-installed" "wheelhouse" (lib dir).

This depends on https://github.com/juju/charm-tools/pull/395 to build.

It's also running up against https://github.com/juju/charm-tools/issues/98

johnsca commented 6 years ago

I added / improved doc strings and comments to try to make it more clear. Does that help?

This does need to be tested with an actual deploy, but the second charm-tools issue will need to be resolved first (or the hooks copied manually back into place first)