Skip to content

Commit 94ef85f

Browse files
committed
Tune down instance-size for AI review and gcc-bpf
Both AI review and gcc-bpf aren't compute intensive on the runner side, so there is no reason to use xlarge (default) for these jobs. For reference [1]: - xlarge is 36 vCPUs / 72 GiB - large is 8 vCPUs / 16 GiB [1] https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
1 parent d580d69 commit 94ef85f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ai-code-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
runs-on:
5050
- ${{ format('codebuild-bpf-ci-{0}-{1}', github.run_id, github.run_attempt) }}
5151
- image:custom-linux-ghcr.io/kernel-patches/runner:ai-review
52-
- instance-size:xlarge
52+
- instance-size:large
5353
strategy:
5454
matrix:
5555
commit: ${{ fromJson(needs.get-commits.outputs.commits) }}

.github/workflows/gcc-bpf.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
runs-on:
3232
- ${{ format('codebuild-bpf-ci-{0}-{1}', github.run_id, github.run_attempt) }}
3333
- image:custom-linux-ghcr.io/kernel-patches/runner:kbuilder-debian-x86_64
34+
- instance-size:large
3435
env:
3536
ARCH: ${{ inputs.arch }}
3637
BPF_NEXT_BASE_BRANCH: 'master'

0 commit comments

Comments
 (0)