X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=jenkins%2FVCA%2Fupdate-lxd-image.sh;h=07ba90b02b790d6764564b84a2205b3a00bcb808;hb=ae197f2614349f5f76ed4ef43effcfc6a8115d04;hp=182a33c290b89f1bad6c614363913978df7a2276;hpb=c7a82d0be7c72183e6db9e0fb522b484f9c8df84;p=osm%2Fdevops.git diff --git a/jenkins/VCA/update-lxd-image.sh b/jenkins/VCA/update-lxd-image.sh index 182a33c2..07ba90b0 100755 --- a/jenkins/VCA/update-lxd-image.sh +++ b/jenkins/VCA/update-lxd-image.sh @@ -21,6 +21,9 @@ DOWNLOAD_PACKAGES="" PACKAGES="$LAYER_BASIC $DOWNLOAD_PACKAGES" +# Packages from pypi to pre-install +PYPI="charms.reactive charmhelpers paramiko>=1.16.0,<1.17" + function cache() { series=$1 container=juju-${series}-base @@ -35,6 +38,7 @@ function cache() { lxc exec $container -- apt-get update -y lxc exec $container -- apt-get upgrade -y lxc exec $container -- apt-get install -y $PACKAGES $2 + lxc exec $container -- pip3 install --upgrade $PYPI lxc stop $container lxc image delete $alias || true