Descriptioncmd/juju: deploy using the API + 1.16 compat.
juju deploy starts to use the API only, if possible.
Older API servers, not supporting charm uploads are
detected and the old 1.16-compatible code with a
direct state connection is executed.
In addition to that, bug #1216830 is fixed (no juju.Conn
usage in state/apiserver antmore), which required some
refactoring, namely moving conn.DeployService and also
conn.AddUnits out of juju.Conn and into a juju/deploy.go,
taking a *state.State as argument.
https://code.launchpad.net/~dimitern/juju-core/227-cli-deploy-via-api/+merge/199655
Requires: https://code.launchpad.net/~dimitern/juju-core/226-addcharm-api/+merge/199478
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 22
Patch Set 2 : cmd/juju: deploy using the API + 1.16 compat. #
Total comments: 10
Patch Set 3 : cmd/juju: deploy using the API + 1.16 compat. #
Total comments: 6
Patch Set 4 : cmd/juju: deploy using the API + 1.16 compat. #
MessagesTotal messages: 7
|