Skip to content

Commit

Permalink
[CI] Change machine shape
Browse files Browse the repository at this point in the history
This patch changes the machine shape of the premerge jobs to use 64 thread
machines rather than 32 thread machines. This is mostly to make test jobs
run faster to increase iteration rate.
  • Loading branch information
boomanaiden154 committed Dec 14, 2024
1 parent e1146f8 commit 0fec2d7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions premerge/linux_container_pod_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ spec:
cpu: "100m"
memory: "25Gi"
limits:
cpu: 32
memory: "32Gi"
cpu: 64
memory: "256Gi"
4 changes: 2 additions & 2 deletions premerge/linux_runners_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ template:
# itself doesn't need much, just using something enough not to get
# OOM killed.
requests:
cpu: 25
cpu: 55
memory: "2Gi"
limits:
cpu: 32
cpu: 64
memory: "2Gi"
env:
- name: ACTIONS_RUNNER_CONTAINER_HOOKS
Expand Down
4 changes: 2 additions & 2 deletions premerge/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ resource "google_container_node_pool" "llvm_premerge_linux" {
}

node_config {
machine_type = "n2-highcpu-32"
machine_type = "n2-standard-64"
taint = [{
key = "premerge-platform"
value = "linux"
Expand All @@ -108,7 +108,7 @@ resource "google_container_node_pool" "llvm_premerge_windows" {
# We do not set a taint for the windows nodes as kubernetes by default sets
# a node.kubernetes.io/os taint for windows nodes.
node_config {
machine_type = "n2-highcpu-32"
machine_type = "n2-standard-64"
labels = {
"premerge-platform" : "windows"
}
Expand Down
2 changes: 1 addition & 1 deletion premerge/windows_runner_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ template:
- name: runner
resources:
requests:
cpu: 25
cpu: 55
# TODO(boomanaiden154): Update this image when we have a proper windows
# image ready.
image: ghcr.io/keenuts-test-org/windows-ci-image:latest
Expand Down

0 comments on commit 0fec2d7

Please sign in to comment.