Resume: recreate the worker run directory before freezing sources
This commit is contained in:
parent
e526bc3e58
commit
9d5d276fe8
1 changed files with 2 additions and 1 deletions
|
|
@ -225,7 +225,8 @@ def main():
|
|||
previous_binary = remote_text('sha256sum ' + shlex.quote(remote_root + '/archipelago')
|
||||
+ " | cut -d' ' -f1")
|
||||
phase('freezing-and-compiling-source')
|
||||
remote(f'''tar --exclude=.git --exclude=target --exclude=__pycache__ -C {shlex.quote(config['worker_source_root'])} -cf {remote_root}/source.tar src
|
||||
remote(f'''mkdir -p {shlex.quote(remote_root)}
|
||||
tar --exclude=.git --exclude=target --exclude=__pycache__ -C {shlex.quote(config['worker_source_root'])} -cf {remote_root}/source.tar src
|
||||
mkdir -p {remote_root}/source
|
||||
tar -xf {remote_root}/source.tar -C {remote_root}/source
|
||||
cp -a {remote_root}/source/src/test-lab/probes {remote_root}/probes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue