From fec6738ce69aead114997b5b226d9b2a3723eca2 Mon Sep 17 00:00:00 2001 From: Igor Sarkisov Date: Fri, 15 Dec 2023 18:36:39 -0800 Subject: [PATCH] (rc_11) Run ODT jobs on dedicated runners (#2091) Make on-device test jobs run on dedicated runners that use very little CPU and RAM. This should free up linux runners and reduce job queueing. b/298255792 --- .github/workflows/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 947e03ba70406..eb34555f17bb1 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -62,7 +62,7 @@ jobs: # Builds, tags, and pushes Cobalt docker build images to ghr. docker-build-image: needs: [initialize] - runs-on: [self-hosted, linux, X64] + runs-on: [self-hosted, linux-runner] permissions: packages: write steps: @@ -96,7 +96,7 @@ jobs: needs: [initialize] permissions: packages: write - runs-on: [self-hosted, linux, X64] + runs-on: [self-hosted, linux-runner] steps: - name: Checkout files uses: actions/checkout@v3 @@ -125,7 +125,7 @@ jobs: # Runs builds. build: needs: [initialize, docker-build-image] - runs-on: [self-hosted, linux, X64] + runs-on: [self-hosted, linux-runner] name: ${{matrix.name}}_${{matrix.config}} strategy: fail-fast: false @@ -160,7 +160,7 @@ jobs: on-host-test: needs: [initialize, docker-unittest-image, build] if: needs.initialize.outputs.on_host_test == 'true' - runs-on: [self-hosted, linux, X64] + runs-on: [self-hosted, linux-runner] name: ${{matrix.name}}_${{matrix.shard}}_test strategy: fail-fast: false