对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。

agentengine 构建提升

将成功的构建提升到另一个工作区。

将成功的构建镜像提升到另一个工作区,而无需重新构建。

<source_build_id> 指定源构建;平台会在当前组织内解析它。--workspace、--context 和显式目标标志用于选择目标工作区。

除非传递 --yes,否则非交互式 shell 将失败。--force 会绕过成功部署验证门,并需要目标 Project Owner 角色。

例子:

agentengine build promote bld_abc123 --workspace prodagentengine build promote bld_abc123 --context prod
agentengine build promote <source_build_id> [flags]
--base-url string Platform base URL --context string Named context to target (see 'agentengine context list') --force Bypass the successful-deploy proof gate (target project owner role required)-h, --help help for promote --json Output promotion result as JSON --org-id string Organization ID --project-id string Project ID --workspace string Monorepo: select a destination workspace by name (from root agent.yaml) --workspace-id string Workspace ID-y, --yes Skip the interactive confirmation prompt
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)
给本页内容打分