CircleCI自动化_circleci-automation
以下为本文档的中文说明这是一个通过 Rube MCPModel Context Protocol中间件来自动化 CircleCI CI/CD 操作的技能。它基于 Composio 平台的 CircleCI 工具集通过 Rube MCP 桥接 AI 代理与 CircleCI API 的交互使得用户可以通过自然语言指令完成复杂的 CI/CD 管理任务。使用场景包括需要触发新的流水线运行Trigger Pipeline、监控管道和工作流状态Monitor Pipelines and Workflows、查看具体的 Job 执行详情Inspect Job Details、获取构建产物Retrieve Build Artifacts以及检查测试结果Review Test Metadata。核心操作流程遵循严格的先决条件检查首先确认 Rube MCP 可用然后通过 RUBE_MANAGE_CONNECTIONS 建立 CircleCI 连接确认连接状态为 ACTIVE 后才开始执行工作流。该技能提供了完整的参数说明和陷阱提示例如 project_slug 的格式必须是 {vcs}/{org}/{repo}如 gh/myorg/myrepobranch 和 tag 参数互斥不能同时使用以及 Pipeline ID 和工作流 ID 是 UUID 格式而 Job Number 是整数格式。它还定义了 Pipeline → Workflow → Job 的三层调用层级关系以及分页处理的规范。此外该技能覆盖了常见的错误处理和速率限制应对策略如指数退避Exponential Backoff和合理的轮询间隔5-10 秒适合在生产环境中使用。CircleCI Automation via Rube MCPAutomate CircleCI CI/CD operations through Composio’s CircleCI toolkit via Rube MCP.PrerequisitesRube MCP must be connected (RUBE_SEARCH_TOOLS available)Active CircleCI connection viaRUBE_MANAGE_CONNECTIONSwith toolkitcircleciAlways callRUBE_SEARCH_TOOLSfirst to get current tool schemasSetupGet Rube MCP: Addhttps://rube.app/mcpas an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.Verify Rube MCP is available by confirmingRUBE_SEARCH_TOOLSrespondsCallRUBE_MANAGE_CONNECTIONSwith toolkitcircleciIf connection is not ACTIVE, follow the returned auth link to complete CircleCI authenticationConfirm connection status shows ACTIVE before running any workflowsCore Workflows1. Trigger a PipelineWhen to use: User wants to start a new CI/CD pipeline runTool sequence:CIRCLECI_TRIGGER_PIPELINE- Trigger a new pipeline on a project [Required]CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID- Monitor resulting workflows [Optional]Key parameters:project_slug: Project identifier in formatgh/org/repoorbb/org/repobranch: Git branch to run the pipeline ontag: Git tag to run the pipeline on (mutually exclusive with branch)parameters: Pipeline parameter key-value pairsPitfalls:project_slugformat is{vcs}/{org}/{repo}(e.g.,gh/myorg/myrepo)branchandtagare mutually exclusive; providing both causes an errorPipeline parameters must match those defined in.circleci/config.ymlTriggering returns a pipeline ID; workflows start asynchronously2. Monitor Pipelines and WorkflowsWhen to use: User wants to check the status of pipelines or workflowsTool sequence:CIRCLECI_LIST_PIPELINES_FOR_PROJECT- List recent pipelines for a project [Required]CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID- List workflows within a pipeline [Required]CIRCLECI_GET_PIPELINE_CONFIG- View the pipeline configuration used [Optional]Key parameters:project_slug: Project identifier in{vcs}/{org}/{repo}formatpipeline_id: UUID of a specific pipelinebranch: Filter pipelines by branch namepage_token: Pagination cursor for next page of resultsPitfalls:Pipeline IDs are UUIDs, not numeric IDsWorkflows inherit the pipeline ID; a single pipeline can have multiple workflowsWorkflow states include: success, running, not_run, failed, error, failing, on_hold, canceled, unauthorizedpage_tokenis returned in responses for pagination; continue until absent3. Inspect Job DetailsWhen to use: User wants to drill into a specific job’s execution detailsTool sequence:CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID- Find workflow containing the job [Prerequisite]CIRCLECI_GET_JOB_DETAILS- Get detailed job information [Required]Key parameters:project_slug: Project identifierjob_number: Numeric job number (not UUID)Pitfalls:Job numbers are integers, not UUIDs (unlike pipeline and workflow IDs)Job details include executor type, parallelism, start/stop times, and statusJob statuses: success, running, not_run, failed, retried, timedout, infrastructure_fail, canceled4. Retrieve Build ArtifactsWhen to use: User wants to download or list artifacts produced by a jobTool sequence:CIRCLECI_GET_JOB_DETAILS- Confirm job completed successfully [Prerequisite]CIRCLECI_GET_JOB_ARTIFACTS- List all artifacts from the job [Required]Key parameters:project_slug: Project identifierjob_number: Numeric job numberPitfalls:Artifacts are only available after job completionEach artifact has apathandurlfor downloadArtifact URLs may require authentication headers to downloadLarge artifacts may have download size limits5. Review Test ResultsWhen to use: User wants to check test outcomes for a specific jobTool sequence:CIRCLECI_GET_JOB_DETAILS- Verify job ran tests[Prerequisite]CIRCLECI_GET_TEST_METADATA- Retrieve test results and metadata [Required]Key parameters:project_slug: Project identifierjob_number: Numeric job numberPitfalls:Test metadata requires the job to have uploaded test results (JUnit XML format)If no test results were uploaded, the response will be emptyTest metadata includes classname, name, result, message, and run_time fieldsFailed tests include failure messages in themessagefieldCommon PatternsProject Slug FormatFormat: {vcs_type}/{org_name}/{repo_name} - GitHub: gh/myorg/myrepo - Bitbucket: bb/myorg/myrepoPipeline - Workflow - Job Hierarchy1. Call CIRCLECI_LIST_PIPELINES_FOR_PROJECT to get pipeline IDs 2. Call CIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_ID with pipeline_id 3. Extract job numbers from workflow details 4. Call CIRCLECI_GET_JOB_DETAILS with job_numberPaginationCheck response fornext_page_tokenfieldPass token aspage_tokenin next requestContinue untilnext_page_tokenis absent or nullKnown PitfallsID Formats:Pipeline IDs: UUIDs (e.g.,5034460f-c7c4-4c43-9457-de07e2029e7b)Workflow IDs: UUIDsJob numbers: Integers (e.g.,123)Do NOT mix up UUIDs and integers between different endpointsProject Slugs:Must include VCS prefix:gh/for GitHub,bb/for BitbucketOrganization and repo names are case-sensitiveIncorrect slug format causes 404 errorsRate Limits:CircleCI API has per-endpoint rate limitsImplement exponential backoff on 429 responsesAvoid rapid polling; use reasonable intervals (5-10 seconds)Quick ReferenceTaskTool SlugKey ParamsTrigger pipelineCIRCLECI_TRIGGER_PIPELINEproject_slug, branch, parametersList pipelinesCIRCLECI_LIST_PIPELINES_FOR_PROJECTproject_slug, branchList workflowsCIRCLECI_LIST_WORKFLOWS_BY_PIPELINE_IDpipeline_idGet pipeline configCIRCLECI_GET_PIPELINE_CONFIGpipeline_idGet job detailsCIRCLECI_GET_JOB_DETAILSproject_slug, job_numberGet job artifactsCIRCLECI_GET_JOB_ARTIFACTSproject_slug, job_numberGet test metadataCIRCLECI_GET_TEST_METADATAproject_slug, job_numberWhen to UseThis skill is applicable to execute the workflow or actions described in the overview.LimitationsUse this skill only when the task clearly matches the scope described above.Do not treat the output as a substitute for environment-specific validation, testing, or expert review.Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

