summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-11 21:03:30 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-07-11 21:03:30 -0400
commit2053fbff649a8a399f30abd4bf5cae58e735e408 (patch)
tree4ce6daf68b2ddb8669a9c5870b41b1a31131a54e
parentb0189bd5e9dca1e322c8891ebc0487dc68c12bb3 (diff)
ci: Use tarpipe for copying results so symlinks are preserved
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r--ci/_test-git-branch.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/_test-git-branch.sh b/ci/_test-git-branch.sh
index f998928..08ca5a5 100644
--- a/ci/_test-git-branch.sh
+++ b/ci/_test-git-branch.sh
@@ -102,7 +102,9 @@ find ktest-out/out -type f -name \*log -print0|xargs -0 brotli --rm -9
OUTPUT=$JOBSERVER_OUTPUT_DIR/c/$COMMIT
ssh $JOBSERVER mkdir -p $OUTPUT
-scp -r ktest-out/out/* $JOBSERVER:$OUTPUT
+
+(cd ktest-out/out; tar --create --file - *)|
+ ssh $JOBSERVER "(cd $OUTPUT; tar --extract --file -)"
echo "Running test-job-done.sh"
ssh $JOBSERVER test-job-done.sh $BRANCH $COMMIT