Merge "Download OCL container packages from OPNFV artifact repo (if not present)...
authorNarinder Gupta <narinder.gupta@canonical.com>
Wed, 9 Aug 2017 22:42:38 +0000 (22:42 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 9 Aug 2017 22:42:38 +0000 (22:42 +0000)
ci/02-deploybundle.sh
ci/config_tpl/juju2/bundle_tpl/ceph.yaml

index 496707d..be11a1f 100755 (executable)
@@ -182,5 +182,20 @@ else
     done
 fi
 
+if [ "$opnfvsdn" = "ocl" ]
+then
+  ROLES="contrail-controller contrail-analytics contrail-analyticsdb"
+  TAG="ubuntu16.04-4.0.0.0-20.tar.gz"
+
+  for ROLE in $ROLES
+  do
+    FILE="${ROLE}-${TAG}"
+  if [ ! -f $FILE ]
+  then
+    curl -o $FILE http://artifacts.opnfv.org/ovno/containers/$FILE
+  fi
+  juju attach $ROLE ${ROLE}="./$FILE"
+done
+fi
 #lets gather the status of deployment once juju-deployer completed.
 juju status --format=tabular
index dc4e101..6b20d98 100644 (file)
@@ -39,8 +39,8 @@
 {% endfor %}
 {% else %}
         - "lxd:nodes/0"
-        - "lxd:nodes/0"
-        - "lxd:nodes/0"
+        - "lxd:nodes/1"
+        - "lxd:nodes/2"
 {% endif %}
 {% endif %}
     ceph-osd: