|
|
|
@@ -51,7 +51,7 @@ else |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
|
|
baseDir=/home/somuns/ci4s |
|
|
|
baseDir=/data/code |
|
|
|
tag=$(date +'%Y%m%d%H%M') |
|
|
|
remote_deploy_dir=/home/deploy/manage-platform |
|
|
|
|
|
|
|
@@ -125,8 +125,8 @@ build_and_deploy() { |
|
|
|
local yaml_file=$3 |
|
|
|
|
|
|
|
build_image ${dockerfile} ${image} |
|
|
|
prepare_yaml ${yaml_file} ${image} |
|
|
|
deploy_service ${yaml_file} |
|
|
|
# prepare_yaml ${yaml_file} ${image} |
|
|
|
# deploy_service ${yaml_file} |
|
|
|
} |
|
|
|
|
|
|
|
# 构建和部署 manage 服务 |
|
|
|
|