From b64ec26f8dcd1db0434c674d106a3d949848cf63 Mon Sep 17 00:00:00 2001 From: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> Date: Mon, 1 Aug 2022 17:43:20 -0700 Subject: [PATCH] Use test-image (#8118) --- infra/build/functions/trial_build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/build/functions/trial_build.py b/infra/build/functions/trial_build.py index 5bf89762d..96c98c5cd 100644 --- a/infra/build/functions/trial_build.py +++ b/infra/build/functions/trial_build.py @@ -256,7 +256,7 @@ def wait_on_builds(build_ids, credentials, cloud_project): return all(build_results.values()) -def _do_test_builds(args): +def _do_test_builds(args, test_image_suffix): """Does test coverage and fuzzing builds.""" # TODO(metzman): Make this handle concurrent builds. build_types = [] @@ -274,7 +274,7 @@ def _do_test_builds(args): projects = get_projects_to_build(list(args.projects), build_type, args.force_build) config = build_project.Config(testing=True, - test_image_suffix=TEST_IMAGE_SUFFIX, + test_image_suffix=test_image_suffix, branch=args.branch, parallel=False, upload=False) @@ -302,7 +302,7 @@ def trial_build_main(args=None, local_base_build=True): test_image_suffix) else: build_and_push_test_images.gcb_build_and_push_images(test_image_suffix) - return _do_test_builds(args) + return _do_test_builds(args, test_image_suffix) def main():