linter: untrusted repositories cannot mount host volumes
I met the above error but I did not find where to set up it in the web console of in drone/drone:1.0.0-rc.3.
I use docker run to build a single drone server as below:
only a system administrator can Trusted mode. If you cannot set this field it is because you are not a Drone system administrator. To create an administrative user please follow the instructions here: https://docs.drone.io/administration/user/admins/
I am having a similar problem in Drone Cloud for an open source project, however I don’t know how I can make my repository trusted.
Trusted builds are essentially granted root access to the host machine. For security reasons, we would never grant a project on Drone Cloud trusted access to our servers. If you require host machine access to run your build, you will need to install and run Drone on your own servers.
I was going through the docs and the “docker” example showed the volume mounts, so it might be helpful to mention this plugin in the docker examples. Thank you for the quick responses!
drone exec is completely standalone and does not communicate with Drone server in any way. So the fact you have configured a repository as trusted within Drone server has no bearing on how drone exec works. It is meant to be a completely independent utility.
drone lint is also standalone and does not communicate with the drone server. So the results of drone info do not have any bearing on the drone lint command.