Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

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

README.md

Executor Queue

Version Downloads Build Status Open Issues License

An executor plugin that routes builds through a Redis queue

The executor-queue for Screwdriver will push new jobs into a Redis queue. Other executors such as executor-docker, executor-k8s and executor-k8s-vm will process jobs from this queue.

Usage

$ npm install screwdriver-executor-queue

Interface

It will initialize a connection to node-resque with the provided connection details. You can optionally pass in circuit-fuses breaker options.

Configuration for any executors must be given directly to the workers that read from the queue.

Example executor yaml section:

executor:
    plugin: queue
    queue:
        options:
            # Configuration of the redis instance containing resque
            redisConnection:
                host: "127.0.0.1"
                port: 9999
                options:
                    password: "hunter2"
                database: 0

Testing

$ npm install
$ npm test

License

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