ReleaseEngineering/How To/Reset the Try Server: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 7: Line 7:
* File IT bug to  
* File IT bug to  
** delete [http://hg.mozilla.org/try the try server hg repo]
** delete [http://hg.mozilla.org/try the try server hg repo]
*** Before you do this, save the hgrc (/repo/hg/mozilla/try/hgrc). You'll have to put the hooks back and this will help.
***rm -rf /repo/hg/mozilla/try
***rm -rf /repo/hg/mozilla/try
**** (Alternatively, move the try repo away so you have a backup till everything is verified as working)
** create a fresh new hg repo cloned from mozilla-central
** create a fresh new hg repo cloned from mozilla-central
***su - hg
***su - hg
***cd /repo/hg/mozilla
***cd /repo/hg/mozilla
***hg clone mozilla-central try
***hg clone -U mozilla-central try
** create an empty pushlog db.
** create an empty pushlog db.
***su - hg
***su - hg
Line 26: Line 28:
***cd /repo/hg/mozilla/
***cd /repo/hg/mozilla/
***chown -R hg:hg_mozilla try
***chown -R hg:hg_mozilla try
** typically this is done by aravind
**Reset the varnish cache
***Login to dm-vcview04
***unmount /mnt/tmp_try && mount /mnt/tmp_try
***cp -a /repo/hg/mozilla/try /mnt/tmp_try/
***cp -f /repo/hg/scripts/try_clone.hgrc /mnt/tmp_try/try/.hg/hgrc
***chown -R hg:scm_level_1 /mnt/tmp_try/try
***service httpd restart
***service varnish restart
* RelEng to remove message from tinderbox server.  
* RelEng to remove message from tinderbox server.  


[RelEng no longer needs to push 1.9.1 and 1.9.2 to try, since we don't support those branches; and doesn't need to reconfig any masters to get the hg polling working again.]
[RelEng no longer needs to push 1.9.1 and 1.9.2 to try, since we don't support those branches; and doesn't need to reconfig any masters to get the hg polling working again.]
canmove, Confirmed users, Bureaucrats and Sysops emeriti
87

edits

Navigation menu