Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Docker executor for Sloth CI

Project Description
Run actions inside a `Docker <https://www.docker.com/>`__ image.

By default, Sloth CI apps run actions in a subprocess on the same machine they're running on. This extension overrides this and makes the app execute each action as a container inside a given Docker image.


Installation
------------

.. code-block:: bash

$ pip install sloth-ci.ext.docker_exec


Usage
-----

.. code-block:: yaml
:caption: docker_exec.yml

extensions:
run_in_docker:
# Use the module sloth_ci.ext.docker_exec.
module: docker_exec

# Image name. If missing, slug of the Sloth app listen point is used.
# image: foo

# Path to the Docker daemon to connect to. Can point to either a tcp URL or a unix socket. If missing, the client connects to /var/run/docker.sock.
# base_url: tcp://555.55.55.55:5555 *.

# Docker API version used on the server. If missing, the latest version is used.
# version: 1.10

# Path to the Dockerfile used to build an image if it doesn't exist. If missing, current directory is used.
# path_to_dockerfile: docker/files

# Memory limit in MB.
# memory_limit: 10

# CPU share in per cent.
# cpu_share: 5
Release History

Release History

This version
History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sloth_ci.ext.docker_exec-1.1.3-py3-none-any.whl (4.9 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Feb 21, 2016
sloth-ci.ext.docker_exec-1.1.3.win-amd64.exe (141.7 kB) Copy SHA256 Checksum SHA256 any Windows Installer Feb 21, 2016
sloth-ci.ext.docker_exec-1.1.3.zip (5.5 kB) Copy SHA256 Checksum SHA256 Source Feb 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting