No description, website, or topics provided.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
job_runner_ws_server
scripts
.gitignore
LICENSE
MANIFEST.in
Makefile
README.rst
requirements.txt
setup.py
test-requirements.txt

README.rst

Job-Runner WebSocket Server

The WebSocket Server for the Job-Runner is a broadcaster for incoming events published by the Job-Runner Workers. It's purpose is to collect events from all available Job-Runner Workers and distribute these events to all the connected WebSocket clients.

Installation

Requirements (depending on your distro, the naming might be a bit different):

  • python-dev
  • build-essential
  • libevent-dev

Then install this package by executing python setup.py install or python setup.py develop (for development). In the latter, you might want to install the testing requirements by executing pip install -r test-requirements.txt.

See the getting started section in the Job-Runner documentation ( in the job-runner repo) for setting up the whole project.

Usage

The usage of the job_runner_ws_server executable is:

usage: job_runner_ws_server [-h] [--events-port EVENTS_PORT]
                            [--ws-port WS_PORT]
                            [--log-level {debug,info,warning,error}]

Job-Runner WebSocket Server

optional arguments:
  -h, --help            show this help message and exit
  --events-port EVENTS_PORT
                        The port to receive (worker) events on (default: 5555)
  --ws-port WS_PORT     The port for the WebSocket server (default: 5000)
  --log-level {debug,info,warning,error}
                        The log-level for logging (default: info)

Changes

v1.0.0

  • Deployar related changes.

v0.5.0

  • Initial release.