Skip to content

screwdriver-cd/executor-queue

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