Skip to content

Commit

Permalink
Move "Bazel Test" GitHub action to a large runner.
Browse files Browse the repository at this point in the history
"Bazel Test" has been the bottleneck of our builds for a while now. A large part of that is due to the default GitHub runner only having 2 cores and thus only being able to run at most 2 Bazel actions at a time. Things have also gotten worse due to the increasing number of tests in Dagger's codebase and the slowing down of tests due to the move to XProcessing Testing and possibly increased I/O due to golden files, though these issues aren't addressed in this CL.

This CL moves our "Bazel Test" GitHub actions onto the large test runner. This runner now has 16 cores which should allow 8x more tests to run in parallel and we should see a similar improvement in the time it takes these GitHub actions to run.

RELNOTES=N/A
PiperOrigin-RevId: 578232997
  • Loading branch information
bcorso authored and Dagger Team committed Nov 6, 2023
1 parent 6018cd2 commit 492f8dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ jobs:
bazel-test:
name: 'Bazel tests'
needs: validate-latest-dagger-version
runs-on: ubuntu-latest
runs-on:
group: large-runner
labels: ubuntu-22.04-16core
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/bazel-test
Expand Down

0 comments on commit 492f8dd

Please sign in to comment.