b993132b6f1c85fb36674127747dbd62c0cfdf01
构建流水线把幂等迁移 SQL 写回 master 的 db-scripts/<svc>/,release 是受保护 客户账本、SQL 从未同步——ADR-0074 所述「pin 时带至 release」此前只有检查 没有动作。现 pin 在 checkout release 后按 DB_CHANGE 服务从 origin/master 树 checkout 对应目录(同时进 index 与工作区,随 pin commit 交付);警告语义改为 「master 树未生成」。沙盒演练:正路径 32 个 SQL 入 commit,负路径(源 tag 无对应 SQL)如实警告不拦截。
MixingX Deploy
This repository is the GitOps environment state for MixingX deployments.
Responsibilities:
applications/: Argo CD Application manifests.environments/: environment-specific Helm values.- Helm chart templates live in
mixingx.hub.chart.git. - Application source code and CI live in
mixingx.hub.git.
Demo environment:
- Register both repositories in Argo CD:
https://gitee.com/mixing-tech/mixingx.deploy.githttps://gitee.com/mixing-tech/mixingx.hub.chart.git
- Apply or create
bootstrap/mixingx-demo-root.yaml. - Argo CD will create/sync the applications under
applications/.
Dev environment (retired):
- The dev environment (namespace
mixingx-dev,dev.mixingx.local) is retired; local development is covered by Aspire inmixingx.hub. - Its manifests are kept inert under
applications/dev/disabled/andbootstrap/disabled/; values underenvironments/dev/are kept for reference. - See
applications/dev/README.mdfor the rationale and re-enable steps.
Agent and edge fleets:
applications/agents.yamlis an Argo CD ApplicationSet.applications/edges.yamlis an Argo CD ApplicationSet.environments/demo/agent-common-values.yamlcontains shared Helm values for all agents.environments/demo/edge-common-values.yamlcontains shared Helm values for all edges.- Add or remove agent or edge instances by editing
spec.generators[0].list.elementsin the matching ApplicationSet. - Prefer
nodeLabelovernodeName; label the target node so Kubernetes scheduler can still bind local-path PVCs.
Example:
kubectl label node node1 mixingx.io/edge-node=shanghai
- id: shanghai
description: Shanghai Agent
nodeLabel: shanghai
- id: beijing
description: Beijing Edge
nodeLabel: beijing
Languages
Shell
100%