Green Tea is tool for automation testing (quality assurance). The tool is assembled from some projects and it is used as service. The service collects data from beaker's jobs, saves it to database and creates statistic for users.
Documentation you can find on project's github wiki
Easy way to run Green Tea is using docker https://registry.hub.docker.com/u/pajinek/greentea/
docker pull pajinek/greentea
docker run -i -t -p 80:8000 pajinek/greentea
If you test project with gained systems from Beaker, then you must fill Beaker's authentication values.
docker pull pajinek/greentea
docker run -i -t -p 80:8000 \
-e BEAKER_SERVER=<beaker_server> \
-e BEAKER_USER=<beaker_user> \
-e BEAKER_PASS=<beaker_pass> \
pajinek/greentea
or
git clone https://github.com/SatelliteQE/GreenTea.git
cd GreenTea
sudo docker build -t greentea .
sudo docker run -i -t -p 80:8000 \
-e BEAKER_SERVER=<beaker_server> \
-e BEAKER_USER=<beaker_user> \
-e BEAKER_PASS=<beaker_pass> \
greentea
Service runs on default port 80 (link on your system is http://localhost/)
login: admin password: pass
And system's root password is GreenTea!.
Basic information for first use you can find on public wiki wiki:start
Information about setting you find on wiki page wiki:setup
For managing of project is possible to use Ansible. Script contains tags deploy, update, stop, start and restart.
ansible-playbook -i config/hosts.ini deploy.yaml --tags "deploy" -v
Easer way is deploy project by docker by following script:
ansible-playbook -i config/hosts.ini docker.yaml