Repository navigation
Auto clean old nightlies on Travis - #16573
Conversation
|
r? @aneeshusa |
| - sudo: 9000 | ||
| dist: trusty | ||
| script: | ||
| - ./mach clean-nightlies --keep 2 --force |
There was a problem hiding this comment.
Let's put this into before_cache instead of script. Docs: https://docs.travis-ci.com/user/caching/#before_cache-phase
| commit_hash, _ = cmd.communicate() | ||
| to_keep[tool].add(commit_hash.rstrip()) | ||
| for line in stdout.splitlines(): | ||
| if line.startswith("+") and "+++" not in line: |
There was a problem hiding this comment.
"+++" not in line -> not line.startswith("+++")
| commit_file = '{}-commit-hash'.format(tool) | ||
| cmd = subprocess.Popen( | ||
| ['git', 'log', '--pretty=format:%H', '-n', keep, commit_file], | ||
| ['git', 'log', '--pretty=oneline', '--no-color', '-n', keep, '-p', commit_file], |
There was a problem hiding this comment.
Use --oneline instead of --pretty=oneline, and change -p to --patch.
|
done. |
|
Looks good, I'll wait for Travis to see how it affects the output. |
|
@bors-servo r+ |
|
📌 Commit c5f1306 has been approved by |
Auto clean old nightlies on Travis This could solve `no space left` problem. <!-- 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/16573) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-wpt1 |
|
⚡ Previous build results for android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt2, windows-msvc-dev are reusable. Rebuilding only mac-rel-wpt1... |
|
☀️ 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 |
Try to re-enable unit tests on travis-ci After #16573 and #16593, issue #15076 _could_ be fixed. Edit: Closes #14723 Closes #15076 <!-- 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/16767) <!-- Reviewable:end -->
…UK992:travis); r=jdm After servo/servo#16573 and servo/servo#16593, issue servo/servo#15076 _could_ be fixed. Edit: Closes #14723 Closes #15076 Source-Repo: https://github.com/servo/servo Source-Revision: 8ff484d3fd0b092d64af8b0a2cfa51b318631b82 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : b2ee28ecf18792f3a1ebf50bcb548ede41fb2e70
…UK992:travis); r=jdm After servo/servo#16573 and servo/servo#16593, issue servo/servo#15076 _could_ be fixed. Edit: Closes #14723 Closes #15076 Source-Repo: https://github.com/servo/servo Source-Revision: 8ff484d3fd0b092d64af8b0a2cfa51b318631b82
…UK992:travis); r=jdm After servo/servo#16573 and servo/servo#16593, issue servo/servo#15076 _could_ be fixed. Edit: Closes #14723 Closes #15076 Source-Repo: https://github.com/servo/servo Source-Revision: 8ff484d3fd0b092d64af8b0a2cfa51b318631b82 UltraBlame original commit: 2445c1a53fe2bf66317fcbb495a528eb68fdabc3
…UK992:travis); r=jdm After servo/servo#16573 and servo/servo#16593, issue servo/servo#15076 _could_ be fixed. Edit: Closes #14723 Closes #15076 Source-Repo: https://github.com/servo/servo Source-Revision: 8ff484d3fd0b092d64af8b0a2cfa51b318631b82 UltraBlame original commit: 2445c1a53fe2bf66317fcbb495a528eb68fdabc3
…UK992:travis); r=jdm After servo/servo#16573 and servo/servo#16593, issue servo/servo#15076 _could_ be fixed. Edit: Closes #14723 Closes #15076 Source-Repo: https://github.com/servo/servo Source-Revision: 8ff484d3fd0b092d64af8b0a2cfa51b318631b82 UltraBlame original commit: 2445c1a53fe2bf66317fcbb495a528eb68fdabc3
This could solve
no space leftproblem.This change is