Screwdriver Nomad Executor
Nomad Executor plugin for Screwdriver
This is an executor for the Screwdriver continuous delivery solution that interacts with Nomad.
Usage
npm install screwdriver-executor-nomad
Initialization
The class provides a couple options that are configurable in the instantiation of this Executor
Parameter | Type | Default | Description |
---|---|---|---|
config | Object | Configuration Object | |
config.nomad | Object | {} | Nomad configuration Object |
config.nomad.host | String | 'nomad.defaults' | The hostname for the Nomad cluster (nomad) |
config.nomad.token | String | '' | The JWT token used for authenticating to the Nomad cluster. |
config.launchVersion | String | 'stable' | Launcher container version to use (stable) |
config.prefix | String | '' | Prefix to container names ("") |
config.nomad.resources.memory.high | Number | 4096 | Value for HIGH memory (in MB) |
config.nomad.resources.cpu.high | Number | 600 | Value for HIGH CPU (in Mhz) |
Methods
For more information on start
, stop
, and stats
please see the [executor-base-class].
Testing
npm test
License
Code licensed under the BSD 3-Clause license. See LICENSE file for terms.