相关新闻

PyTorch字符级RNN实战指南

PyTorch字符级RNN实战指南

这是一份基于PyTorch官方教程(char_rnn_generation_tutorial等)的归纳整理与实战指南。所有内容都围绕字符级RNN展开,并覆盖了从名字生成、名字分类到序列到序列机器翻译的完整项目。我会为你详细拆解每个部分的原理,并提供完全可…

2026/6/24 12:55:28阅读更多 →
智谱清言能生成 word 吗?AI 导出鸭一站式搞定文档导出难题

智谱清言能生成 word 吗?AI 导出鸭一站式搞定文档导出难题

引言 当下AI文本创作愈发普及,不少用户使用智谱清言产出内容后,都想将内容转为标准Word文档使用,文档导出格式错乱、操作繁琐、兼容性差等问题也随之凸显。各类传统导出方式各有短板,而AI 导出鸭凭借多元化能力,成为破…

2026/6/24 12:55:28阅读更多 →
5分钟搞定OpenCode Go套餐无缝接入Claude Code,性价比直接起飞!

5分钟搞定OpenCode Go套餐无缝接入Claude Code,性价比直接起飞!

在VS Code中用Claude Code写代码是真爽,但每月20美元的订阅费和订阅流程确实劝退不少人。有没有一种方案,既保留Claude Code的丝滑体验,又能把成本打下来?有就是——把OpenCode Go套餐无缝接入Claude Code。 OpenCode Go套餐首月仅…

2026/6/24 12:55:28阅读更多 →
OpenInference性能优化:如何降低监控开销提升AI应用效率

OpenInference性能优化:如何降低监控开销提升AI应用效率

OpenInference性能优化:如何降低监控开销提升AI应用效率 【免费下载链接】openinference OpenTelemetry Instrumentation for AI Observability 项目地址: https://gitcode.com/gh_mirrors/op/openinference OpenInference作为AI可观测性的关键工具&#xff…

2026/6/24 14:10:55阅读更多 →
STNodeEditor调试技巧:如何快速定位和解决节点连接问题

STNodeEditor调试技巧:如何快速定位和解决节点连接问题

STNodeEditor调试技巧:如何快速定位和解决节点连接问题 【免费下载链接】STNodeEditor 一款基于.Net WinForm的节点编辑器 纯GDI绘制 使用方式非常简洁 提供了丰富的属性以及事件 可以非常方便的完成节点之间数据的交互及通知 大量的虚函数供开发者重写具有很高的自…

