screwdriver-executor-router
v4.0.0
Published
A generic plugin for routing builds to specified executors
Downloads
221
Readme
Executor Router
An executor plugin that routes builds to a specified executor
An executor is an engine that is capable of running a set of docker containers together.
i.e. Jenkins, Kubernetes, ECS, Mesos
The executor router will allow multiple executors to be used in a Screwdriver cluster.
Usage
npm install screwdriver-executor-router
Interface
It will initialize any routers specified in the default.yaml under the executor
keyword. To specify a default executor plugin, indicate it at the plugin
keyword. If no default is specified, the first executor defined will be the default.
Example executor yaml section:
executor:
plugin: k8s
k8s:
options:
kubernetes:
host: kubernetes.default
token: sometokenhere
launchVersion: stable
docker:
options:
docker: {}
launchVersion: stable
k8s-vm:
options:
kubernetes:
host: kubernetes.default
token: sometokenhere
launchVersion: stable
Testing
npm test
License
Code licensed under the BSD 3-Clause license. See LICENSE file for terms.