| ba1731bb Andy McCall ↶ | 1 | #!/bin/sh |
| 2 | # Start from the build image's prebuilt dependencies, then run the command. |
|
| 3 | # OxygenFlow's rust image holds this workspace's dependencies built at /src with |
|
| 4 | # this pipeline's environment (oxygenflow/images/rust, backlog F6b2); the |
|
| 5 | # job's target disk starts empty, so copying them in leaves cargo only this |
|
| 6 | # workspace's own crates to compile. Without them (an older image, or a |
|
| 7 | # failed copy) the job simply builds everything, as before. |
|
| 8 | |
|
| 9 | warm=/opt/warm/oxygen |
|
| 10 | # A fresh ext4 target disk holds only lost+found. |
|
| 11 | if [ && [; then |
|
| 12 | start= |
|
| 13 | if ; then |
|
| 14 | |
|
| 15 | else |
|
| 16 | |
|
| 17 | || |
|
| 18 | fi |
|
| 19 | fi |
|
| 20 | |