1.1.1 • Published 8 years ago

screwdriver-executor-s3m v1.1.1

Weekly downloads
11
License
BSD-3-Clause
Repository
github
Last release
8 years ago

Docker Swarm Executor

Version Downloads Build Status Open Issues Dependency Status License

Docker Swarm Executor for Screwdriver

This is an executor for the Screwdriver CD solution that interacts with Docker Swarm (and Docker locally).

Usage

npm install screwdriver-executor-s3m

Initialization

The class has a variety of knobs to tweak when interacting with your Swarm instance.

ParameterTypeDescription
configObjectConfiguration Object
config.dockerObjectDockerode configuration
config.ecosystemObjectScrewdriver Ecosystem (ui, api, store, etc.)
config.fuseboxObjectCircuit Breaker configuration
config.launchVersionStringLauncher container version to use (stable)
const executor = new S3mExecutor({
    docker: {
        socketPath: '/var/lib/docker.sock'
    },
    launchVersion: 'stable'
});

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.