ci: reduce ubuntu preflight queue · openclaw/openclaw@f4ffed8
steipete
·
2026-04-25
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -23,7 +23,7 @@ jobs:
|
23 | 23 | permissions: |
24 | 24 | contents: read |
25 | 25 | if: github.event_name != 'pull_request' || !github.event.pull_request.draft |
26 | | -runs-on: ubuntu-24.04 |
| 26 | +runs-on: ${{ github.repository == 'openclaw/openclaw' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-24.04' }} |
27 | 27 | timeout-minutes: 20 |
28 | 28 | outputs: |
29 | 29 | docs_only: ${{ steps.manifest.outputs.docs_only }} |
@@ -215,20 +215,15 @@ jobs:
|
215 | 215 | requires_dist: shard.requiresDist, |
216 | 216 | })) |
217 | 217 | : []; |
218 | | - const blacksmith8vcpuCoreShardNames = new Set([ |
219 | | - "agentic-agents", |
220 | | - "core-runtime-infra", |
221 | | - "core-runtime-media-ui", |
222 | | - ]); |
223 | 218 | const blacksmith4vcpuCoreShardNames = new Set([ |
| 219 | + "agentic-agents", |
224 | 220 | "agentic-plugin-sdk", |
225 | 221 | "agentic-plugins", |
| 222 | + "core-runtime-infra", |
| 223 | + "core-runtime-media-ui", |
226 | 224 | ]); |
227 | 225 | const resolveCoreShardRunner = (shardName) => { |
228 | 226 | if (!isCanonicalRepository) return "ubuntu-24.04"; |
229 | | - if (blacksmith8vcpuCoreShardNames.has(shardName)) { |
230 | | - return "blacksmith-8vcpu-ubuntu-2404"; |
231 | | - } |
232 | 227 | if (blacksmith4vcpuCoreShardNames.has(shardName)) { |
233 | 228 | return "blacksmith-4vcpu-ubuntu-2404"; |
234 | 229 | } |
@@ -1544,7 +1539,7 @@ jobs:
|
1544 | 1539 | runner: blacksmith-4vcpu-ubuntu-2404 |
1545 | 1540 | - check_name: check-additional-extension-package-boundary |
1546 | 1541 | group: extension-package-boundary |
1547 | | -runner: blacksmith-8vcpu-ubuntu-2404 |
| 1542 | +runner: blacksmith-4vcpu-ubuntu-2404 |
1548 | 1543 | - check_name: check-additional-runtime-topology-architecture |
1549 | 1544 | group: runtime-topology-architecture |
1550 | 1545 | runner: ubuntu-24.04 |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。