From fd0d76e0c2939c205f1279e43dcc2df75195b688 Mon Sep 17 00:00:00 2001 From: Dom Delnano Date: Mon, 27 May 2024 23:09:27 -0700 Subject: [PATCH] Fix incorrect sha for demo image mirror source (#1924) Summary: Fix incorrect sha for demo image mirror source This was identified on the first mirror demos GitHub action run ([link](https://github.com/pixie-io/pixie/actions/runs/9263712385/job/25482607834)). ``` time="2024-05-28T05:08:04Z" level=warning msg="Error running script" error="./deps.lua:146: Failed copying \"gcr.io/pixie-oss/demo-apps/px-sock-shop/carts@sha256:0bcf0ac7a03157b3a311e28e9e73ca827fc7b8c6454600b8626a3b129e41886c\" to \"docker.io/pxio/px-sock-shop-carts:latest@sha256:0bcf0ac7a03157b3a311e28e9e73ca827fc7b8c6454600b8626a3b129e41886c\": failed to get manifest gcr.io/pixie-oss/demo-apps/px-sock-shop/carts@sha256:0bcf0ac7a03157b3a311e28e9e73ca827fc7b8c6454600b8626a3b129e41886c: request failed: not found [http 404]: {\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"Requested entity was not found.\"}]}\n\nstack traceback:\n\t[G]: in function 'copy'\n\t./deps.lua:146: in function 'mirrorImgs'\n\t:3: in main chunk\n\t[G]: ?" script="sync demo images" ``` Relevant Issues: N/A Type of change: /kind bug Test Plan: Verified that `docker pull` for the updated sha works ``` $ docker pull gcr.io/pixie-oss/demo-apps/px-sock-shop/carts@sha256:dee4cc373d22e022db85d12ba8ffaa504a93d801f19d48db6fe37d530f3b8f05 gcr.io/pixie-oss/demo-apps/px-sock-shop/carts@sha256:dee4cc373d22e022db85d12ba8ffaa504a93d801f19d48db6fe37d530f3b8f05: Pulling from pixie-oss/demo-apps/px-sock-shop/carts Digest: sha256:dee4cc373d22e022db85d12ba8ffaa504a93d801f19d48db6fe37d530f3b8f05 Status: Image is up to date for gcr.io/pixie-oss/demo-apps/px-sock-shop/carts@sha256:dee4cc373d22e022db85d12ba8ffaa504a93d801f19d48db6fe37d530f3b8f05 gcr.io/pixie-oss/demo-apps/px-sock-shop/carts@sha256:dee4cc373d22e022db85d12ba8ffaa504a93d801f19d48db6fe37d530f3b8f05 ``` Signed-off-by: Dom Del Nano --- scripts/regclient/deps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/regclient/deps.lua b/scripts/regclient/deps.lua index 6ec4bb6d9ce..06bf53d7eef 100644 --- a/scripts/regclient/deps.lua +++ b/scripts/regclient/deps.lua @@ -58,7 +58,7 @@ deps.demoImages = { "docker.io/weaveworksdemos/payment:0.4.3@sha256:5ab1c9877480a018d4dda10d6dfa382776e6bca9fc1c60bacbb80903fde8cfe0", "docker.io/weaveworksdemos/user:0.4.7@sha256:2ffccc332963c89e035fea52201012208bf62df43a55fe461ad6598a5c757ab7", "docker.io/weaveworksdemos/user-db:0.3.0@sha256:695bc22c11396c7ae747118c56e619f3b3295d9d4cbec999d30230b3f399a389", - "gcr.io/pixie-oss/demo-apps/px-sock-shop/carts@sha256:0bcf0ac7a03157b3a311e28e9e73ca827fc7b8c6454600b8626a3b129e41886c", + "gcr.io/pixie-oss/demo-apps/px-sock-shop/carts@sha256:dee4cc373d22e022db85d12ba8ffaa504a93d801f19d48db6fe37d530f3b8f05", "gcr.io/pixie-oss/demo-apps/px-sock-shop/orders@sha256:433a589dd7b2b5ecd08005760d1ddca884f31e86870a1d563bd6f696bef078a6", "gcr.io/pixie-oss/demo-apps/px-sock-shop/queue-master@sha256:d52117018089a83b8e3c631b861ca390fd4ab64f3ab3ee5a3a1247f49e35c0e7", "gcr.io/pixie-oss/demo-apps/px-sock-shop/shipping@sha256:3b1365606ac36aa8f71fb2fe39e33124dafd37d74b16b8b603ac321e6afb4c8e",