makebuildserver: print message before rsyncing caches

This process can take a very long time if the caches are large, so at least
print something about what it is doing.
This commit is contained in:
Hans-Christoph Steiner 2021-03-12 13:14:55 +01:00
parent 5695993521
commit fc368dc291

View file

@ -569,6 +569,8 @@ def main():
for d in ('.m2', '.gradle/caches', '.gradle/wrapper', '.pip_download_cache'): for d in ('.m2', '.gradle/caches', '.gradle/wrapper', '.pip_download_cache'):
fullpath = os.path.join(os.getenv('HOME'), d) fullpath = os.path.join(os.getenv('HOME'), d)
os.system('date')
print('rsyncing', fullpath, 'into VM')
if os.path.isdir(fullpath): if os.path.isdir(fullpath):
ssh_command = ' '.join(('ssh -i {0} -p {1}'.format(key, port), ssh_command = ' '.join(('ssh -i {0} -p {1}'.format(key, port),
'-o StrictHostKeyChecking=no', '-o StrictHostKeyChecking=no',