Skip to main content

Tool to manage execution of automated tests jobs

Project description



Rocinante depends on a working installation of Python 3.7 (or above), and Docker.

Installing Python

If you don’t have Python 3 installed on your machine yet, you can obtain it by reading the official installation instructions.

To verify your installation, you can try the following commands in your terminal, and ensure that your versions are equivalent to or higher than those in the output below:

> python3 --version
Python 3.7.3
> pip3 --version
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)

Notes about installing on virtual machines provided by the Blu

At the moment, the configuration of the virtual machines provided by the Blu require Python 3.7 to be built manually before installing.

Thus, the following commands must be executed:

sudo apt-get install curl zlib1g-dev libssl-dev libffi-dev libreadline-dev libexpat-dev software-properties-common
curl -O
tar xvf Python-3.7.4.tgz
cd Python-3.7.4
./configure --prefix=/usr           \
            --enable-shared         \
            --with-system-expat     \
            --with-system-ffi       \
            --with-ensurepip=yes    \
sudo mkdir /usr/lib/python3.7/site-packages/
sudo mkdir /usr/lib/python3.7/dist-packages/
sudo ln -s /usr/share/pyshared/ /usr/lib/python3.7/site-packages/
sudo ln -s /usr/lib/python3/dist-packages/softwareproperties/ /usr/lib/python3.7/dist-packages/
sudo make install
sudo chmod -v 755 /usr/lib/
sudo chmod -v 755 /usr/lib/
curl -o
sudo python3 --no-setuptools --no-wheel
sudo pip3 install --upgrade pip
sudo pip3 install rocinante

This might take a looooong time, go grab a coffee.

Installing Docker

Docker provides official installation guides for each operating system.

Installing Rocinante

As soon as the dependencies are correctly installed, Rocinante can be installed using pip:

pip3 install rocinante

Configuring Rocinante

Rocinante requires a configuration file, in order to know how to receive jobs from RabbitMQ, and how to download moulinettes from the intranet.

  "rabbitmq": {
    "host": "rabbitmq.etna.local",
    "port": 5671,
    "username": "some_user_name",
    "password": "some_password",
    "virtual_host": "some_virtual_host"
  "config": {
    "intra_user": "some_user_name",
    "intra_password": "some_password",
    "gitlab_token": "aC0MpL1c4T3DT0kEn"

The path to this file must be given using the -c / --config-file switch.

Running multiple instances

Multiple instances of Rocinante can be executed simultaneously on the same machine. For that, the -r / --root-dir switch must be used to specify a custom root directory for each instance.

For example, the first instance could be started with the following command:

> rocinante --config-file /etc/rocinante/config.json --root-dir /var/run/rocinante1

Whereas the second instance would be launched like so:

> rocinante --config-file /etc/rocinante/config.json --root-dir /var/run/rocinante2

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 rocinante, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size rocinante-1.0.5-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page