mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Report only changed images in commit status
This commit is contained in:
parent
5ead298d53
commit
40e04fee6c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user