travis-ci / docs-travis-ci-com

The Travis CI Documentation
http://docs.travis-ci.com
582 stars 3.19k forks source link

Adapt Xvfb instruction docs to different init systems in our images #2233

Open iriberri opened 5 years ago

iriberri commented 5 years ago

At https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-xvfb-to-run-tests-that-require-a-gui, we're documenting the new services: xvfb method but we still mention starting xvfb using the /etc/init.d/xvfb file, which does no longer exist in the Xenial env that uses systemd.

I see that these two sections:

still mention /etc/init.d/xvfb. The "Starting a web server" one seems easily adaptable by adding to it to new services: xvfb approach. For "Using Xvfb directly", should we split the section with the upstart/systemd approaches? What do you think @joepvd?

Code context: https://github.com/travis-ci/travis-build/blob/664f39d1c7da26e145a85974d71d7972bf2588fc/lib/travis/build/appliances/services.rb#L82-L90

stale[bot] commented 5 years ago

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues