Merge "cleanup old controllers and models for virtual deployments"
authorNarinder Gupta <narinder.gupta@canonical.com>
Thu, 10 Aug 2017 03:20:34 +0000 (03:20 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 10 Aug 2017 03:20:34 +0000 (03:20 +0000)
1  2 
ci/deploy.sh

diff --cc ci/deploy.sh
@@@ -200,10 -203,14 +205,15 @@@ check_status() 
          juju expose ceph-radosgw || true
          #juju ssh ceph/0 \ 'sudo radosgw-admin user create --uid="ubuntu" --display-name="Ubuntu Ceph"'
      fi
 +
      echo "...... deployment finishing ......."
 -}
 + }
  
+ # In the case of a virtual deployment
+ if [ "$virtinstall" -eq 1 ]; then
+     ./clean.sh || true
+ fi
  echo "...... deployment started ......"
  deploy