62 lines
2.4 KiB
JSON
62 lines
2.4 KiB
JSON
|
|
{
|
||
|
|
"schema": "guanghu.architecture-provision-request/v1",
|
||
|
|
"request_id": "HLCC-JD-CANDIDATE-PUBLIC-PATH-FIX-PROVISION-20260723",
|
||
|
|
"target_node": "JD-FD-PRIMARY",
|
||
|
|
"architecture_id": "GLS-HLCC-007",
|
||
|
|
"module": {
|
||
|
|
"code": "HLCC-JD-CANDIDATE-01",
|
||
|
|
"name": "光湖代码频道京东隔离候选公网子路径修复",
|
||
|
|
"bind": "loopback:3340,3341",
|
||
|
|
"owner": "systemd",
|
||
|
|
"unit": "hlcc-jd-candidate.service",
|
||
|
|
"run_user": "guanghu",
|
||
|
|
"writable_paths": [
|
||
|
|
"/var/lib/guanghu/personas/guanghu/hlcc-v16.0.1"
|
||
|
|
],
|
||
|
|
"read_only_paths": []
|
||
|
|
},
|
||
|
|
"source_ref": "REPO-001:refs/heads/main",
|
||
|
|
"deployed_commit_policy": "resolve immutable commit during provision and record it in the deployment receipt",
|
||
|
|
"source_paths": [
|
||
|
|
"server-tools/hololake-code-channel/jd-candidate/hlcc-bootstrap.py",
|
||
|
|
"server-tools/hololake-code-channel/jd-candidate/app.ini",
|
||
|
|
"server-tools/hololake-code-channel/jd-candidate/hlcc-jd-candidate.service"
|
||
|
|
],
|
||
|
|
"initial_provision": {
|
||
|
|
"kind": "new-architecture-unit",
|
||
|
|
"not_an_existing_action_bridge_extension": true,
|
||
|
|
"requires": [
|
||
|
|
"fetch the immutable REPO-001 commit that fixes the isolated candidate ROOT_URL",
|
||
|
|
"copy only the declared candidate files into a new immutable release directory",
|
||
|
|
"back up and replace only hlcc-jd-candidate.service",
|
||
|
|
"set the isolated candidate public root to https://guanghulab.com/jd/code/",
|
||
|
|
"keep the future production path https://guanghulab.com/code/ closed",
|
||
|
|
"do not modify current Gitea services, data or public production routing"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"verification": [
|
||
|
|
"candidate-generated login, asset and repository URLs remain under /jd/code/",
|
||
|
|
"the candidate health service reaches ready=true after restart",
|
||
|
|
"the signed binary reports Forgejo 16.0.1",
|
||
|
|
"the top-level production /code/ route remains closed",
|
||
|
|
"current Gitea service and data remain untouched"
|
||
|
|
],
|
||
|
|
"runtime_check": {
|
||
|
|
"url": "http://127.0.0.1:3341/health",
|
||
|
|
"expected": {
|
||
|
|
"ok": true,
|
||
|
|
"mode": "isolated-candidate",
|
||
|
|
"version": "16.0.1",
|
||
|
|
"code": "HLCC-JD-CANDIDATE-01",
|
||
|
|
"ready": true,
|
||
|
|
"stage": "ready",
|
||
|
|
"package_profile": "full-offline-v16.0.1"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"rollback": [
|
||
|
|
"restore the backed-up hlcc-jd-candidate.service",
|
||
|
|
"retain the isolated verified release package and data for audit",
|
||
|
|
"do not change current Gitea service or data"
|
||
|
|
],
|
||
|
|
"status": "ARCHITECTURE_PACKAGE_READY · INITIAL_PROVISION_PENDING"
|
||
|
|
}
|