From 8eb0b7536ed00ef4221408425e470e1a25cff904 Mon Sep 17 00:00:00 2001
From: kannankvs
Date: Wed, 27 Oct 2021 20:59:36 +0530
Subject: [PATCH] updated the link for naming convention (#889)
updated the link for naming convention, highlighting the build Id in the image name.
---
sonic_latest_images.html | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/sonic_latest_images.html b/sonic_latest_images.html
index 0f331d5aa2..5636a5f36f 100644
--- a/sonic_latest_images.html
+++ b/sonic_latest_images.html
@@ -45,8 +45,8 @@
-
Latest Successful Builds
-
NOTE: This page is updated manually once in a while and hence may not be pointing to the latest MASTER image. The current links are based on 16thOct2021 successful builds. To get the latest master image, refer pipelines page.
+
Latest Successful Builds
+
@@ -67,7 +67,10 @@ Latest Successful Builds
- click here for previous builds
+ NOTE: The 5 digit number given in the cells specifies the build Id of the images.
+
+
+ click here for previous builds
@@ -88,18 +91,21 @@ Latest Successful Builds
images = Object.keys(data[branches[i]]);
for (let j = 0; j < images.length; j++) {
image_name = images[j];
- image = data[branches[i]][images[j]];
+ image = data[branches[i]][images[j]];
image_platform = image_name.split(".")[0];
+ image_platform2 = image_name;
if(image_platform.length == 1){
platform = ""
}else{
platform = image_platform.split("sonic-")[1];
+ platform2 = image_platform2.split("sonic-")[1];
if(platform.length == 1){
platform = ""
}
}
image_avail = true;
image_url = image['url'];
+ build_id = image['build'];
if(image_url === 'null' || image_url === ""){
image_avail = false;
}
@@ -108,7 +114,7 @@ Latest Successful Builds
$("#disp_table").append(platform_column);
}
if (image_avail)
- image_column =""+image_name+" | ";
+ image_column =""+platform2+"-"+build_id+" | ";
else
image_column ="N/A | ";