Skip to content

A generic executor plugin that routes builds to a specified executor

License

Notifications You must be signed in to change notification settings

screwdriver-cd/executor-router

Repository files navigation

Executor Router

Version Downloads Build Status Open Issues License

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
    jenkins:
      options:
        host: jenkins.default
        port: 8080
        launchVersion: stable

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.