Skip to main content

OpenVZ executor for Sloth CI

Project description

Run actions inside an `OpenVZ <http://openvz.org>`__ container.

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 actions inside a given OpenVZ container.


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

.. code-block:: bash

$ pip install sloth-ci.ext.openvz_exec


Usage
-----

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

extensions:
run_in_openvz:
# Use the sloth_ci.ext.openvz_exec module.
module: openvz_exec

# Container name.
container_name: foo

# Container ID.
# container_id: 123

If ``container_name`` is provided, ``container_id`` is ignored. If ``container_name`` is *not* provided, ``container_id`` is mandatory.

Project details


Download files

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

Files for sloth-ci.ext.openvz_exec, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size sloth_ci.ext.openvz_exec-1.0.5-py3-none-any.whl (4.0 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size sloth-ci.ext.openvz_exec-1.0.5.win-amd64.exe (140.5 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size sloth-ci.ext.openvz_exec-1.0.5.zip (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page