Ability to set SCHED_FIFO


for my tests to run correctly, I need to set on the thread the SCHED_FIFO policy. On my local development computer I can do it by passing --cap-add=sys_nice on Docker run command (which runs the container with the right capability and call to sched_setscheduler() is possible).

However, I don’t know if I can somehow set the same in Drone Cloud?


this option is not available on Drone cloud, however, you can install Drone [1] on your own servers and then enable privileged mode [2] for your pipeline which would enable this capability.

[1] https://docs.drone.io/server/overview/
[2] https://docs.drone.io/pipeline/docker/syntax/steps/#privileged-mode