ReferencePlatforms/How To/Setup a New Reference Platform: Difference between revisions

Line 34: Line 34:


* testing machines and each type of build need graph server changes
* testing machines and each type of build need graph server changes
** You can insert graph changes by logging to slavealloc
** graph server work needs to be run on staging (graphs_mozilla_org_new) and production (graphs_stage2_prod) graph server
** need to land changes to 'sql/data.sql' on the default branch of http://hg.mozilla.org/graphs (to match your inserts).
** need to land changes to 'sql/data.sql' on the default branch of http://hg.mozilla.org/graphs (to match your inserts).
** If this is a new build platform, make sure that graph server knows about the build platform
** If this is a new build platform, make sure that graph server knows about the build platform
*** insert a machine name like %OS%_%branch% (e.g. "WINNT_5.2_mozilla-central" and "WINNT_5.2_mozilla-central_leak_test")
*** insert a machine name like %OS%_%branch% (e.g. "WINNT_5.2_mozilla-central" and "WINNT_5.2_mozilla-central_leak_test")


For example:
We don't have access to update the graph server anymore.  You need to open a bug with the database operations team https://bugzilla.mozilla.org/enter_bug.cgi?product=Data%20%26%20BI%20Services%20Team&component=Database%20Operations to add them. This is an example {{bug||1131072}} of such a request.
<pre>
start transaction;
insert into os_list values (null, "WINNT 6.2 x64");
SET @lastid = LAST_INSERT_ID();
insert into machines values (null, @lastid, 0, "2.67", "t-w864-ix-001", 1, unix_timestamp());
insert into machines values (null, @lastid, 0, "2.67", "t-w864-ix-002", 1, unix_timestamp());
commit;
</pre>


NOTE: If you inadvertently add an incorrect entry to the graph database, it is best to remove that entry so it doesn't appear as an option on this page, for example: http://graphs.mozilla.org/graph.html
NOTE: If you inadvertently add an incorrect entry to the graph database, it is best to remove that entry so it doesn't appear as an option on this page, for example: http://graphs.mozilla.org/graph.html
Confirmed users
1,989

edits