A generic executor plugin that routes builds to a specified executor
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.editorconfig
.eslintignore
.eslintrc.yaml
.gitignore
.npmignore
CONTRIBUTING.md
LICENSE
README.md
index.js
package.json
screwdriver.yaml

README.md

Executor Router

Version Downloads Build Status Open Issues Dependency Status 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
    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.