aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-05-22 17:21:46 +0200
committerLoïc Hoguin <[email protected]>2018-05-22 17:22:09 +0200
commitc9d9395e719b3db197ae81e967bcae015a1c9387 (patch)
tree99aa5fc118a6d23ca618e0e8138a1da4eeade30c
parente42deee04c266de0316dcd4e7b11d972958d83de (diff)
downloadci-c9d9395e719b3db197ae81e967bcae015a1c9387.tar.gz
ci-c9d9395e719b3db197ae81e967bcae015a1c9387.tar.bz2
ci-c9d9395e719b3db197ae81e967bcae015a1c9387.zip
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.
-rw-r--r--priv/buildkite-pre-artifact-hook2
1 files changed, 1 insertions, 1 deletions
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 && \