Commit 92fcbab
committed
k8s: use mv to prevent scenario getting cut off
We use this following to check for the scenario file:
while [ ! -f /shared/archive.pyz ]; do
echo "Waiting for /shared/archive.pyz to exist..."
sleep 2
done
I suspect this may cut off longer-running copy commands. Using mv we make sure all the data is
copied over, and then we `mv` the file into place.1 parent 748e2cd commit 92fcbab
1 file changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
387 | 399 | | |
388 | 400 | | |
389 | 401 | | |
| |||
0 commit comments