Commit Graph
5 Commits
Author SHA1 Message Date
ximenchuifeng 56207aa5e1 feat(ci): promote.sh supports PLAN-based per-service partial delivery
Replace the all-or-nothing baseline with a per-service plan (PLAN JSON):
keep/reuse/deliver/ci-now per service pair (gateway/sso/ultra/audit/
agent/edge). Compat params SERVICES/IMAGES map to deliver entries; all
params empty = full delivery of demo tags, pin output byte-identical to
the old script. Version/chart tag only allocated when needed; existing
chart tag is reused idempotently instead of failing. retag records image
digests; pin writes prepended release-notes.yaml entries (from/to,
sourceTag, digest, dbChange) and only touches files of non-keep
services. CHART_ONLY skips image work. PROMOTE_DRY_RUN echoes docker
and git push for local rehearsal.

Design: hub docs/adr/0074 (partial delivery alongside ADR-0067).
2026-08-27 14:37:09 +08:00
ximenchuifeng b6f1097d30 fix(promote): 客户目录扫描改用 release 分支树(工作区 master 无客户目录) 2026-08-22 13:49:22 +08:00
ximenchuifeng 3549746cdc fix(promote): 基线解析适配真实两层结构(修复 walk 叶子误当 dict + 打印解包)
(cherry picked from commit e2375a49d2)
2026-08-22 13:47:28 +08:00
ximenchuifeng fc9297cd6b fix(promote): CUSTOMER 参数防呆——唯一客户目录才允许缺省,多客户时必须显式指定(防发错现场)
(cherry picked from commit 3849548087)
2026-08-22 13:47:28 +08:00
ximenchuifeng a1a1a617ff feat(release): 交付晋级流水线 release-promote(本仓库第一条流水线)
- .drone.yml: 四步(prepare/retag/chart/pin),trigger 仅 custom,push 事件零触发
- ci/promote.sh: 读 demo 交付基线→retag 推 ACR→chart bump+tag→release 分支钉版
- ci/auto-bump.sh: 未传版本号时自动递增 patch(查 chart tag)
- 凭证: ACR 推送走 secrets(已配);git push 走 netrc;禁止凭证走参数(ADR-0066/0067)
2026-08-22 13:08:42 +08:00