fix(build.sh): pip install 列表补 pipeline-service(漏装导致部署不经过 pip install)
build.sh 第 5 步 clone 列表含 pipeline-service,但第 6 步 pip install 列表漏了它, 导致 pipeline-service 部署时不被自动 pip install,只能手动(此前 editable install 就是 手动 pip install -e 的产物)。补上后 pipeline-service 走普通 pip install(site-packages 有 真实目录),部署 git pull + pip install 两步都走 build.sh 固化流程。
This commit is contained in:
parent
fa3de8bf96
commit
0477563637
4
build.sh
4
build.sh
@ -61,8 +61,8 @@ for mod in pipeline-sdlc showcase evaluate pipeline-service pipeline-task tenant
|
||||
cd "$cdir"
|
||||
done
|
||||
|
||||
# 6. pip install all modules from pkgs/
|
||||
for mod in pipeline_core pipeline_ops pipeline_dist pipeline-sdlc showcase tenant app_audit product_management discount pricing unipay smssend; do
|
||||
# 6. pip install all modules from pkgs/(pipeline-service 是普通 install 非 editable,部署必 pull+pip install 都做)
|
||||
for mod in pipeline_core pipeline_ops pipeline_dist pipeline-sdlc showcase pipeline-service tenant app_audit product_management discount pricing unipay smssend; do
|
||||
if [ -d "pkgs/$mod" ]; then
|
||||
"$cdir/py3/bin/pip" install "pkgs/$mod/" 2>&1 | tail -1
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user