diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-09-27 11:47:07 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-09-27 12:02:02 -0700 |
| commit | a2a4ea0850b7324fcf0bb1779d3b1f288835b2f4 (patch) | |
| tree | c8fd9f201a5010fca97162196c8d0e9b4ec859f9 /src/ci/scripts | |
| parent | 282d04489adefc09286160719676a309e26ddd07 (diff) | |
| download | rust-a2a4ea0850b7324fcf0bb1779d3b1f288835b2f4.tar.gz rust-a2a4ea0850b7324fcf0bb1779d3b1f288835b2f4.zip | |
Partially revert "ci: Use mv instead of cp in upload step"
This partially reverts commit fe7c97c2e732de8dfc93ef21ee84ccfbc04c7d0c. I kept a mv, not a cp, for the one that shuffles major artifacts around, because the size of those artifacts are big enough to matter, sometimes. I don't think the diagnostic info will be that heavy, by comparison.
Diffstat (limited to 'src/ci/scripts')
| -rwxr-xr-x | src/ci/scripts/upload-artifacts.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ci/scripts/upload-artifacts.sh b/src/ci/scripts/upload-artifacts.sh index 61c187fa77c..0bc91f6ba71 100755 --- a/src/ci/scripts/upload-artifacts.sh +++ b/src/ci/scripts/upload-artifacts.sh @@ -23,14 +23,14 @@ if [[ "${DEPLOY-0}" -eq "1" ]] || [[ "${DEPLOY_ALT-0}" -eq "1" ]]; then fi # CPU usage statistics. -mv build/cpu-usage.csv "${upload_dir}/cpu-${CI_JOB_NAME}.csv" +cp build/cpu-usage.csv "${upload_dir}/cpu-${CI_JOB_NAME}.csv" # Build metrics generated by x.py. -mv "${build_dir}/metrics.json" "${upload_dir}/metrics-${CI_JOB_NAME}.json" +cp "${build_dir}/metrics.json" "${upload_dir}/metrics-${CI_JOB_NAME}.json" # Toolstate data. if [[ -n "${DEPLOY_TOOLSTATES_JSON+x}" ]]; then - mv /tmp/toolstate/toolstates.json "${upload_dir}/${DEPLOY_TOOLSTATES_JSON}" + cp /tmp/toolstate/toolstates.json "${upload_dir}/${DEPLOY_TOOLSTATES_JSON}" fi echo "Files that will be uploaded:" |
