Skip to content

Commit 21a9736

Browse files
committed
fix: reduce ARM runner size from 8vcpu to 4vcpu for ephemeral builds
We might not need the full 8vcpu for aarch64-linux builds, so this change reduces the runner size to 4vcpu to wait less for available blacksmith runners.
1 parent 01c32a3 commit 21a9736

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nix/packages/github-matrix/github_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class GitHubActionPackage(TypedDict):
5959
BUILD_RUNNER_MAP: Dict[RunnerType, Dict[System, RunsOnConfig]] = {
6060
"ephemeral": {
6161
"aarch64-linux": {
62-
"labels": ["blacksmith-8vcpu-ubuntu-2404-arm"],
62+
"labels": ["blacksmith-4vcpu-ubuntu-2404-arm"],
6363
},
6464
"x86_64-linux": {
6565
"labels": ["blacksmith-8vcpu-ubuntu-2404"],

nix/packages/github-matrix/tests/test_github_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def test_default_aarch64_linux(self):
182182
"system": "aarch64-linux",
183183
}
184184
result = get_runner_for_package(pkg)
185-
assert result == {"labels": ["blacksmith-8vcpu-ubuntu-2404-arm"]}
185+
assert result == {"labels": ["blacksmith-4vcpu-ubuntu-2404-arm"]}
186186

187187

188188
class TestSortPkgsByClosures:

0 commit comments

Comments
 (0)