From 04775636374f02d8faf71e36a2c7149990af8881 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 20 Aug 2026 13:58:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(build.sh):=20pip=20install=20=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=A1=A5=20pipeline-service=EF=BC=88=E6=BC=8F?= =?UTF-8?q?=E8=A3=85=E5=AF=BC=E8=87=B4=E9=83=A8=E7=BD=B2=E4=B8=8D=E7=BB=8F?= =?UTF-8?q?=E8=BF=87=20pip=20install=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 固化流程。 --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index af8f2ad..69366c6 100644 --- a/build.sh +++ b/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