When reading “juju upgade-charm --help” I came across this sentence:
Deploying from a path is intended to suit the workflow of a charm author working on a single client machine; use of this deployment method from multiple clients is not supported and may lead to confusing behaviour. Each local charm gets uploaded with the revision specified in the charm, if possible, otherwise it gets a unique revision (highest in state + 1).
use of this deployment method from multiple clients is not supported and may lead to confusing behaviour.
This is problematic.
Imagine if you have a set of “private-local” charms which your team (such as ours) is using and charmhub is not available or an option.
Your team might be sharing code, but any two developers may not deploy to a model, using the same code since the “juju upgrade-charm” will only work from a single client!
I don’t recall myself hitting this issue myself yet, but we have a strange issue at the moment with “juju upgrade-charm”, which we are pursuing.
- Is the statement “use of this deployment method from multiple clients is not supported and may lead to confusing behaviour.” true?
- What would the effects be of deploying a “local” charm build on a different clients?