-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically clean old nightlies #16487
Automatically clean old nightlies #16487
Conversation
Heads up! This PR modifies the following files:
|
feab3dd
to
4ea88d4
Compare
☔ The latest upstream changes (presumably #16505) made this pull request unmergeable. Please resolve the merge conflicts. |
This makes it easier to reuse in other places.
Add a new `-keep` flag to `./mach clean-nightlies` to control how many nightlies to keep, which keeps the n most recent nightlies found in git. Use this to clean old nightlies at the start of each build, currently keeping 3 nightlies at a time.
4ea88d4
to
060a813
Compare
I'm not sure that we want to delete all of the nightlies. Firefox has gotten a lot of mileage out of being able to do a "binary bisection" to find when bugs were introduced without having to rebuild the product. That said, it might only be useful for the tarballs and not for the installers themselves. |
@larsbergstrom Sorry that I wasn't clear, this deletes |
@aneeshusa Whoops! I should have read the change instead of just the PR comment. I've done so now and thanks a ton for this! @bors-servo r+ |
📌 Commit 060a813 has been approved by |
…=larsbergstrom Automatically clean old nightlies <!-- Please describe your changes on the following line: --> Automatically clean old rustc and cargo nightlies on our builders up to preserve disk space. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #12103 and help with servo/saltfs#321 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because tested manually <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16487) <!-- Reviewable:end -->
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev |
Automatically clean old rustc and cargo nightlies on our builders up to preserve disk space.
./mach build -d
does not report any errors./mach test-tidy
does not report any errorsThis change is