Commit Graph

18 Commits

Author SHA1 Message Date
kdletters 16ff10111f 限制 dev 发布目录与 Jenkins 构建暂存的历史堆积
Project CI / AI game creator shell Rust crates (push) Successful in 1m26s
Project CI / AI game creator shell Rust smoke (push) Successful in 1m53s
Project CI / Backend tests (push) Successful in 3m47s
Project CI / AI game creator shell Rust lane 2/2 (push) Has been cancelled
Project CI / Repository checks (push) Has been cancelled
Project CI / Frontend tests (push) Has been cancelled
Project CI / AI game creator shell web tests (push) Has been cancelled
Project CI / AI game creator shell Rust lane 1/2 (push) Has been cancelled
Project CI / Native shell tests (push) Has been cancelled
- production-api-deploy.sh 新增 --keep-releases(默认 2):发布成功后保留 current 目标与最近 1 个历史 release,只清理同时含 api-server 或 web 标记的旧目录,清理失败只告警、不改变发布结论
- production-api-deploy.sh 新增 prune_old_releases 与参数校验:非整数或小于 1 的 --keep-releases 在任何动作之前失败
- check-production-api-deploy 增加默认值、显式值和非法值三类夹具,并断言非法参数不会提升 release
- check-production-ops 增加 release 保留策略与三个部署 Job 暂存清理的合同
- Api Deploy、Web Deploy、Stdb Publish 三个 Jenkinsfile 在部署或发布成功后只保留最近 2 个 build/<version> 暂存,失败时保留暂存便于诊断和重跑
- 内联清理片段避开 Groovy 反斜杠转义,并在 set -euo pipefail 下对空 build 目录安全(if [ -d build ] 守卫加兜底)
- 开发运维文档补充 release 与 Jenkins 暂存的保留上限口径
- pitfalls 记录 dev 根盘写满的两处根因(发布与暂存无上限、JNLP 幽灵 agent 刷 syslog)以及 Jenkins 内联 shell 的两个坑
2026-09-29 07:19:00 +08:00
kdletters 585a5638db 收口发布流水线脚本归档
让 API、Web、Stdb 构建流水线归档对应部署脚本。

让部署发布流水线只复制上游构建产物,不再在目标机器 checkout Git。

同步运维文档和团队共享流程口径。
2026-06-09 17:57:26 +08:00
kdletters 5354268529 fix web deploy artifact source 2026-06-01 13:13:35 +00:00
Codex 4796cff56f fix deploy labels 2026-06-01 12:16:35 +00:00
kdletters 751c742b0f chore: move jenkins caches under home 2026-06-01 06:30:49 +00:00
kdletters bf4423e53b Add release web artifact rsync fallback 2026-05-13 21:22:26 +08:00
kdletters 2277b37888 Limit Jenkins fallback git checkouts 2026-05-13 20:24:58 +08:00
kdletters bcd7617fb7 Use domain fallback for Jenkins git checkout
CI / verify (push) Has been cancelled
CI / verify (pull_request) Has been cancelled
2026-05-13 19:35:50 +08:00
kdletters a92dc2b7b0 fix(jenkins): add git fallback and nginx aliases
CI / verify (push) Has been cancelled
CI / verify (pull_request) Has been cancelled
2026-05-13 16:07:54 +08:00
kdletters 019c8a2b03 Keep web artifacts on build agent 2026-05-03 00:10:43 +08:00
kdletters 813dbf1fdd Persist notification recipients in Jenkins credentials 2026-05-02 22:47:55 +08:00
kdletters 39b1141287 Add production email notification pipeline 2026-05-02 22:35:36 +08:00
kdletters 64fda2a677 Handle empty commit hash in Jenkins checkout 2026-05-02 20:01:35 +08:00
kdletters 0c9e58b75a Enable Jenkins global timestamps for production pipelines 2026-05-02 19:43:17 +08:00
kdletters 06d6f7716e Use compatible timestamp wrapper in Jenkins pipelines 2026-05-02 19:34:11 +08:00
kdletters 23cb37c18a Revert "Remove unsupported Jenkins timestamp option"
This reverts commit ae33f10f17.
2026-05-02 19:29:58 +08:00
kdletters ae33f10f17 Remove unsupported Jenkins timestamp option 2026-05-02 19:28:07 +08:00
kdletters bdc3257003 Add production Jenkins release pipelines 2026-05-02 19:14:13 +08:00