From 2fe4371409a119261f96381ebc78b99ca9f9357d Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Mon, 2 May 2022 18:10:33 +1000 Subject: [PATCH] Restore machine type for base images. (#7652) * Restore machine type for base images. This was removed when moving project builds to private pools. * format --- infra/build/functions/base_images.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infra/build/functions/base_images.py b/infra/build/functions/base_images.py index 7d411c6f3..5922d5e90 100644 --- a/infra/build/functions/base_images.py +++ b/infra/build/functions/base_images.py @@ -100,7 +100,10 @@ def run_build(steps, images, tags=None, build_version=MAJOR_TAG): """Execute the retrieved build steps in gcb.""" credentials, _ = google.auth.default() body_overrides = { - 'images': images + [f'{image}:{build_version}' for image in images] + 'images': images + [f'{image}:{build_version}' for image in images], + 'options': { + 'machineType': 'E2_HIGHCPU_32' + }, } return build_lib.run_build(steps, credentials,