165 lines
15 KiB
JSON
165 lines
15 KiB
JSON
|
|
{
|
|||
|
|
"_meta": {
|
|||
|
|
"observer": "铸渊全链路部署观测系统 v1.0",
|
|||
|
|
"copyright": "国作登字-2026-A-00037559",
|
|||
|
|
"collected_at": "2026-04-16T11:08:30.913Z"
|
|||
|
|
},
|
|||
|
|
"run": {
|
|||
|
|
"id": 24506808430,
|
|||
|
|
"workflow_name": "🏛️ 铸渊主权服务器 · 部署",
|
|||
|
|
"conclusion": "failure",
|
|||
|
|
"status": "completed",
|
|||
|
|
"html_url": "https://github.com/qinfendebingshuo/guanghulab/actions/runs/24506808430",
|
|||
|
|
"head_sha": "3931f5f30710f01d02235100129b73e20bf85635",
|
|||
|
|
"head_branch": "main",
|
|||
|
|
"actor": "qinfendebingshuo",
|
|||
|
|
"created_at": "2026-04-16T11:05:38Z",
|
|||
|
|
"updated_at": "2026-04-16T11:07:53Z",
|
|||
|
|
"run_started_at": "2026-04-16T11:05:38Z"
|
|||
|
|
},
|
|||
|
|
"jobs_summary": {
|
|||
|
|
"total": 5,
|
|||
|
|
"success": 0,
|
|||
|
|
"failure": 1,
|
|||
|
|
"skipped": 4,
|
|||
|
|
"cancelled": 0
|
|||
|
|
},
|
|||
|
|
"failed_jobs": [
|
|||
|
|
{
|
|||
|
|
"job_id": 71627296696,
|
|||
|
|
"job_name": "🚀 部署应用代码",
|
|||
|
|
"conclusion": "failure",
|
|||
|
|
"started_at": "2026-04-16T11:05:42Z",
|
|||
|
|
"completed_at": "2026-04-16T11:07:52Z",
|
|||
|
|
"steps": [
|
|||
|
|
{
|
|||
|
|
"name": "Set up job",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "success",
|
|||
|
|
"number": 1
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "Run actions/checkout@v4",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "success",
|
|||
|
|
"number": 2
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "🔐 配置SSH",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "success",
|
|||
|
|
"number": 3
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "📦 同步应用代码",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "failure",
|
|||
|
|
"number": 4
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "🔄 同步 docs → portal (单一数据源保障)",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "skipped",
|
|||
|
|
"number": 5
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "🌐 同步前端内容到站点",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "skipped",
|
|||
|
|
"number": 6
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "📦 同步配置文件",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "skipped",
|
|||
|
|
"number": 7
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "📦 同步迁移脚本",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "skipped",
|
|||
|
|
"number": 8
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "📥 安装依赖 & 重启",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "skipped",
|
|||
|
|
"number": 9
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "Post Run actions/checkout@v4",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "success",
|
|||
|
|
"number": 18
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "Complete job",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "success",
|
|||
|
|
"number": 19
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"log_content": "2026-04-16T11:05:43.2830353Z Current runner version: '2.333.1'\n2026-04-16T11:05:43.2858755Z ##[group]Runner Image Provisioner\n2026-04-16T11:05:43.2860164Z Hosted Compute Agent\n2026-04-16T11:05:43.2861238Z Version: 20260213.493\n2026-04-16T11:05:43.2862261Z Commit: 5c115507f6dd24b8de37d8bbe0bb4509d0cc0fa3\n2026-04-16T11:05:43.2863443Z Build Date: 2026-02-13T00:28:41Z\n2026-04-16T11:05:43.2864552Z Worker ID: {2af8e532-5c92-4809-8a3c-3a4efc530423}\n2026-04-16T11:05:43.2866050Z Azure Region: eastus\n2026-04-16T11:05:43.2867039Z ##[endgroup]\n2026-04-16T11:05:43.2868842Z ##[group]Operating System\n2026-04-16T11:05:43.2869859Z Ubuntu\n2026-04-16T11:05:43.2870707Z 24.04.4\n2026-04-16T11:05:43.2871577Z LTS\n2026-04-16T11:05:43.2872407Z ##[endgroup]\n2026-04-16T11:05:43.2873295Z ##[group]Runner Image\n2026-04-16T11:05:43.2874281Z Image: ubuntu-24.04\n2026-04-16T11:05:43.2875603Z Version: 20260406.80.1\n2026-04-16T11:05:43.2877269Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20260406.80/images/ubuntu/Ubuntu2404-Readme.md\n2026-04-16T11:05:43.2879276Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20260406.80\n2026-04-16T11:05:43.2880616Z ##[endgroup]\n2026-04-16T11:05:43.2882200Z ##[group]GITHUB_TOKEN Permissions\n2026-04-16T11:05:43.2884944Z Contents: read\n2026-04-16T11:05:43.2885970Z Metadata: read\n2026-04-16T11:05:43.2886824Z ##[endgroup]\n2026-04-16T11:05:43.2889635Z Secret source: Actions\n2026-04-16T11:05:43.2891118Z Prepare workflow directory\n2026-04-16T11:05:43.3221447Z Prepare all required actions\n2026-04-16T11:05:43.3260843Z Getting action download info\n2026-04-16T11:05:43.6200627Z Download action repository 'actions/checkout@v4' (SHA:34e114876b0b11c390a56381ad16ebd13914f8d5)\n2026-04-16T11:05:43.8940159Z Complete job name: 🚀 部署应用代码\n2026-04-16T11:05:43.9697943Z ##[group]Run actions/checkout@v4\n2026-04-16T11:05:43.9699076Z with:\n2026-04-16T11:05:43.9699821Z repository: qinfendebingshuo/guanghulab\n2026-04-16T11:05:43.9700895Z token: ***\n2026-04-16T11:05:43.9701587Z ssh-strict: true\n2026-04-16T11:05:43.9702307Z ssh-user: git\n2026-04-16T11:05:43.9703014Z persist-credentials: true\n2026-04-16T11:05:43.9703778Z clean: true\n2026-04-16T11:05:43.9704528Z sparse-checkout-cone-mode: true\n2026-04-16T11:05:43.9705511Z fetch-depth: 1\n2026-04-16T11:05:43.9706198Z fetch-tags: false\n2026-04-16T11:05:43.9706922Z show-progress: true\n2026-04-16T11:05:43.9707643Z lfs: false\n2026-04-16T11:05:43.9708334Z submodules: false\n2026-04-16T11:05:43.9709068Z set-safe-directory: true\n2026-04-16T11:05:43.9710069Z ##[endgroup]\n2026-04-16T11:05:44.0817517Z Syncing repository: qinfendebingshuo/guanghulab\n2026-04-16T11:05:44.0819912Z ##[group]Getting Git version info\n2026-04-16T11:05:44.0821075Z Working directory is '/home/runner/work/guanghulab/guanghulab'\n2026-04-16T11:05:44.0822634Z [command]/usr/bin/git version\n2026-04-16T11:05:44.0855008Z git version 2.53.0\n2026-04-16T11:05:44.0879912Z ##[endgroup]\n2026-04-16T\n\n... [截断 4153 字符] ...\n\nand]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main\n2026-04-16T11:05:45.2812992Z Switched to a new branch 'main'\n2026-04-16T11:05:45.2817052Z branch 'main' set up to track 'origin/main'.\n2026-04-16T11:05:45.2831423Z ##[endgroup]\n2026-04-16T11:05:45.2871079Z [command]/usr/bin/git log -1 --format=%H\n2026-04-16T11:05:45.2899958Z 3931f5f30710f01d02235100129b73e20bf85635\n2026-04-16T11:05:45.3191168Z ##[group]Run mkdir -p ~/.ssh\n2026-04-16T11:05:45.3192926Z \u001b[36;1mmkdir -p ~/.ssh\u001b[0m\n2026-04-16T11:05:45.3194578Z \u001b[36;1mecho \"$SSH_KEY\" > ~/.ssh/zy_key\u001b[0m\n2026-04-16T11:05:45.3196644Z \u001b[36;1mchmod 600 ~/.ssh/zy_key\u001b[0m\n2026-04-16T11:05:45.3199098Z \u001b[36;1mssh-keyscan -H *** >> ~/.ssh/known_hosts 2>/dev/null\u001b[0m\n2026-04-16T11:05:45.3228639Z shell: /usr/bin/bash -e {0}\n2026-04-16T11:05:45.3230161Z env:\n2026-04-16T11:05:45.3239210Z SSH_KEY: ***\n2026-04-16T11:05:45.3240576Z ##[endgroup
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"all_jobs": [
|
|||
|
|
{
|
|||
|
|
"id": 71627296696,
|
|||
|
|
"name": "🚀 部署应用代码",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "failure",
|
|||
|
|
"started_at": "2026-04-16T11:05:42Z",
|
|||
|
|
"completed_at": "2026-04-16T11:07:52Z"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"id": 71627297185,
|
|||
|
|
"name": "🔧 服务器初始化",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "skipped",
|
|||
|
|
"started_at": "2026-04-16T11:05:39Z",
|
|||
|
|
"completed_at": "2026-04-16T11:05:38Z"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"id": 71627297207,
|
|||
|
|
"name": "🚀 预览站→主站 一键推送",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "skipped",
|
|||
|
|
"started_at": "2026-04-16T11:05:39Z",
|
|||
|
|
"completed_at": "2026-04-16T11:05:38Z"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"id": 71627297244,
|
|||
|
|
"name": "🔒 SSL证书配置",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "skipped",
|
|||
|
|
"started_at": "2026-04-16T11:05:39Z",
|
|||
|
|
"completed_at": "2026-04-16T11:05:38Z"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"id": 71627297410,
|
|||
|
|
"name": "💚 健康检查",
|
|||
|
|
"status": "completed",
|
|||
|
|
"conclusion": "skipped",
|
|||
|
|
"started_at": "2026-04-16T11:05:39Z",
|
|||
|
|
"completed_at": "2026-04-16T11:05:38Z"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"analysis": {
|
|||
|
|
"needs_repair": true,
|
|||
|
|
"error_summary": "[high] 文件同步失败; [medium] 命令执行失败",
|
|||
|
|
"matched_patterns": [
|
|||
|
|
{
|
|||
|
|
"name": "文件同步失败",
|
|||
|
|
"fix": "检查rsync路径和权限",
|
|||
|
|
"severity": "high"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"name": "命令执行失败",
|
|||
|
|
"fix": "查看上方具体错误信息",
|
|||
|
|
"severity": "medium"
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"recommendation": "副将可尝试自动修复: 检查rsync路径和权限 → 查看上方具体错误信息"
|
|||
|
|
}
|
|||
|
|
}
|