summaryrefslogtreecommitdiffstats
path: root/deploy/launch.sh
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2018-06-13 06:25:48 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-06-13 06:25:49 +0000
commitbdf629c9cc029251264ef6939556607155970736 (patch)
tree3e8a1037bbd05f35ff200e1b7c96f6b960da1531 /deploy/launch.sh
parentc6c79ab29ccf71547750c8907108b2320512050a (diff)
parent42d32610567f301ea5a3074aa0f3bbae185f601f (diff)
Merge "using compass to deploy harbor for private docker registry"
Diffstat (limited to 'deploy/launch.sh')
-rwxr-xr-xdeploy/launch.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/launch.sh b/deploy/launch.sh
index 76e8f254..8a009003 100755
--- a/deploy/launch.sh
+++ b/deploy/launch.sh
@@ -90,6 +90,13 @@ else
log_info "deploy host macs: $machines"
fi
+if [[ "$DEPLOY_HARBOR" == "true" ]]; then
+ if ! launch_harbor;then
+ log_error "launch_harbor failed"
+ exit 1
+ fi
+fi
+
if [[ "$REDEPLOY_HOST" != "true" ]]; then
if ! set_compass_machine; then
log_error "set_compass_machine fail"