Commit 5ecc229
authored
Rollup merge of rust-lang#155958 - marcoieni:ci-remove-edge-chrome-and-more, r=Mark-Simulacrum
ci(free-disk-space): remove more tools and fix warnings
With this PR I remove more space and improve the free-disk-space-linux script.
If you prefer me to split this PR into multiple ones, let me know.
Discussed in [#t-infra > some jobs running out of disk space](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/some.20jobs.20running.20out.20of.20disk.20space/with/591666099)
## Test
I tested this change in marcoieni/actions-test@196ce70. As you can see the workflows run without warnings, which ensures that we can remove all the space possible from the arm runners.
I also tested this change in this repository, by commenting out the mechanism to skip disk cleanup in case there is sufficient available disk space. ( see rust-lang@86529fb )
If I don't comment out the code, it can happen that the CI skips the code I edited because there's enough disk space in the runners that this CI is running.
Here's the change of that commit:
```
# sufficientSpaceEarlyExit
# checkAlternative
```
## Storage saved
In that temporary commit, I measured how much we are saving. It looks like this PR saves ~2GB:
* Before this PR, from https://github.com/rust-lang/rust/actions/runs/25082499114/job/73490814240: `Total saved: Saved 35GiB`
* In this PR, from https://github.com/rust-lang/rust/actions/runs/25099446145/job/73544774148: `Total saved: Saved 37GiB`1 file changed
Lines changed: 85 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 103 | | |
107 | | - | |
108 | 104 | | |
109 | 105 | | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
115 | | - | |
116 | 111 | | |
117 | | - | |
118 | 112 | | |
119 | 113 | | |
120 | 114 | | |
121 | 115 | | |
122 | 116 | | |
123 | 117 | | |
124 | | - | |
125 | 118 | | |
126 | 119 | | |
127 | 120 | | |
| |||
135 | 128 | | |
136 | 129 | | |
137 | 130 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | 131 | | |
143 | 132 | | |
144 | 133 | | |
145 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
146 | 159 | | |
147 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
148 | 178 | | |
149 | 179 | | |
150 | 180 | | |
| |||
201 | 231 | | |
202 | 232 | | |
203 | 233 | | |
| 234 | + | |
| 235 | + | |
204 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
205 | 240 | | |
206 | 241 | | |
207 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
208 | 250 | | |
209 | 251 | | |
210 | 252 | | |
| |||
213 | 255 | | |
214 | 256 | | |
215 | 257 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
222 | 272 | | |
223 | 273 | | |
224 | 274 | | |
| |||
235 | 285 | | |
236 | 286 | | |
237 | 287 | | |
238 | | - | |
239 | | - | |
240 | | - | |
| 288 | + | |
241 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
242 | 298 | | |
| 299 | + | |
| 300 | + | |
243 | 301 | | |
244 | 302 | | |
245 | 303 | | |
| |||
253 | 311 | | |
254 | 312 | | |
255 | 313 | | |
256 | | - | |
| 314 | + | |
| 315 | + | |
257 | 316 | | |
258 | 317 | | |
259 | 318 | | |
| |||
267 | 326 | | |
268 | 327 | | |
269 | 328 | | |
270 | | - | |
| 329 | + | |
| 330 | + | |
271 | 331 | | |
272 | 332 | | |
273 | 333 | | |
| |||
276 | 336 | | |
277 | 337 | | |
278 | 338 | | |
279 | | - | |
| 339 | + | |
| 340 | + | |
280 | 341 | | |
281 | 342 | | |
282 | 343 | | |
| |||
0 commit comments