README
Taskotron-docker
----------------

Overview
--------

This docker-compose repository will build a production-like taskotron instance
for local testing. It will spin up 9 containers, with correct configurations.
The main points of interest are:

 - ExecDB (http://localhost:5003)
 - ResultsDB (http://localhost:5002)
 - BuildBot (http://localhost:8080)

It will listen to the Fedora FedMsg bus and run whatever tasks you have.

Getting Started
---------------

Make sure you have the following packages installed:

 - docker
 - docker-compose

Set up a place for your tasks to reside:

  mkdir ~/taskotron-tasks/

Place your task, or some production tasks [0] into that directory. These
will be available for taskotron-docker to run. As an example:

 git clone https://bitbucket.org/fedoraqa/task-rpmlint.git rpmlint

Once you've done that, go ahead and bring up the cluster.

 docker-compose up

Once this builds your cluster, you have to set up the databases.

 sh ./populate_dbs.sh

Now go to http://localhost:5003 or http://localhost:5002 and you're
all done! Use ctrl-c to stop your cluster (in the terminal you used
to bring the cluster up).