Travis sudo is disabled

后端 未结 3 1960
失恋的感觉
失恋的感觉 2020-12-14 08:11

I want to use apt to install some packages for the test, however, it fails due to that the sudo is disabled. I found the following in the test output:

3条回答
  •  北海茫月
    2020-12-14 09:06

    Sudo access is turned off on our Docker based architecture, which will be used in two contexts:

    • repositories opt in using sudo: false in their .travis.yml file (it additionally needs to be turned on on our side)
    • on our educational program (see http://education.travis-ci.com)

    Builds running on our Docker based architecture currently cannot be allowed sudo access due to certain security concerns in the LXC/Docker layer. We hope this will be fixed in the near future, but unfortunately the issue is out of our own hands.

    We are also working on improving the Firefox addon, which currently uses sudo itself, but shouldn't. We'll post on our blog once this has happened.

提交回复
热议问题