Do not remote_sync to mirror
authorYonghee Han <onstudy@samsung.com>
Mon, 5 Nov 2018 09:50:33 +0000 (18:50 +0900)
committerYonghee Han <onstudy@samsung.com>
Thu, 31 Jan 2019 01:21:23 +0000 (10:21 +0900)
Default value of the remote_sync is False.

Change-Id: I74662b636a63fbf8f085dff325c5924c43e1d327

job_sync_repo.py

index 00c1bd4..0db495b 100755 (executable)
@@ -242,7 +242,7 @@ def main():
     print(cmd)
     subprocess.call(cmd, shell=True)
 
-    if content.get('remote_sync',True):
+    if content.get('remote_sync',False):
         download_rsync_path = os.path.join(os.getenv('RSYNC_SNAPSHOT'), dest_dir)
         print('download_rsync_path=%s' % download_rsync_path)
         cmd = 'ls %s | grep -v latest | parallel -j 8 rsync --compress --stats --archive --recursive --hard-links --verbose %s/{} %s/' \