feat(ci): Runner物理分层 - 构建任务专属旧服务器,新服务器跑CI门禁 #326
Reference in New Issue
Block a user
Delete Branch "feat/ci-runner-layered"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
当前9个Runner混跑所有CI任务,构建任务(重CPU/IO)和门禁检查(轻量)互相挤占资源,导致门禁排队、构建也慢。
方案
物理分层:
build-farm改造内容:
runs-on从saas改为[saas, build-farm]runs-on: host,天然只在新服务器跑(旧Runner无host标签)runs-on: saas,两边都能调度收益
变更范围
.gitea/workflows/ci-cd.yml:6个构建Job的runs-on配置CI全绿,自动审批通过。
CI全绿,Runner物理分层方案确认通过