|
|
|
@@ -52,7 +52,7 @@ else |
|
|
|
fi |
|
|
|
|
|
|
|
baseDir=/data/code/manage-platform |
|
|
|
tag=$(date +'%Y%m%d%H%M') |
|
|
|
tag=$(date +'%Y%m%d')-arm |
|
|
|
remote_deploy_dir=/home/deploy/manage-platform |
|
|
|
|
|
|
|
# 构建镜像函数 |
|
|
|
@@ -143,15 +143,15 @@ fi |
|
|
|
|
|
|
|
if [ "$service" == "all" ]; then |
|
|
|
#部署前端 |
|
|
|
build_and_deploy "nginx-dockerfile" "172.20.32.187/ci4s/ci4s-front:${tag}" "k8s-12front.yaml" |
|
|
|
build_and_deploy "nginx-dockerfile" "ccr.ccs.tencentyun.com/somunslotus/ci4s-front:${tag}" "k8s-12front.yaml" |
|
|
|
#部署管理平台 |
|
|
|
build_and_deploy "managent-dockerfile" "172.20.32.187/ci4s/ci4s-managent:${tag}" "k8s-7management.yaml" |
|
|
|
build_and_deploy "managent-dockerfile" "ccr.ccs.tencentyun.com/somunslotus/ci4s-managent:${tag}" "k8s-7management.yaml" |
|
|
|
#部署认证中心 |
|
|
|
build_and_deploy "auth-dockerfile" "172.20.32.187/ci4s/ci4s-auth:${tag}" "k8s-5auth.yaml" |
|
|
|
build_and_deploy "auth-dockerfile" "ccr.ccs.tencentyun.com/somunslotus/ci4s-auth:${tag}" "k8s-5auth.yaml" |
|
|
|
#部署网关 |
|
|
|
build_and_deploy "gateway-dockerfile" "172.20.32.187/ci4s/ci4s-gateway:${tag}" "k8s-4gateway.yaml" |
|
|
|
build_and_deploy "gateway-dockerfile" "ccr.ccs.tencentyun.com/somunslotus/ci4s-gateway:${tag}" "k8s-4gateway.yaml" |
|
|
|
#部署系统服务 |
|
|
|
build_and_deploy "system-dockerfile" "172.20.32.187/ci4s/ci4s-system:${tag}" "k8s-6system.yaml" |
|
|
|
build_and_deploy "system-dockerfile" "ccr.ccs.tencentyun.com/somunslotus/ci4s-system:${tag}" "k8s-6system.yaml" |
|
|
|
#部署配置中心 |
|
|
|
deploy_nacos "k8s-3nacos.yaml" |
|
|
|
fi |
|
|
|
|