From: Jo-Philipp Wich Date: Fri, 4 Nov 2016 13:19:25 +0000 (+0100) Subject: phase2: rsync based on checksum, not mtime X-Git-Tag: v1~241 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=33977298c3008655342e4171fa84741db4a6a62e;p=buildbot.git 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 --- 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