INACTIVE - http://mzl.la/ghe-archive - GitHub dashboard for Firefox Test Engineering
Перейти к файлу
mozwebqabot 3bb05674a1 Adding data/marketplace_jobs_results.json for Mon Nov 10 02:15:04 PST 2014 2014-11-10 02:15:04 -08:00
css
data Adding data/marketplace_jobs_results.json for Mon Nov 10 02:15:04 PST 2014 2014-11-10 02:15:04 -08:00
img
js -Fixed bug that issues and label filters wouldn't show up on initial load. 2014-05-30 14:07:23 -07:00
templates -Fixed bug that issues and label filters wouldn't show up on initial load. 2014-05-30 14:07:23 -07:00
.gitignore
README.md
config.json
fabfile.py
generate_marketplace_dashboard_data.py
index.html
requirements.txt
setup.py
testsparser.py
update.sh

README.md

MozWebQA Dashboard

A little dashboard to keep a track of skips and xfails in our different projects

Basic Usage

Requirements

This project does not have any major requirements. The only requirement is Fabric if you choose the Fabric way of using this project. Otherwise, you don't even need that. The other way of using this project is using the Shell script that does the same thing the Fabric script does.

If you want to go the Fabric way, run:

pip install -r requirements.txt

Run It!

GH_USER=<Github Username> GH_PASS=<Github Password> fab parse_projects

or

GH_USER=<Github Username> GH_PASS=<Github Password> ./update.sh <path-to-project-repo>

Both the above scripts will clone all the projects in repos.txt and try to parse them using testsparser.py and pushes all the important information to the gh-pages branch of any repository so that you can serve this project using Github Pages.

Cron Setup

THe ideal setup would be to have the above scripts run via crontab. Setup a cronjob to run the above scripts so that they get executred periodically. Something like:

*/30 * * * * pushd <path to mozwebqa-dashboard> && GH_USER=<Github Username> GH_PASS=<Github Password> fab parse_projects && popd

or

*/30 * * * * pushd <path to mozwebqa-dashboard> && GH_USER=<Github Username> GH_PASS=<Github Password> ./update.sh . && popd

# or

*/30 * * * * GH_USER=<Github Username> GH_PASS=<Github Password> <path to mozwebqa-dashboard>/update.sh <path to mozwebqa-dashboard>

Adding More Projects

To add a new project to track, add the project's Github repository URL in a new line in repos.txt.