Skip to content

Auto clean old nightlies on Travis - #16573

Merged
bors-servo merged 2 commits into
servo:masterfrom
UK992:travis
Apr 23, 2017
Merged

bors-servo merged 2 commits into
servo:masterfrom
UK992:travis

Conversation

@UK992

@UK992 UK992 commented Apr 22, 2017 •

Copy link
Copy Markdown
Contributor

This could solve no space left problem.


This change is Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 22, 2017
@UK992

UK992 commented Apr 22, 2017

Copy link
Copy Markdown
Contributor Author

r? @aneeshusa

@highfive highfive assigned aneeshusa and unassigned cbrewster Apr 22, 2017

@aneeshusa aneeshusa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good idea, thanks @UK992! I'm not sure if it will help with running out of space or not, but it doesn't hurt.

Comment thread .travis.yml Outdated
- sudo: 9000
dist: trusty
script:
- ./mach clean-nightlies --keep 2 --force

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread python/servo/bootstrap_commands.py Outdated
commit_hash, _ = cmd.communicate()
to_keep[tool].add(commit_hash.rstrip())
for line in stdout.splitlines():
if line.startswith("+") and "+++" not in line:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"+++" not in line -> not line.startswith("+++")

Comment thread python/servo/bootstrap_commands.py Outdated
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],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use --oneline instead of --pretty=oneline, and change -p to --patch.

@aneeshusa aneeshusa added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Apr 22, 2017
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Apr 22, 2017
@UK992

UK992 commented Apr 22, 2017

Copy link
Copy Markdown
Contributor Author

done.

@aneeshusa

Copy link
Copy Markdown
Contributor

Looks good, I'll wait for Travis to see how it affects the output.

@aneeshusa aneeshusa removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 22, 2017
@aneeshusa

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit c5f1306 has been approved by aneeshusa

@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 22, 2017
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit c5f1306 with merge cc74b5b...

bors-servo pushed a commit that referenced this pull request Apr 23, 2017
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 -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt1

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Apr 23, 2017
@bors-servo

Copy link
Copy Markdown
Contributor

⚡ 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...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ 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
Approved by: aneeshusa
Pushing cc74b5b to master...

@bors-servo
bors-servo merged commit c5f1306 into servo:master Apr 23, 2017
bors-servo pushed a commit that referenced this pull request May 9, 2017
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 -->
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request May 9, 2017
…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
aethanyc pushed a commit to aethanyc/gecko-dev that referenced this pull request May 10, 2017
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 1, 2019
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 1, 2019
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 1, 2019
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants