Skip to content
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

Limit the use of sudo: required to Travis jobs that need it #13424

Closed
wants to merge 2 commits into from

Conversation

foolip
Copy link
Member

@foolip foolip commented Oct 8, 2018

These are the jobs that do source tools/ci/lib.sh. Note that the
"stability (Chrome Dev)" job already (redundantly) specified
sudo: required.

The hosts addon functionality isn't needed. The hosts list is out of
date, and tools/ci/lib.sh does the hosts fixup when needed.

These are the jobs that do `source tools/ci/lib.sh`. Note that the
"stability (Chrome Dev)" job already (redundantly) specified
`sudo: required`.

The hosts addon functionality isn't needed. The hosts list is out of
date, and tools/ci/lib.sh does the hosts fixup when needed.
@foolip
Copy link
Member Author

foolip commented Oct 8, 2018

https://travis-ci.org/web-platform-tests/wpt/builds/438648140 can be used to evaluate if this made things faster the the jobs that ran fully in both, which is only lint. There, it's actually slower, not faster.

Even though sudo is no longer in the job config, it seems like it's the same sort of VM/container/whatever in both cases. So probably best to just leave sudo: required globally for simplicity.

@foolip foolip closed this Oct 8, 2018
@foolip foolip deleted the foolip/travis-sudo branch October 8, 2018 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants