1.0.1 • Published 7 years ago

wangotaco-executor-nomad v1.0.1

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
7 years ago

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

ParameterTypeDefaultDescription
configObjectConfiguration Object
config.nomadObject{}Nomad configuration Object
config.nomad.hostString'nomad.defaults'The hostname for the Nomad cluster (nomad)
config.nomad.tokenString''The JWT token used for authenticating to the Nomad cluster.
config.launchVersionString'stable'Launcher container version to use (stable)
config.prefixString''Prefix to container names ("")
config.nomad.resources.memory.highNumber4096Value for HIGH memory (in MB)
config.nomad.resources.cpu.highNumber600Value 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.