diff options
author | Loïc Hoguin <[email protected]> | 2018-05-22 17:21:46 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-22 17:22:09 +0200 |
commit | c9d9395e719b3db197ae81e967bcae015a1c9387 (patch) | |
tree | 99aa5fc118a6d23ca618e0e8138a1da4eeade30c | |
parent | e42deee04c266de0316dcd4e7b11d972958d83de (diff) | |
download | ci-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-hook | 2 |
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 && \ |