From 572a95538a131c80caa9f96edc80be864691fd38 Mon Sep 17 00:00:00 2001 From: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> Date: Tue, 9 Aug 2022 19:26:19 -0400 Subject: [PATCH] [trial-build] Test changes to base-runner (#8199) * [trial-build] Test changes to base-runner * fix test --- infra/build/functions/build_lib.py | 1 + .../functions/test_data/expected_trial_build_steps.json | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/infra/build/functions/build_lib.py b/infra/build/functions/build_lib.py index c88311a7b..f3dcd4779 100644 --- a/infra/build/functions/build_lib.py +++ b/infra/build/functions/build_lib.py @@ -278,6 +278,7 @@ def get_pull_test_images_steps(test_image_suffix): 'gcr.io/oss-fuzz-base/base-builder-go', 'gcr.io/oss-fuzz-base/base-builder-python', 'gcr.io/oss-fuzz-base/base-builder-rust', + 'gcr.io/oss-fuzz-base/base-runner', ] steps = [] for image in images: diff --git a/infra/build/functions/test_data/expected_trial_build_steps.json b/infra/build/functions/test_data/expected_trial_build_steps.json index 811ca646b..c46980355 100644 --- a/infra/build/functions/test_data/expected_trial_build_steps.json +++ b/infra/build/functions/test_data/expected_trial_build_steps.json @@ -106,6 +106,13 @@ "gcr.io/oss-fuzz-base/base-builder-rust" ] }, + {"args": ["pull", "gcr.io/oss-fuzz-base/base-runner-testing-mybranch"], + "name": "gcr.io/cloud-builders/docker", + "waitFor": "-"}, + {"args": ["tag", + "gcr.io/oss-fuzz-base/base-runner-testing-mybranch", + "gcr.io/oss-fuzz-base/base-runner"], + "name": "gcr.io/cloud-builders/docker"}, { "name": "gcr.io/cloud-builders/docker", "args": [