2026/6/24 14:10:55阅读更多 →
bitsandbytes快速入门:10分钟掌握8位量化训练技巧

bitsandbytes快速入门:10分钟掌握8位量化训练技巧

bitsandbytes快速入门:10分钟掌握8位量化训练技巧 【免费下载链接】bitsandbytes Library for 8-bit optimizers and quantization routines. 项目地址: https://gitcode.com/gh_mirrors/bit/bitsandbytes bitsandbytes 是一个强大的Python库,专门…

2026/6/24 14:10:55阅读更多 →
zpdf Python绑定教程:轻松实现高性能PDF文本提取

zpdf Python绑定教程:轻松实现高性能PDF文本提取

zpdf Python绑定教程:轻松实现高性能PDF文本提取 【免费下载链接】zpdf Zero-copy PDF text extraction library written in Zig. High-performance, memory-mapped parsing with SIMD acceleration. 项目地址: https://gitcode.com/gh_mirrors/zp/zpdf zpdf…

2026/6/24 14:10:55阅读更多 →
CANN/catlass稀疏矩阵乘法示例

CANN/catlass稀疏矩阵乘法示例

SparseMatmulTla Example Readme 【免费下载链接】catlass 本项目是CANN的算子模板库,提供NPU上高性能矩阵乘及其相关融合类算子模板样例。 项目地址: https://gitcode.com/cann/catlass Code Organization ├── 41_sparse_matmul_tla │ ├── CMakeL…

2026/6/24 14:10:55阅读更多 →
Snow高级配置:自定义网络拓扑与性能优化的终极指南

Snow高级配置:自定义网络拓扑与性能优化的终极指南

Snow高级配置:自定义网络拓扑与性能优化的终极指南 【免费下载链接】snow 项目地址: https://gitcode.com/gh_mirrors/sno/snow Snow作为一款功能强大的网络工具,提供了丰富的高级配置选项,帮助用户打造个性化的网络拓扑结构并实现性…

2026/6/24 14:05:54阅读更多 →
【人工智能】一文搞定到底什么是智能体

【人工智能】一文搞定到底什么是智能体

【人工智能】一文搞定到底什么是智能体 一文搞定到底什么是智能体【人工智能】一文搞定到底什么是智能体一. LM,WorkFlow,Agent分别有什么么不同二. Agent的思考过程是怎样的三. Agent的五个核心部分1)LLM2)Prompt3)Me…

2026/6/24 7:33:03阅读更多 →
嵌入式GUI控件实战:ROTARY、SCROLLBAR、SLIDER原理与应用

嵌入式GUI控件实战:ROTARY、SCROLLBAR、SLIDER原理与应用

1. 嵌入式GUI控件:从原理到实战的深度解析在嵌入式系统开发中,图形用户界面(GUI)的设计与实现往往是项目从“能用”到“好用”的关键一跃。不同于资源充沛的PC或移动平台,嵌入式设备的GUI需要在有限的CPU性能、内存空间…

2026/6/24 2:12:09阅读更多 →
Google AI Studio 300美元额度的真相与实战指南

Google AI Studio 300美元额度的真相与实战指南

1. 这300美金不是“送钱”,而是Google埋下的第一道技术门槛 你看到标题里那个醒目的“$300美金”时,第一反应可能是:又一个免费额度?领完就完事?我亲手试过——这300美金根本不是红包,而是一张入场券&…

2026/6/24 7:37:00阅读更多 →
TaskJuggler脚本编程入门:用代码实现自动化项目管理

TaskJuggler脚本编程入门:用代码实现自动化项目管理

TaskJuggler脚本编程入门:用代码实现自动化项目管理 【免费下载链接】TaskJuggler TaskJuggler - Project Management beyond Gantt chart drawing 项目地址: https://gitcode.com/gh_mirrors/ta/TaskJuggler TaskJuggler是一款强大的开源项目管理工具&#…

2026/6/24 0:02:41阅读更多 →
终极教程:使用angular-mobile-nav实现流畅的移动页面过渡效果

终极教程:使用angular-mobile-nav实现流畅的移动页面过渡效果

终极教程:使用angular-mobile-nav实现流畅的移动页面过渡效果 【免费下载链接】angular-mobile-nav An angular navigation service for mobile applications 项目地址: https://gitcode.com/gh_mirrors/an/angular-mobile-nav angular-mobile-nav是一款专为…

2026/6/24 0:02:41阅读更多 →
Wan2.1-Fun-V1.1-1.3B-InP Web UI使用教程:无需代码的AI视频创作

Wan2.1-Fun-V1.1-1.3B-InP Web UI使用教程:无需代码的AI视频创作

Wan2.1-Fun-V1.1-1.3B-InP Web UI使用教程:无需代码的AI视频创作 【免费下载链接】Wan2.1-Fun-V1.1-1.3B-InP 项目地址: https://ai.gitcode.com/hf_mirrors/PAI/Wan2.1-Fun-V1.1-1.3B-InP Wan2.1-Fun-V1.1-1.3B-InP是一款强大的AI视频创作工具,…

2026/6/24 0:02:41阅读更多 →