Resume: recreate the run pipeline copy in place
This commit is contained in:
parent
e921e917c4
commit
f8a7032841
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ def main():
|
|||
observer = monitor.Monitor(base, stamp)
|
||||
previous = json.loads((parent / 'latest.json').read_text()) if (parent / 'latest.json').exists() else None
|
||||
source = Path(__file__).resolve().parent
|
||||
shutil.copytree(source, run / 'pipeline', ignore=shutil.ignore_patterns('__pycache__'))
|
||||
shutil.copytree(source, run / 'pipeline', dirs_exist_ok=True, ignore=shutil.ignore_patterns('__pycache__'))
|
||||
atomic(run / 'config.json', config)
|
||||
worker = config['worker']
|
||||
remote_root = config['worker_root'] + '/build/release-cycle/' + stamp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue