screwdriver-executor-queue

4.0.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 4.0.1
    13
    • latest

Version History

Package Sidebar

Install

npm i screwdriver-executor-queue

Weekly Downloads

13

Version

4.0.1

License

BSD-3-Clause

Unpacked Size

15.1 kB

Total Files

7

Last publish

Collaborators

  • screwdriver
  • ifox