SuperAPI AI 工具集

release-workflow

办公与效率

查看项目

更新于 10-16 03:11

技能介绍

用途:编排 OpenShift z-stream 发布(4.12–4.20,Konflux 平台)。所有 oar 命令经 MCP 服务器以结构化工具执行,而非本地 CLI。

主要能力:以 StateBox(GitHub _releases/{y-stream}/statebox/{release}.yaml)为主事实源,保存元数据、任务历史与阻塞项,支持跨会话恢复与 SHA 乐观锁并发;Google Sheets 仅作兼容与人工查看的回退。MCP 暴露 27 个 OAR 工具。任务图包括 create-test-report、take-ownership、check-cve-tracker-bug、check-rhcos-security-alerts、push-to-cdn-staging、analyze-candidate-build、analyze-promoted-build、image-consistency-check、stage-testing、image-signed-check、change-advisory-status。默认架构 amd64。

使用方式:每会话先执行 oar_get_release_status(release) 取状态。构建晋升通过 Release Controller API 检查 phase == "Accepted"(典型 6–24 小时)。测试结果文件位于 _releases/ocp-test-result-{build}-amd64.json,需 aggregated == true 后方可分析;accepted == false 时触发 /ci:analyze-build-test-results {build} 并按 ACCEPT/REJECT 判定。check-rhcos-security-alerts 需 Kerberos 票据(klist),使用 curl -s -u : --negotiate 获取 Errata 安全告警。失败时置整体状态 Red 并 Slack 通知,停止流水线待人工介入。

限制:安全告警检查在无票据时停止;部分等待步骤需用户周期性调用 /release:drive。其余细节资料未完整提供。