Skip to content

Commit

Permalink
Use test-image (google#8118)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmetzman authored Aug 2, 2022
1 parent 04c738d commit b64ec26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infra/build/functions/trial_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand All @@ -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)
Expand Down Expand Up @@ -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():
Expand Down

0 comments on commit b64ec26

Please sign in to comment.