Skip to content

Commit

Permalink
Fix incorrect sha for demo image mirror source (#1924)
Browse files Browse the repository at this point in the history
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<string>: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 <[email protected]>
  • Loading branch information
ddelnano authored May 28, 2024
1 parent b14309b commit fd0d76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/regclient/deps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fd0d76e

Please sign in to comment.