xiangning
|
ba3727723e
|
perf(docker): 调大 pnpm fetch 超时与重试,防 install 中断
|
2026-07-17 13:29:23 +08:00 |
|
xiangning
|
79742d25f8
|
perf(docker): npm 源走阿里 npmmirror,避免 registry.npmjs.org 不稳
pnpm install 前设 registry=https://registry.npmmirror.com,
解决构建时 npm 包 error(23)/拉取超时。
|
2026-07-17 13:21:38 +08:00 |
|
xiangning
|
5b34880b11
|
perf(docker): base 镜像走 Harbor Proxy Cache
node/nginx FROM 改走 dockerhub-proxy,经 Harbor 回源 docker.io 本地缓存,
避免公网拉取超时。
|
2026-07-17 12:13:03 +08:00 |
|
xiangning
|
b3d8750816
|
fix(cicd): 部署 stage 加远程 docker login Harbor
Harbor 私有仓库,cd-target pull 需先登录。withCredentials 传凭证
通过 ssh 执行 docker login(stdin 传密码)。
|
2026-07-17 11:40:38 +08:00 |
|
xiangning
|
cb75e7096a
|
fix(cicd): 部署 SSH 用 IP 直连 + sudo docker
实测 Jenkins 容器内无 cd-target ssh 别名,cd-target docker 需 sudo。
- DEPLOY_HOST: cd-target → ubuntu@110.42.240.10
- 远程命令: docker → sudo docker
|
2026-07-17 11:36:07 +08:00 |
|
xiangning
|
095346b48e
|
fix(cicd): portal 流水线 - 重写为可用版本(旧模板有致命 bug)
修复 portal 反复 FAILURE 的根因:
- 旧 Jenkinsfile 指向已废弃的 192.168.1.154:31010 registry(非当前 Harbor)
- 旧 Jenkinsfile 用 docker-registry-credentials 凭证(未配置)
- 旧 Jenkinsfile 镜像名写成 buildflow-web(portal 仓库却叫 web,名称错误)
- sh heredoc 内误用 Groovy 风格 // 注释(shell 会把 // 当命令执行报错)
重写为与 api/web 对齐的 clean version:
- Harbor 43.134.235.58:58080 / buildflow/buildflow-portal
- harbor-credentials 凭证
- SSH 直连 cd-target 部署(-p 5173:5173)
- HealthCheck stage
|
2026-07-17 11:22:52 +08:00 |
|
xiangning
|
29bcbbdb72
|
fix: clean Jenkinsfile (single-quote sh blocks)
|
2026-07-03 18:12:29 +08:00 |
|
xiangning
|
d4275c767d
|
fix: clean Jenkinsfile (single-quote sh blocks)
|
2026-07-03 17:37:02 +08:00 |
|
xiangning
|
2a228407c3
|
fix Jenkinsfile escape-free
|
2026-07-03 17:30:34 +08:00 |
|
xiangning
|
058ec41e39
|
fix: rewrite Jenkinsfile (proper escaping + feishu card)
|
2026-07-03 17:20:08 +08:00 |
|
xiangning
|
f67bbd1e09
|
fix: remove timestamps
|
2026-07-03 17:15:44 +08:00 |
|
xiangning
|
1c35674293
|
fix: remove timestamps (no timestamper plugin)
|
2026-07-03 17:15:21 +08:00 |
|
xiangning
|
6cbec72615
|
fix: correct package emoji (clean)
|
2026-07-03 17:10:51 +08:00 |
|
xiangning
|
c256740707
|
fix: correct package emoji encoding
|
2026-07-03 17:10:19 +08:00 |
|
xiangning
|
7f6cfad631
|
refactor: CI/CD pipeline with stages + feishu card notification (portal)
|
2026-07-03 17:08:59 +08:00 |
|
xiangning
|
26e48531e0
|
Refactor Jenkinsfile to Harbor-based CI/CD with credentials
|
2026-07-02 13:59:06 +08:00 |
|
xiangning
|
34321072d1
|
feat: BuildFlow 门户网站初始化(React/Vite)
|
2026-07-02 10:57:09 +08:00 |
|