User Tools

Site Tools


dev:testing:buildbot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:testing:buildbot [2011/03/13 22:07] dbsdev:testing:buildbot [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 3: Line 3:
 [[http://buildbot.net|buildbot]] is a continuous integration server that checks the quality of the OpenSRF and Evergreen build trees after every commit. [[http://buildbot.net|buildbot]] is a continuous integration server that checks the quality of the OpenSRF and Evergreen build trees after every commit.
  
-The build results are visible at http://testing.evergreen-ils.org/buildbot+The build results are visible at http://testing.evergreen-ils.org/buildbot/
  
 ===== Setting up the buildbot master ===== ===== Setting up the buildbot master =====
  
-  - easy_install buildbot  (note that some patches are necessary for improved pylint support) +  - Install buildbot prereqs: http://buildbot.net/buildbot/docs/current/manual/installation.html 
-    - Create the buildmaster (skip this if you're just setting up a build slave): +  - Install buildbot with ''easy_install buildbot''  (note that some patches are necessary for improved pylint support) 
-    - adduser buildmaster +  - Create the buildmaster (skip this if you're just setting up a build slave): 
-    - su - buildmaster +    - ''adduser buildmaster'' 
-    - buildbot create-master +    - ''su - buildmaster'' 
-    - cp OpenSRF/examples/buildbot.cfg /home/buildmaster/master.cfg +    - Initialize the buildmaster directory (where //opensrf-build// represents the directory of the build instance): ''buildbot create-master'' //opensrf-build// 
-    - set slavePortnum +    - ''cp OpenSRF/examples/buildbot.cfg /home/buildmaster/opensrf-build/master.cfg'' 
-    - buildbot start+    - ''set slavePortnum'' 
 + 
 + 
 +===== Starting the buildbot master ===== 
 + 
 +To start the buildbot master: 
 + 
 +    - ''su - buildmaster'' 
 +    - Start the build instance, where //opensrf-build// represents the build directory: ''buildbot start'' //opensrf-build// 
  
 ===== Setting up the buildbot slave ===== ===== Setting up the buildbot slave =====
Line 30: Line 39:
 ==== Steps ==== ==== Steps ====
  
-  - Install ''subversion'' - it's a prerequisite for actually running the builds once the slave is up and running.+  - Install ''git'' - it's a prerequisite for actually running the builds once the slave is up and running.
   - Download OpenSRF.   - Download OpenSRF.
     - (//OpenSRF buildslave//): Just install the prerequisites from OpenSRF's Makefile.install to satisfy build dependencies.     - (//OpenSRF buildslave//): Just install the prerequisites from OpenSRF's Makefile.install to satisfy build dependencies.
Line 40: Line 49:
     - adduser openslave     - adduser openslave
     - su - openslave     - su - openslave
-    - buildslave create-slave opensrf-slave localhost:9999 opensrf-slave XXX+    - buildslave create-slave opensrf-slave localhost:<port-number> opensrf-slave <password>
     - Edit ''opensrf-slave/info/admin'' and change the administrator name / email address to your own     - Edit ''opensrf-slave/info/admin'' and change the administrator name / email address to your own
     - buildslave start opensrf-slave     - buildslave start opensrf-slave
dev/testing/buildbot.1300068466.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.