d2lam / test

Docker Swarm Executor for Screwdriver

Home Page:https://beta.cd.screwdriver.cd/pipelines/272

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Executor 2

Version Downloads Build Status Open Issues Dependency Status License

Docker Executor for Screwdriver

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

Usage

npm install screwdriver-executor-docker

Initialization

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

Parameter Type Description
config Object Configuration Object
config.docker Object Dockerode configuration
config.ecosystem Object Screwdriver Ecosystem (ui, api, store, etc.)
config.fusebox Object Circuit Breaker configuration
config.launchVersion String Launcher container version to use (stable)
config.prefix String Prefix to container names ("")
const executor = new DockerExecutor({
    docker: {
        socketPath: '/var/lib/docker.sock'
    },
    launchVersion: 'stable'
});

Methods

For more information on start, stop, and stats please see the executor-base.

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

About

Docker Swarm Executor for Screwdriver

https://beta.cd.screwdriver.cd/pipelines/272

License:Other


Languages

Language:JavaScript 100.0%