summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
eba0ac3)
Also upgraded the version of the juju library to 2.9.8 (and made the
necessary changes to the code to work with this version), once the
previous version didn't supported Bundles from the Charm Hub
Change-Id: I34d87dff75b4e77fdbdaef0eaf4da565b0bf213b
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
raise K8sException("bundle must be set")
if bundle.startswith("cs:"):
raise K8sException("bundle must be set")
if bundle.startswith("cs:"):
+ # For Juju Bundles provided by the Charm Store
+ pass
+ elif bundle.startswith("ch:"):
+ # For Juju Bundles provided by the Charm Hub (this only works for juju version >= 2.9)
pass
elif bundle.startswith("http"):
# Download the file
pass
elif bundle.startswith("http"):
# Download the file
"""
controller = None
try:
"""
controller = None
try:
- controller = Controller(loop=self.loop)
+ controller = Controller()
await asyncio.wait_for(
controller.connect(
endpoint=self.vca_connection.data.endpoints,
await asyncio.wait_for(
controller.connect(
endpoint=self.vca_connection.data.endpoints,
# limitations under the License.
async-timeout<4
# limitations under the License.
async-timeout<4
kubernetes
motor==1.3.1
pyasn1
kubernetes
motor==1.3.1
pyasn1
# via kubernetes
idna==3.3
# via requests
# via kubernetes
idna==3.3
# via requests
# via -r requirements.in
jujubundlelib==0.5.7
# via theblues
# via -r requirements.in
jujubundlelib==0.5.7
# via theblues