From c9d9395e719b3db197ae81e967bcae015a1c9387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 22 May 2018 17:21:46 +0200 Subject: Use rsync instead of scp for sending CT logs Should be much, much faster. Required installing a custom built scponly on the host because Arch Linux does not enable rsync compatibility by default. --- priv/buildkite-pre-artifact-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/buildkite-pre-artifact-hook b/priv/buildkite-pre-artifact-hook index ff76fdd..ec2526b 100644 --- a/priv/buildkite-pre-artifact-hook +++ b/priv/buildkite-pre-artifact-hook @@ -12,7 +12,7 @@ rm -f output.txt # Common Test logs. test -d logs/ && \ - scp -rp logs/* buildkite@$BUILDKITE_LOGS_SERVER:$LOGS_PATH + rsync --protocol=29 -arvz logs/* buildkite@$BUILDKITE_LOGS_SERVER:$LOGS_PATH # Erlang.mk packages. test -f test/packages/errors.log && \ -- cgit v1.2.3