Closed natalian98 closed 1 year ago
@natalian98 thanks for raising this issue. ops_test.model
is a Model
object from python-libjuju
I believe there are numerous issues against deploying in python-juju regarding this
You might wish to open this issue there
When using
ops_test.model.deploy
to deploy a bundle, it seems to ignore pinned charm revisions.Steps to reproduce
The following template named
bundle.yaml.j2
:is rendered correctly with
ops_test.render_bundle
(it includes the revision 136 in traefik-k8s), but when deployed in an integration test usingops_test.model.deploy
, the most current revision 141 is deployed instead. Example CIWorkaround
Deploy the bundle with
ops_test.run("juju", "deploy", rendered_bundle, "--trust")