Skip to content

Commit 5eae24b

Browse files
refactor: use different machine type on Cloud Build to speed up the build
PiperOrigin-RevId: 814207581
1 parent fedf6b9 commit 5eae24b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

presubmit.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Cloud Build YAML to run all presubmit tasks
2+
# Using a machine with 8 CPUs to speed up the builds.
23
steps:
34
- name: docker
45
script: |
@@ -16,3 +17,5 @@ steps:
1617
docker build . -f "$dir/Dockerfile"
1718
fi
1819
done
20+
options:
21+
machineType: 'E2_HIGHCPU_8'

0 commit comments

Comments
 (0)