m/test/l/cluster: use sparse-aware copy for images
This speeds up the image copy significantly as the file is less than 10%
allocated. Especially for many concurrent runs this greatly reduces disk
bottlenecking.
This has been tested by comparing the SHA256 hash of both the original
and the copied image, which is still the same.
Change-Id: I65f62537f048bc180cd732c53a03f980e016b723
Reviewed-on: https://review.monogon.dev/c/monogon/+/2874
Tested-by: Jenkins CI
Reviewed-by: Serge Bazanski <serge@monogon.tech>
diff --git a/metropolis/test/launch/cluster/BUILD.bazel b/metropolis/test/launch/cluster/BUILD.bazel
index 6c9b10a..5d48f70 100644
--- a/metropolis/test/launch/cluster/BUILD.bazel
+++ b/metropolis/test/launch/cluster/BUILD.bazel
@@ -39,6 +39,7 @@
"@org_golang_google_grpc//status",
"@org_golang_google_protobuf//proto",
"@org_golang_x_net//proxy",
+ "@org_golang_x_sys//unix",
"@org_uber_go_multierr//:multierr",
],
)