Executor plugin for Screwdriver using Resque
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib feat(688): Add support for periodic builds (#14) May 2, 2018
test
.editorconfig
.eslintignore
.eslintrc.yaml
.gitignore
.npmignore
CONTRIBUTING.md
LICENSE
README.md
index.js
package.json
screwdriver.yaml

README.md

Executor Queue

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