Skip to content

screwdriver-cd/executor-router

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
    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.