forked from wangbo/easyai
feat(update): 发布双链路更新进度与线上验收审计
This commit is contained in:
+252
@@ -0,0 +1,252 @@
|
||||
[
|
||||
{
|
||||
"id": "154b6781-dd24-434d-94a5-4bf59122c0bb",
|
||||
"idempotencyKey": "c00a35c9-6e10-4ab1-9915-5e44f58e2daf",
|
||||
"action": "update",
|
||||
"source": "manual",
|
||||
"status": "succeeded",
|
||||
"phase": "finished",
|
||||
"message": "更新完成,所有核心服务均已通过检查",
|
||||
"createdAt": "2026-10-02T11:37:32.825Z",
|
||||
"updatedAt": "2026-10-02T11:38:26.397Z",
|
||||
"previousVersion": "3.22.0.20261002.1",
|
||||
"components": [
|
||||
{
|
||||
"key": "server-main",
|
||||
"containerName": "easyai-server",
|
||||
"status": "succeeded",
|
||||
"targetImageId": "sha256:72ec514ed221c424422542f7922f3962b03de969a65e3ffec058fa7cd70e1fea",
|
||||
"previousImageId": "sha256:6a809aacd82dd70c23ef1f3873bab3f46c7daa824a5c3b6196bfb6dadb1718af",
|
||||
"networks": {
|
||||
"easyai_easyai": {
|
||||
"networkId": "c4265a68ef2b242f0a7d26e4a059d2d62e8aedf5db7029c27fc3676ea779b170",
|
||||
"aliases": [
|
||||
"easyai-server",
|
||||
"easyai-server"
|
||||
],
|
||||
"links": null,
|
||||
"ipv4Address": "172.21.0.6",
|
||||
"ipv6Address": ""
|
||||
},
|
||||
"easyai_sandbox-network": {
|
||||
"networkId": "b2daf0ea06fc85a171ed60f0a3fb7a58e7ca56fad15490fb2e589ad05e0ffffc",
|
||||
"aliases": [
|
||||
"easyai-server",
|
||||
"easyai-server"
|
||||
],
|
||||
"links": null,
|
||||
"ipv4Address": "172.20.0.2",
|
||||
"ipv6Address": ""
|
||||
}
|
||||
},
|
||||
"message": "新版本已通过检查"
|
||||
},
|
||||
{
|
||||
"key": "ws-gateway",
|
||||
"containerName": "easyai-wsgateway",
|
||||
"status": "succeeded",
|
||||
"targetImageId": "sha256:821ed6a69be4771c57a7bf67084455a4c0c7e4c9e201b8e7bcb2dedf1fb229f5"
|
||||
},
|
||||
{
|
||||
"key": "web",
|
||||
"containerName": "easyai-web",
|
||||
"status": "succeeded",
|
||||
"targetImageId": "sha256:4161c653ff66e92e0f24f0b175bb9b3a447f095c0e55b238f480a12ddce2821f",
|
||||
"previousImageId": "sha256:73689c521bdc5ecb57171c0fc629b6746491769dd2e015b9abb4e0d6091cbc07",
|
||||
"networks": {
|
||||
"easyai_easyai": {
|
||||
"networkId": "c4265a68ef2b242f0a7d26e4a059d2d62e8aedf5db7029c27fc3676ea779b170",
|
||||
"aliases": [
|
||||
"easyai-web",
|
||||
"easyai-web"
|
||||
],
|
||||
"links": null,
|
||||
"ipv4Address": "172.21.0.8",
|
||||
"ipv6Address": ""
|
||||
}
|
||||
},
|
||||
"message": "新版本已通过检查"
|
||||
}
|
||||
],
|
||||
"executor": "updater",
|
||||
"steps": [
|
||||
{
|
||||
"id": "queued",
|
||||
"title": "提交请求",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-02T11:37:32.825Z",
|
||||
"finishedAt": "2026-10-02T11:37:32.827Z"
|
||||
},
|
||||
{
|
||||
"id": "prechecking",
|
||||
"title": "检查环境",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-02T11:37:32.827Z",
|
||||
"finishedAt": "2026-10-02T11:37:32.829Z"
|
||||
},
|
||||
{
|
||||
"id": "pulling",
|
||||
"title": "下载更新",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-02T11:37:32.829Z",
|
||||
"finishedAt": "2026-10-02T11:37:33.478Z"
|
||||
},
|
||||
{
|
||||
"id": "applying",
|
||||
"title": "更新服务",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-02T11:37:33.478Z",
|
||||
"finishedAt": "2026-10-02T11:38:26.153Z"
|
||||
},
|
||||
{
|
||||
"id": "verifying",
|
||||
"title": "验证版本",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-02T11:38:26.153Z",
|
||||
"finishedAt": "2026-10-02T11:38:26.397Z"
|
||||
},
|
||||
{
|
||||
"id": "finished",
|
||||
"title": "完成",
|
||||
"status": "completed",
|
||||
"finishedAt": "2026-10-02T11:38:26.397Z"
|
||||
}
|
||||
],
|
||||
"startedAt": "2026-10-02T11:37:32.827Z",
|
||||
"releaseId": "online-update-progress-20261002",
|
||||
"productVersion": "3.22.0.20261002.2",
|
||||
"finishedAt": "2026-10-02T11:38:26.397Z"
|
||||
},
|
||||
{
|
||||
"id": "d0f02915-1cbe-4063-94c6-e9d749aaf2d7",
|
||||
"idempotencyKey": "c05c99af-affd-482b-98e1-eca9dea21c6b",
|
||||
"action": "update",
|
||||
"source": "manual",
|
||||
"status": "rolled_back",
|
||||
"phase": "finished",
|
||||
"message": "新版本未能正常启动,已恢复原版本",
|
||||
"createdAt": "2026-10-02T11:33:41.418Z",
|
||||
"updatedAt": "2026-10-02T11:36:15.937Z",
|
||||
"previousVersion": "3.22.0.20261002.1",
|
||||
"components": [
|
||||
{
|
||||
"key": "server-main",
|
||||
"containerName": "easyai-server",
|
||||
"status": "rolled_back",
|
||||
"targetImageId": "sha256:72ec514ed221c424422542f7922f3962b03de969a65e3ffec058fa7cd70e1fea",
|
||||
"previousImageId": "sha256:6a809aacd82dd70c23ef1f3873bab3f46c7daa824a5c3b6196bfb6dadb1718af",
|
||||
"networks": {
|
||||
"easyai_easyai": {
|
||||
"networkId": "c4265a68ef2b242f0a7d26e4a059d2d62e8aedf5db7029c27fc3676ea779b170",
|
||||
"aliases": [
|
||||
"easyai-server",
|
||||
"easyai-server"
|
||||
],
|
||||
"links": null,
|
||||
"ipv4Address": "172.21.0.6",
|
||||
"ipv6Address": ""
|
||||
},
|
||||
"easyai_sandbox-network": {
|
||||
"networkId": "b2daf0ea06fc85a171ed60f0a3fb7a58e7ca56fad15490fb2e589ad05e0ffffc",
|
||||
"aliases": [
|
||||
"easyai-server",
|
||||
"easyai-server"
|
||||
],
|
||||
"links": null,
|
||||
"ipv4Address": "172.20.0.2",
|
||||
"ipv6Address": ""
|
||||
}
|
||||
},
|
||||
"message": "新版本已通过检查"
|
||||
},
|
||||
{
|
||||
"key": "ws-gateway",
|
||||
"containerName": "easyai-wsgateway",
|
||||
"status": "rolled_back",
|
||||
"targetImageId": "sha256:4fb8a96a311686f59ab142dd150f7a2df8662a8b9f19233f9b06cfe548c899d6",
|
||||
"previousImageId": "sha256:821ed6a69be4771c57a7bf67084455a4c0c7e4c9e201b8e7bcb2dedf1fb229f5",
|
||||
"networks": {
|
||||
"easyai_easyai": {
|
||||
"networkId": "c4265a68ef2b242f0a7d26e4a059d2d62e8aedf5db7029c27fc3676ea779b170",
|
||||
"aliases": [
|
||||
"easyai-wsgateway",
|
||||
"ws-gateway"
|
||||
],
|
||||
"links": null,
|
||||
"ipv4Address": "172.21.0.5",
|
||||
"ipv6Address": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "web",
|
||||
"containerName": "easyai-web",
|
||||
"status": "rolled_back",
|
||||
"targetImageId": "sha256:4161c653ff66e92e0f24f0b175bb9b3a447f095c0e55b238f480a12ddce2821f",
|
||||
"previousImageId": "sha256:73689c521bdc5ecb57171c0fc629b6746491769dd2e015b9abb4e0d6091cbc07",
|
||||
"networks": {
|
||||
"easyai_easyai": {
|
||||
"networkId": "c4265a68ef2b242f0a7d26e4a059d2d62e8aedf5db7029c27fc3676ea779b170",
|
||||
"aliases": [
|
||||
"easyai-web",
|
||||
"easyai-web"
|
||||
],
|
||||
"links": null,
|
||||
"ipv4Address": "172.21.0.8",
|
||||
"ipv6Address": ""
|
||||
}
|
||||
},
|
||||
"message": "新版本已通过检查"
|
||||
}
|
||||
],
|
||||
"executor": "updater",
|
||||
"steps": [
|
||||
{
|
||||
"id": "queued",
|
||||
"title": "提交请求",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-02T11:33:41.421Z",
|
||||
"finishedAt": "2026-10-02T11:33:41.426Z"
|
||||
},
|
||||
{
|
||||
"id": "prechecking",
|
||||
"title": "检查环境",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-02T11:33:41.426Z",
|
||||
"finishedAt": "2026-10-02T11:33:41.432Z"
|
||||
},
|
||||
{
|
||||
"id": "pulling",
|
||||
"title": "下载更新",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-02T11:33:41.432Z",
|
||||
"finishedAt": "2026-10-02T11:33:43.339Z"
|
||||
},
|
||||
{
|
||||
"id": "applying",
|
||||
"title": "更新服务",
|
||||
"status": "completed",
|
||||
"startedAt": "2026-10-02T11:33:43.339Z",
|
||||
"finishedAt": "2026-10-02T11:35:11.300Z"
|
||||
},
|
||||
{
|
||||
"id": "verifying",
|
||||
"title": "验证版本",
|
||||
"status": "failed",
|
||||
"startedAt": "2026-10-02T11:35:11.300Z",
|
||||
"finishedAt": "2026-10-02T11:36:15.936Z"
|
||||
},
|
||||
{
|
||||
"id": "finished",
|
||||
"title": "完成",
|
||||
"status": "failed",
|
||||
"finishedAt": "2026-10-02T11:36:15.936Z"
|
||||
}
|
||||
],
|
||||
"startedAt": "2026-10-02T11:33:41.426Z",
|
||||
"releaseId": "update-rollback-acceptance-20261002",
|
||||
"productVersion": "3.22.0.20261002.2",
|
||||
"reasonCode": "healthcheck_failed",
|
||||
"finishedAt": "2026-10-02T11:36:15.936Z"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user