]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
sync-images: sync all images including their different aarch 2290/head
authorNizamudeen A <nia@redhat.com>
Tue, 12 Nov 2024 05:30:06 +0000 (11:00 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 12 Nov 2024 05:33:01 +0000 (11:03 +0530)
The sync is not syncing the different architectures supported by the
images atleast for grafana. And hence only the amd64 gets mirrored to
the quay repo and causes issues to arm64 builds. I saw that skopeo
supports an `--all` opton that copies every aarch.

Refer: https://github.com/containers/skopeo/blob/main/docs/skopeo-sync.1.md#options

Fixes: https://tracker.ceph.com/issues/68627
Signed-off-by: Nizamudeen A <nia@redhat.com>
sync-images/build/build

index 0fbbbf877a4f45479b868d9bd2c6bc7b4b643d7f..89d108de89cf581a26e14f9a07d541919a3c9dfc 100644 (file)
@@ -15,4 +15,4 @@ docker.io:
 EOF
 # make sure we pull the last stable image
 podman pull quay.io/skopeo/stable
-podman run --rm --security-opt label=disable -v ./sync.yml:/sync.yml:ro quay.io/skopeo/stable sync --src yaml --dest docker /sync.yml "${DEST_REGISTRY}" --dest-username "${DEST_USERNAME}" --dest-password "${DEST_PASSWORD}"
+podman run --rm --security-opt label=disable -v ./sync.yml:/sync.yml:ro quay.io/skopeo/stable sync --all --src yaml --dest docker /sync.yml "${DEST_REGISTRY}" --dest-username "${DEST_USERNAME}" --dest-password "${DEST_PASSWORD}"