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.
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
Built Distributions
Close
Hashes for sloth-ci.ext.openvz_exec-1.0.5.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3c6b44979afd186ddb519dfe6be360967ff6972e8d909aafbe0417db7046a43 |
|
MD5 | 659c7d8f5b4d5267f076e2e81219f9f2 |
|
BLAKE2b-256 | 8be900afa3b63d5a493b11a89b5f8724f3c19c5f7989fb94ac4addcd9eed7db4 |
Close
Hashes for sloth_ci.ext.openvz_exec-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 138c41e4ae907a572ee1a07228d85dde240f5426feb2ca51ef86e96cab02ca98 |
|
MD5 | 85f806204d85e388a8a0d34625bcae29 |
|
BLAKE2b-256 | b4f26871ae7a8c875535178d2a32e347035f1c7e5dee825fea72d109e49cc78b |
Close
Hashes for sloth-ci.ext.openvz_exec-1.0.5.win-amd64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75b87a379d0b7129790006038aba6b1c2e7a27531f944888532fb91a9c98913d |
|
MD5 | e8dee58a274e8e459ebd866d6f2f58d8 |
|
BLAKE2b-256 | 6b7b037085ce5ba183e24df9cfa9d90456958471bb05cf77fac141184afc635f |