[llvm] [CI] Pin runners to us-west cluster (PR #217111)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 12:57:55 PDT 2026
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/217111
>From 482c531c35226e85d93907b34188497deea0a08c Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 18 Aug 2026 19:52:15 +0000
Subject: [PATCH 1/2] [CI] Pin runners to us-west cluster
We are having scaling issues in the us-central cluster, so use a hack to
pin everything to the us-west cluster while we get things sorted
out in the us-central cluster.
---
.github/workflows/premerge.yaml | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index 8c8d63fb5beca..cfd173999f633 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -24,16 +24,20 @@ concurrency:
jobs:
premerge-checks-linux:
- name: Build and Test Linux${{ (startsWith(matrix.runs-on, 'depot-ubuntu-24.04-arm') && ' AArch64') || '' }}
+ name: Build and Test Linux${{ (startsWith(matrix.name, 'depot-ubuntu-24.04-arm') && ' AArch64') || '' }}
if: >-
github.repository_owner == 'llvm' &&
(github.event_name != 'pull_request' || github.event.action != 'closed')
strategy:
fail-fast: false
matrix:
- runs-on:
- - depot-ubuntu-24.04-arm-16
- - llvm-premerge-linux-runners
+ include:
+ - name: depot-ubuntu-24.04-arm-16
+ runs-on: depot-ubuntu-24.04-arm-16
+ - name: llvm-premerge-linux-runners
+ runs-on:
+ group: llvm-premerge-linux-runners
+ labels: llvm-premerge-cluster-us-west
runs-on: ${{ matrix.runs-on }}
container:
# The llvm-premerge agents are already containers and running the
@@ -41,7 +45,7 @@ jobs:
# job. The depot containers are running on VMs, so we can use a
# container. This helps ensure the build environment is as close
# as possible on both the depot runners and the llvm-premerge runners.
- image: ${{ (startsWith(matrix.runs-on, 'depot-ubuntu-24.04-arm') && format('ghcr.io/{0}/arm64v8/ci-ubuntu-24.04',github.repository_owner) ) || null }}
+ image: ${{ (startsWith(matrix.name, 'depot-ubuntu-24.04-arm') && format('ghcr.io/{0}/arm64v8/ci-ubuntu-24.04',github.repository_owner) ) || null }}
# --privileged is needed to run the lldb tests that disable aslr.
# The SCCACHE environment variables are need to be copied from the host
# to the container to make sure it is configured correctly to use the
@@ -88,7 +92,7 @@ jobs:
# The linux-premerge runners are hosted on GCP and have a different
# cache setup than the depot runners.
- if [[ "${{ matrix.runs-on }}" = "llvm-premerge-linux-runners" ]]; then
+ if [[ "${{ matrix.name }}" = "llvm-premerge-linux-runners" ]]; then
# This environment variable is passes into the container through the
# runner pod definition. This differs between our two clusters which
# why we do not hardcode it.
@@ -121,7 +125,7 @@ jobs:
include-hidden-files: 'true'
- name: Upload Comment
uses: actions/upload-artifact at 043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
- if: ${{ always() && !startsWith(matrix.runs-on, 'depot-ubuntu-24.04-arm') }}
+ if: ${{ always() && !startsWith(matrix.name, 'depot-ubuntu-24.04-arm') }}
continue-on-error: true
with:
name: workflow-args-x86-linux
>From b11ba8a5f5cb9df72ffda66269f8b9c30560783a Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 18 Aug 2026 19:57:40 +0000
Subject: [PATCH 2/2] fix
---
.github/workflows/premerge.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index cfd173999f633..a5853d2ac3bba 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -36,8 +36,8 @@ jobs:
runs-on: depot-ubuntu-24.04-arm-16
- name: llvm-premerge-linux-runners
runs-on:
- group: llvm-premerge-linux-runners
- labels: llvm-premerge-cluster-us-west
+ labels: llvm-premerge-linux-runners
+ group: llvm-premerge-cluster-us-west
runs-on: ${{ matrix.runs-on }}
container:
# The llvm-premerge agents are already containers and running the
More information about the llvm-commits
mailing list