feat: 新增 agent-runtime 镜像(harbor-only)与双模式拉起脚本 - #531
Open
Huafubing wants to merge 1 commit into
Open
Conversation
|
🚫 PR 合入质量检查未通过,PR 已被禁止合入。 未通过项:
请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。 |
Huafubing
force-pushed
the
feat/agent-runtime-harbor-only
branch
from
September 10, 2026 09:22
c741780 to
9e99a64
Compare
|
🚫 PR 合入质量检查未通过,PR 已被禁止合入。 未通过项:
请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。 |
SJTUyh
reviewed
Sep 10, 2026
Huafubing
force-pushed
the
feat/agent-runtime-harbor-only
branch
from
September 10, 2026 09:37
9e99a64 to
0d7908e
Compare
|
🚫 PR 合入质量检查未通过,PR 已被禁止合入。 未通过项:
请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。 |
SJTUyh
reviewed
Sep 11, 2026
Huafubing
force-pushed
the
feat/agent-runtime-harbor-only
branch
from
September 11, 2026 02:44
0d7908e to
d2f9657
Compare
|
🚫 PR 合入质量检查未通过,PR 已被禁止合入。 未通过项:
请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。 |
- Dockerfile.agent-runtime: 精简为 harbor-only 运行时,harbor fork 经 gh-proxy.com 镜像从 git 仓库直接安装(deps_path / --agent-deps 离线支持),内置 compose patch(seccomp=unconfined + network_mode=host,兼容 openEuler/RHEL) - start_agent_runtime.sh: 双模式拉起。默认 socket 模式:挂载宿主 docker.sock 复用宿主机 dockerd,trial 容器直接使用宿主机已有 case 镜像,零镜像导入;--mode dind 提供强隔离(--privileged + 容器内 独立 daemon + tb2 镜像包自动导入) - sync_images.sh: dind 模式的增量镜像同步补充工具 - USAGE.md: 镜像构建、双模式启动、运行评测与故障排查文档
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
为 AISBench 提供 agent-runtime 容器化运行方案:一个 harbor-only 精简运行时镜像 + 双模式拉起脚本。默认 socket 模式挂载宿主
docker.sock复用宿主机 dockerd,trial 容器直接使用宿主机已有 case 镜像,零镜像导入;可选--mode dind提供强隔离运行环境。变更内容(5 文件,+968 行)
docker/agent_runtime/Dockerfile.agent-runtimedeps_path/--agent-deps离线安装),并内置 compose patchdocker/agent_runtime/patches/harbor_compose_patch.pyseccomp=unconfined+network_mode=host),兼容 openEuler/RHEL 宿主机docker/agent_runtime/start_agent_runtime.sh--mode dind强隔离(--privileged+ 容器内独立 daemon + case 镜像包自动导入)docker/agent_runtime/sync_images.shdocker/agent_runtime/USAGE.md验证
docker.sock,trial 容器直接复用宿主机已有 case 镜像(如alexgshaw/fix-git),零镜像导入ais_bench+ terminus-2 agent 对 terminal-bench 真实任务fix-git完成评测,全流程跑通--mode dind拉起验证,容器内独立 dockerd + case 镜像包自动导入镜像构建(
--no-cache全量构建成功):容器内运行环境(
agent_env harbor激活后 harbor CLI 可用):复现步骤与测试命令见
docker/agent_runtime/USAGE.md。关联
取代并关闭 #499(历史提交混杂实验性方案,本 PR 基于 master 重新整理为单一 commit)。