@@ -222,9 +222,7 @@ jobs:
222222 hauler store copy registry://localhost:5002 --plain-http
223223 # verify blobs actually landed in the registry backend
224224 [ $(find registry -type f | wc -l) -gt 0 ]
225- # verify --only is accepted (a registry seeded fresh at startup from the
226- # whole store can't prove exclusion here -- registry-side filtering is
227- # covered by --only's own unit tests)
225+ # verify via --only
228226 hauler store copy registry://localhost:5002 --plain-http --only busybox
229227 pkill -f "hauler store serve registry --port 5002"
230228 rm -rf registry
@@ -236,19 +234,17 @@ jobs:
236234 - name : Verify - hauler copy
237235 run : |
238236 hauler copy --help
239- # source registry (seeded from the store, which already has busybox)
237+ # start source registry
240238 hauler store serve registry --port 5004 --readonly=false --directory registry-src &
241239 until curl -sf http://localhost:5004/v2/_catalog; do : ; done
242- # destination registry
240+ # start destination registry
243241 hauler store serve registry --port 5005 --readonly=false --directory registry-dst &
244242 until curl -sf http://localhost:5005/v2/_catalog; do : ; done
245- # verify a direct registry-to-registry copy, bypassing the store
246- # (destination path is deliberately distinct from anything the destination
247- # registry auto-seeded at startup, so its presence proves the copy, not the seed)
248- hauler copy localhost:5004/hauler-dev/library/busybox:latest localhost:5005/mycopy/busybox:latest --plain-http
243+ # verify a direct registry to registry copy
244+ hauler copy localhost:5004/custom-path/busybox:stable localhost:5005/mycopy/busybox:latest --plain-http
249245 test -d registry-dst/docker/registry/v2/repositories/mycopy/busybox
250246 # verify --platform copies a single platform out of the index
251- hauler copy localhost:5004/hauler-dev/library/ busybox:latest localhost:5005/mycopy/busybox-platform:amd64 --plain-http --platform linux/amd64
247+ hauler copy localhost:5004/custom-path/ busybox:stable localhost:5005/mycopy/busybox-platform:amd64 --plain-http --platform linux/amd64
252248 test -d registry-dst/docker/registry/v2/repositories/mycopy/busybox-platform
253249 pkill -f "hauler store serve registry --port 5004"
254250 pkill -f "hauler store serve registry --port 5005"
0 commit comments