fix: 统一 HWLAB production 交付 authority
This commit is contained in:
@@ -21,6 +21,12 @@
|
||||
- Kafka client、direct publish、refresh replay、projector 和 live SSE consumer group。
|
||||
- production 与 development 共享同一个 HWLAB Gitea PaC Repository CR;两个 lane 使用独立 consumer,并由 consumer params 覆盖 source branch、snapshot、Pipeline 和 runtime identity。
|
||||
- 共享 Repository 避免同一镜像仓库重复声明 PaC Repository;独立 consumer 仍保持 production 自动交付路径与 development 完全隔离。
|
||||
- `lanes.production.targets.NC01.sourceAuthority.giteaMirrorRepoKey` 已统一为共享 authority `hwlab-nc01-v03`,不再引用不存在的 production repo key。
|
||||
- delivery authority parser 以 consumer params 解析 branch 与 snapshot:
|
||||
- 显式 consumer override 优先;
|
||||
- 未显式覆盖时继承 Repository 默认;
|
||||
- 多分支镜像优先匹配同 branch authority;
|
||||
- 唯一共享镜像允许 production consumer 复用同一 Repository。
|
||||
- 通用 HWLAB lane parser 和 plan 已投影 migration ledger,并从 owning YAML 动态生成合法 lane 提示。
|
||||
- `config/platform-infra/kafka.yaml` 已声明 production Cloud API Kafka ACL,未改变 topic、实时和回放架构。
|
||||
|
||||
@@ -50,6 +56,17 @@
|
||||
- Argo Application 为 `hwlab-node-production`;
|
||||
- `single-path`、`yaml-source-of-truth`、`public-repository-url`、`gitea-internal-source` 和 `runtime-zero-docker` 均为 `true`。
|
||||
- `bun scripts/cli.ts platform-infra pipelines-as-code plan --target NC01 --consumer hwlab-nc01-v03`:通过,development consumer 保持独立。
|
||||
- delivery authority 与 renderer 定向断言通过:
|
||||
- NC01 只声明一个 HWLAB Gitea repository,key 为 `hwlab-nc01-v03`;
|
||||
- production 与 v03 的 `repositoryRef` 均为 `hwlab-nc01-v03`;
|
||||
- production consumer 保持 `hwlab-nc01-production`;
|
||||
- production branch 为 `release`,snapshot prefix 为 release 独立前缀;
|
||||
- authority 解析结果为 `pac-pr-merge`;
|
||||
- feature config renderer 使用 production consumer。
|
||||
- 纯 Kafka 定向断言通过:
|
||||
- `directPublish`、`liveKafkaSse`、`kafkaRefreshReplay` 为 `true`;
|
||||
- `transactionalProjector`、`projectionOutboxRelay`、`projectionRealtime` 为 `false`;
|
||||
- `transactionalProjectorConsumerGroupId` 仅作为 parser 必填的 inert compatibility 字段保留。
|
||||
- 解析后隔离断言全部通过:
|
||||
- source branch、workspace、Pipeline、PipelineRun prefix、ServiceAccount;
|
||||
- GitOps branch、runtime namespace、Argo Application、public origin;
|
||||
|
||||
Reference in New Issue
Block a user