fix(build): 构建并发上限与排队,构建命名空间加 ResourceQuota,SyncAll 逐个容错
This commit is contained in:
13 files changed
+273
-17
No files matched your search
@@ -31,6 +31,12 @@
|
||||
"approve_needs_context": "Nothing to approve: the context has not been uploaded, or must be uploaded again",
|
||||
"base_image_label": "Base Image",
|
||||
"base_image_placeholder": "e.g. library/postgres:15",
|
||||
"build_status_pending": "Queued",
|
||||
"build_status_building": "Building",
|
||||
"build_status_succeeded": "Succeeded",
|
||||
"build_status_failed": "Failed",
|
||||
"build_status_cancelled": "Cancelled",
|
||||
"build_queued_hint": "The concurrent build limit ([registry] max_concurrent_builds) is reached; this build starts on its own when an earlier one finishes.",
|
||||
"view_logs_btn": "Logs",
|
||||
"cancel_build_btn": "Cancel",
|
||||
"no_builds_title": "No Builds Found",
|
||||
|
||||
@@ -31,6 +31,12 @@
|
||||
"approve_needs_context": "没有可通过的上下文:提交者尚未上传或需要重新上传",
|
||||
"base_image_label": "基础镜像",
|
||||
"base_image_placeholder": "例如: library/postgres:15",
|
||||
"build_status_pending": "排队中",
|
||||
"build_status_building": "构建中",
|
||||
"build_status_succeeded": "成功",
|
||||
"build_status_failed": "失败",
|
||||
"build_status_cancelled": "已取消",
|
||||
"build_queued_hint": "同时运行的构建已达上限([registry] max_concurrent_builds),这个构建会在前面的构建结束后自动开始。",
|
||||
"view_logs_btn": "日志",
|
||||
"cancel_build_btn": "取消",
|
||||
"no_builds_title": "暂无构建任务",
|
||||
|
||||
@@ -491,12 +491,13 @@ export function ImageBuildPage() {
|
||||
<div className="flex justify-center">
|
||||
<Badge
|
||||
variant="outline"
|
||||
title={b.status === "pending" ? t("build_queued_hint") : undefined}
|
||||
className={cn(
|
||||
"text-[10px] py-0.5 font-semibold uppercase tracking-wider w-[80px] justify-center px-0 shrink-0",
|
||||
STATUS_BADGE_STYLE[b.status]
|
||||
)}
|
||||
>
|
||||
{b.status}
|
||||
{t(`build_status_${b.status}`)}
|
||||
</Badge>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in new issue
Block a user