Commit 49cba9a
authored
Immediately delete cuda-windows GitHub Artifacts (#22863)
### Summary
In #22848 and #22854 we could export and test on the same machine. We
can't do that here because the models are exported on Linux and tested
on Windows, so we still have to upload them for the Windows job to
download. This PR just deletes them once the Windows job is done.
GitHub charges for artifact storage by the hour. Each run uploads 18.4
GB, and right now that sits around for the full 2 days of retention even
though the Windows job is done with it within an hour. In August this
workflow ran about 70 times a day, so at that rate this brings us from
roughly **$650/month down to $12**. It also takes about 500 GB off our
live artifact storage.
If a test fails we leave the artifacts alone so you can still re-run the
failed jobs or debug. They expire with the normal retention (currently 2
days).
### Test plan
CI. The `delete-model-cuda-windows-artifacts` job should log six
deletions and the run should end with zero artifacts.1 parent 5eaea6c commit 49cba9a
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
0 commit comments