User Tools

Site Tools


devel:hudson

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
devel:hudson [2010/07/09 11:55]
thomaska remove version.sh
devel:hudson [2010/07/09 12:17]
thomaska Note that virtualenv should be removed
Line 32: Line 32:
  CLASSPATH=/​usr/​share/​java/​libsnmp-1.4.jar  CLASSPATH=/​usr/​share/​java/​libsnmp-1.4.jar
  
-===== Create DB job =====+  * Hudson has no security enabled by default, so be sure to enable appropriate settings for your install. 
 + 
 +===== Make install ​job =====
  
   * New Job   * New Job
-  * Name: createdb, Type: freestyle+  * Name: make-install, Type: freestyle
   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
   * Build Triggers: Poll SCM schedule: * * * * *   * Build Triggers: Poll SCM schedule: * * * * *
-  * Build env: 
- 
- PGDATABASE=nav-$JOB_NAME 
- 
   * Build: Execute shell   * Build: Execute shell
  
- ./tests/​createdb-test.sh+ ./autogen.sh 
 + ./​configure --prefix="​$WORKSPACE/​build"​ 
 + make 
 + make install
  
   * Test build   * Test build
  
-===== Make install ​job =====+===== Create DB job =====
  
   * New Job   * New Job
-  * Name: make-install, Type: freestyle+  * Name: createdb, Type: freestyle
   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
-  * Build Triggers: ​Poll SCM schedule: * * * * *+  * Build Triggers: ​After othermake-install 
 +  ​Build env: 
 + 
 + PGDATABASE=nav-$JOB_NAME 
   * Build: Execute shell   * Build: Execute shell
  
- ./autogen.sh + ./tests/​createdb-test.sh
- ./​configure --prefix="​$WORKSPACE/​build"​ +
- make +
- make install+
  
   * Test build   * Test build
Line 68: Line 70:
   * Name: python-tests,​ Type: freestyle   * Name: python-tests,​ Type: freestyle
   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
-  * Build Triggers: After other: make-install, createdb+  * Build Triggers: After other: make-install
   * Build env:   * Build env:
  
Line 87: Line 89:
   * New Job   * New Job
   * Name: crawler-tests,​ Copy: python-tests   * Name: crawler-tests,​ Copy: python-tests
-  * Build Triggers: ​Poll SCM schedule* * * * *+  * Build Triggers: ​After othercreatedb
   * Build env:   * Build env:
  
Line 181: Line 183:
   * Perform schema diff of upgraded DB   * Perform schema diff of upgraded DB
   * Integrate new createdb script once written   * Integrate new createdb script once written
 +  * As a new version of seeddb is being created, the old version has been blacklisted from the html validation test. This needs to be undone once the new seeddb version is merged.
 +  * Use of virtualenv in bootstrap and the Hudson tests should be removed in favor of a nose version > 0.10 being installed on elixis.