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.

Source Distribution

sloth-ci.ext.openvz_exec-1.0.5.zip (4.5 kB view hashes)

Uploaded Source

Built Distributions

sloth_ci.ext.openvz_exec-1.0.5-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

sloth-ci.ext.openvz_exec-1.0.5.win-amd64.exe (140.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page