wangotaco-executor-nomad
v1.0.1
Published
Nomad Executor plugin for Screwdriver
Readme
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-nomadInitialization
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 testLicense
Code licensed under the BSD 3-Clause license. See LICENSE file for terms.
