diff options
author | hu xinhui <xinhui_hu@foxmail.com> | 2018-05-04 13:00:33 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2018-05-09 01:01:58 +0000 |
commit | 42d32610567f301ea5a3074aa0f3bbae185f601f (patch) | |
tree | 146b0251e719498def1b9e4c55172d550c90dd34 /deploy/launch.sh | |
parent | 68a15541846c851b3309c014b0e28fa8502908c4 (diff) |
using compass to deploy harbor for private docker registry
Change-Id: Ice2ee902632a390938c8f5facf3010e712d9c9c3
Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
Diffstat (limited to 'deploy/launch.sh')
-rwxr-xr-x | deploy/launch.sh | 7 |
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" |