Skip to content

Commit

Permalink
(23.lts.1+) Run ODT jobs on dedicated runners (#2085)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
isarkis authored Dec 16, 2023
1 parent b02c49d commit dc4f26e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,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:
Expand Down Expand Up @@ -138,7 +138,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
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
build:
needs: [initialize, docker-build-image]
permissions: {}
runs-on: [self-hosted, linux, X64]
runs-on: [self-hosted, linux-runner]
name: ${{matrix.name}}_${{matrix.config}}
strategy:
fail-fast: false
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
github.event_name != 'pull_request' ||
contains(github.event.pull_request.labels.*.name, 'on_device')
)
runs-on: [self-hosted, linux, X64]
runs-on: [self-hosted, odt-runner]
name: ${{ matrix.name }}_on_device_${{ matrix.type }}
container: ${{ needs.docker-unittest-image.outputs.docker_unittest_tag }}
permissions: {}
Expand Down Expand Up @@ -317,7 +317,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
permissions: {}
strategy:
Expand Down

0 comments on commit dc4f26e

Please sign in to comment.