[buildbot] phase2: rsync based on checksum, not mtime
LEDE Commits
lede-commits at lists.infradead.org
Fri Nov 4 06:19:44 PDT 2016
jow pushed a commit to buildbot.git, branch master:
https://git.lede-project.org/33977298c3008655342e4171fa84741db4a6a62e
commit 33977298c3008655342e4171fa84741db4a6a62e
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Fri Nov 4 14:19:25 2016 +0100
phase2: rsync based on checksum, not mtime
Instruct rsync to compare the file checksums, and not their modification times.
This should decrease the source and package upload volume significantly.
Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
phase2/master.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/phase2/master.cfg b/phase2/master.cfg
index 8da0318..f460ded 100644
--- a/phase2/master.cfg
+++ b/phase2/master.cfg
@@ -284,7 +284,7 @@ for arch in arches:
name = "packageupload",
description = "Uploading package files",
workdir = "build/sdk",
- command = ["rsync", "--delete", "--delay-updates", "--partial-dir=.~tmp~%s" %(arch[0]), "-avz", "bin/packages/%s/" %(arch[0]), "%s/packages/%s/" %(rsync_bin_url, arch[0])],
+ command = ["rsync", "--delete", "--checksum", "--delay-updates", "--partial-dir=.~tmp~%s" %(arch[0]), "-avz", "bin/packages/%s/" %(arch[0]), "%s/packages/%s/" %(rsync_bin_url, arch[0])],
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False
@@ -331,7 +331,7 @@ for arch in arches:
name = "sourceupload",
description = "Uploading source archives",
workdir = "build/sdk",
- command = ["rsync", "--delay-updates", "--partial-dir=.~tmp~%s" %(arch[0]), "-avz", "dl/", "%s/" %(rsync_src_url)],
+ command = ["rsync", "--checksum", "--delay-updates", "--partial-dir=.~tmp~%s" %(arch[0]), "-avz", "dl/", "%s/" %(rsync_src_url)],
env={'RSYNC_PASSWORD': rsync_src_key},
haltOnFailure = False,
logEnviron = False
More information about the lede-commits
mailing list