Specify type of runner


I’m trying to use drone for windows game that needs packages specifically for windows. As such, I’ll have a windows exec runner. The issue is that I have multiple different types of runners now (docker/exec) and some repos require the docker runner while this one will require the exec runner. Is there a way to specify that only the exec runner to take the job for this repo?

Your pipeline should specify the runner in the type attribute like this:

kind: pipeline
type: docker
kind: pipeline
type: exec

You can also configure a runner to reject a pipeline if a repository is not whitelisted. If a user configures the pipeline with type: exec and the repository is not whitelisted it would error.

1 Like