From 14ec79edc1dae18d4d366a26f13f13b5747af610 Mon Sep 17 00:00:00 2001
From: Narinder Gupta <narinder.gupta@canonical.com>
Date: Sat, 10 Mar 2018 01:19:52 -0600
Subject: [PATCH] ceilometer upgrade using action.

Change-Id: I4e74f58891270737f942a6898bc5ed9f2c123d9d
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
---
 ci/deploy.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ci/deploy.sh b/ci/deploy.sh
index ab3e5e34..0534d841 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -340,11 +340,17 @@ if ([ $opnfvmodel == "openstack" ]); then
     # creating heat domain after pushing the public API into /etc/hosts
     status=`juju run-action heat/0 domain-setup`
     echo $status
+    status=`juju run-action ceilometer/0 ceilometer-upgrade`
+    echo $status
     if ([ $opnftype == "ha" ]); then
         status=`juju run-action heat/1 domain-setup`
         echo $status
+        status=`juju run-action ceilometer/1 ceilometer-upgrade`
+        echo $status
         status=`juju run-action heat/2 domain-setup`
         echo $status
+        status=`juju run-action ceilometer/2 ceilometer-upgrade`
+        echo $status
     fi
 
     sudo ../juju/get-cloud-images || true
-- 
2.16.6