ReleaseEngineering/Applications/Tegra Dashboard: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (Created page with "packages installed after VM setup: rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm yum install hg yum install python26 Required crontab:...")
 
mNo edit summary
 
Line 1: Line 1:
packages installed after VM setup:
== Application Description ==
Tegra Dashboard is a static html page generated by cronjob.  It gathers all of the tegra status files (which are sent to it by each foopy) and builds the page that is found at mobile-dashboard1.build.mtv1.mozilla.com/tegras/


rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
== Requirements ==
The server depends on
* Python 2.6


yum install hg
== External Resources ==
yum install python26
Tegra dashboard uses data pulled from two json files found in http://hg.mozilla.org/build/tools
* tools/buildfarm/mobile/tegras.json
* tools/buildfarm/maintenance/production-masters.json


Required crontab:
== Security ==
None - it's a static page


*/5 * *  *  *  python2.6 /var/www/tegras/dashboard.py
== Monitoring ==
None currently


Setting up of the tegra dashboard:
== Deployment ==
The script and generated html is deployed on a single host, <tt>mobile-dashboard1.build.mtv1.mozilla.com</tt>.


cd /var/www/
=== Server Setup ===
mkdir tegras
IT installed RHEL6
cd html
 
ln -s /var/www/tegras .
The following system packages were installed via yum:
cd ../tegras
* http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm (for EPEL packages; use --nogpgcheck)
hg clone http://hg.mozilla.org/build/tools
* hg
ln -s tools/buildfarm/mobile/tegras.json .
* python26
ln -s tools/buildfarm/maintenance/production-masters.json .

Latest revision as of 17:25, 14 February 2012

Application Description

Tegra Dashboard is a static html page generated by cronjob. It gathers all of the tegra status files (which are sent to it by each foopy) and builds the page that is found at mobile-dashboard1.build.mtv1.mozilla.com/tegras/

Requirements

The server depends on

  • Python 2.6

External Resources

Tegra dashboard uses data pulled from two json files found in http://hg.mozilla.org/build/tools

  • tools/buildfarm/mobile/tegras.json
  • tools/buildfarm/maintenance/production-masters.json

Security

None - it's a static page

Monitoring

None currently

Deployment

The script and generated html is deployed on a single host, mobile-dashboard1.build.mtv1.mozilla.com.

Server Setup

IT installed RHEL6

The following system packages were installed via yum: