Repository navigation
将 Dockerfile BBDown 来源改为可覆盖的 ACR 副本 ARG - #254
Merged
Merged
Conversation
干净 runner 无法匿名拉取私有 ghcr 包,ARG 默认值让已登录 ACR 的构建链路可复现。 Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: cursor-grok-4.6-high Agent-Effort: unknown Dispatch-Id: dlg-20261016-032056-c30c38 Task-Id: VideoTranscriptAPI-20261015-11
Required Gate v2 — 状态面板当前状态:pass · 可合并 当前裁决: PR 累计主审轮(影子):
Gate 历史(v1;来源为持久化
|
| Run | Attempt | Head | 状态 | PR 累计主审轮(影子) | 收件人动作 |
|---|---|---|---|---|---|
| 38846229190 | 1 | 27398cc |
pass |
1/5 · collecting |
可合并 |
历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。
4 of 5 tasks
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.
Summary
COPY --from=ghcr.io/zj1123581321/video-transcript-api:latest引用私有 ghcr 包,匿名拉取 403,fleet runner 干净环境构建必败(run 38844112010 / 38844371692)。ARG BBDOWN_FROM(放在FROM python:3.11-slim之后,避免 FROM 前全局 ARG 被重置),默认指向 ACR 副本crpi-0vsre5argteykh9m.cn-guangzhou.personal.cr.aliyuncs.com/zlx-personal/video-transcript-api:bbdown-base;COPY --from=${BBDOWN_FROM}可被--build-arg覆盖。ci-templates 的push_to_acr.sh只需默认值,不必改 build-arg 列表。--build-arg BBDOWN_FROM=<image>)。BBDown 上游公共镜像化 / 版本固定不在本卡范围。:bbdown-basetag 需由主脑在 n305 从含 BBDown 的已知好镜像推送;执行器只改 Dockerfile。Related: #249(PR #246 后续第 15 轮;#249 已关闭且主题为部署忙锁,本 PR 不使用 Fixes 以免重开)。
Test plan
grep -c "ARG BBDOWN_FROM=" docker/Dockerfile=> 1grep -c 'COPY --from=${BBDOWN_FROM}' docker/Dockerfile=> 1grep -c "ghcr.io/zj1123581321/video-transcript-api:latest" docker/Dockerfile=> 0TMPDIR=/tmp make testEXIT 0(delegate 默认超长 TMPDIR 会让无关 Unix socket 用例因 AF_UNIX path too long 变红,已对照证明)bbdown-base并完成镜像构建(依赖 n305 已推该 tag)Made with Cursor