ReferencePlatforms/Linux-CentOS-5.0: Difference between revisions

no edit summary
No edit summary
Line 660: Line 660:
== Buildbot Setup ==
== Buildbot Setup ==
The buildbot.tac file will automatically be generated to send the slave to the correct staging master (staging-master or sm-staging-try-master).
The buildbot.tac file will automatically be generated to send the slave to the correct staging master (staging-master or sm-staging-try-master).
=== try slave specific steps ===
rm -rf ~/.ssh/*  # gets rid of all moz builder ssh info
scp moz2-linux-slave51:/home/cltbld/.ssh/* .  # to copy trybld keys from a staging slave


Test that the slaves can ssh into required machines:
===Run the slave through staging===
ssh -i ~/.ssh/trybld_dsa trybld@stage.mozilla.org
see [[ReleaseEngineering:BuildSlaveSetup]]
ssh -i ~/.ssh/trybld_dsa trybld@build.mozilla.org
 
== switchover from staging to production ==
* add slaves to [http://hg.mozilla.org/build/buildbot-configs/file/tip/mozilla2/config.py buildbot-configs/mozilla2/config.py], get review, land, update masters
* stop slave process
* switchover the .ssh keys to use production keys
* manually ssh to the production machines listed below and enter "yes" to the question about accepting the machine signature
# production
ssh -i ~/.ssh/ffxbld_dsa ffxbld@aus2-staging.mozilla.org
ssh -i ~/.ssh/ffxbld_dsa ffxbld@dm-symbolpush01.mozilla.org
ssh -i ~/.ssh/ffxbld_dsa ffxbld@stage.mozilla.org
ssh -i ~/.ssh/ffxbld_dsa ffxbld@stage-old.mozilla.org
ssh -i ~/.ssh/ffxbld_dsa ffxbld@hg.mozilla.org
ssh -i ~/.ssh/ffxbld_dsa ffxbld@cvs.mozilla.org
* edit /builds/slave/buildbot.tac to change "staging-master" to "production-master" or "production-master02".
* clobber all build trees on slave
* start slave process
Confirmed users
1,377

edits