Skip to content

Commit

Permalink
(COBALT_9) Run ODT jobs on dedicated runners (#2090)
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 committed Dec 16, 2023
1 parent cca8c68 commit 0f98367
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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 @@ -97,7 +97,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 @@ -126,7 +126,7 @@ jobs:
# Runs builds.
build:
needs: [initialize, docker-build-image]
runs-on: [self-hosted, linux, X64]
runs-on: [self-hosted, linux-runner]
permissions: {}
name: ${{matrix.name}}_${{matrix.config}}
strategy:
Expand Down Expand Up @@ -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]
permissions: {}
name: ${{matrix.name}}_${{matrix.shard}}_test
strategy:
Expand Down

0 comments on commit 0f98367

Please sign in to comment.