From 40e04fee6ce4da1ed2860736410022c4b683dc83 Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Tue, 12 Sep 2023 21:26:39 +0200 Subject: [PATCH] Report only changed images in commit status --- tests/ci/docker_manifests_merge.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/ci/docker_manifests_merge.py b/tests/ci/docker_manifests_merge.py index 56923c5e2d9..9a1c0f331de 100644 --- a/tests/ci/docker_manifests_merge.py +++ b/tests/ci/docker_manifests_merge.py @@ -272,16 +272,17 @@ def main(): if test_result != "OK": status = "failure" + enriched_images = changed_images.copy() try: # changed_images now contains all the images that are changed in this PR. Let's find the latest tag for the images that are not changed. - enrich_images(changed_images) + enrich_images(enriched_images) except CHException as ex: logging.warning("Couldn't get proper tags for not changed images: %s", ex) with open( os.path.join(args.path, "changed_images.json"), "w", encoding="utf-8" ) as ci: - json.dump(changed_images, ci) + json.dump(enriched_images, ci) pr_info = PRInfo() s3_helper = S3Helper()