https://github.com/screwdriver-cd/executor-queue
Executor plugin for Screwdriver using Resque
https://github.com/screwdriver-cd/executor-queue
Last synced: 11 months ago
JSON representation
Executor plugin for Screwdriver using Resque
- Host: GitHub
- URL: https://github.com/screwdriver-cd/executor-queue
- Owner: screwdriver-cd
- License: other
- Created: 2017-08-03T23:15:24.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-09-25T04:25:54.000Z (over 1 year ago)
- Last Synced: 2024-11-29T16:43:21.404Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://cd.screwdriver.cd/pipelines/571
- Size: 144 KB
- Stars: 0
- Watchers: 21
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Executor Queue
[![Version][npm-image]][npm-url] ![Downloads][downloads-image] [![Build Status][status-image]][status-url] [![Open Issues][issues-image]][issues-url] ![License][license-image]
> 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](https://github.com/screwdriver-cd/executor-docker) and [executor-k8s](https://github.com/screwdriver-cd/executor-k8s) will process jobs from this queue.
## Usage
```bash
$ npm install screwdriver-executor-queue
```
### Interface
It will initialize a connection to [node-resque](https://github.com/taskrabbit/node-resque) with the provided connection details. You can optionally pass in [circuit-fuses](https://github.com/screwdriver-cd/circuit-fuses) breaker options.
Configuration for any executors must be given directly to the [workers](https://github.com/screwdriver-cd/queue-worker) that read from the queue.
**Example executor yaml section:**
```yaml
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
```bash
$ npm install
$ npm test
```
## License
Code licensed under the BSD 3-Clause license. See [LICENSE](./LICENSE) file for terms.
[npm-image]: https://img.shields.io/npm/v/screwdriver-executor-queue.svg
[npm-url]: https://npmjs.org/package/screwdriver-executor-queue
[downloads-image]: https://img.shields.io/npm/dt/screwdriver-executor-queue.svg
[license-image]: https://img.shields.io/npm/l/screwdriver-executor-queue.svg
[issues-image]: https://img.shields.io/github/issues/screwdriver-cd/executor-queue.svg
[issues-url]: https://github.com/screwdriver-cd/executor-queue/issues
[status-image]: https://cd.screwdriver.cd/pipelines/571/badge
[status-url]: https://cd.screwdriver.cd/pipelines/571