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
Last revision Both sides next revision
devel:hudson [2010/07/09 11:58]
thomaska Update build triggers
devel:hudson [2012/09/26 08:13]
bredal [Javascript Testing]
Line 31: Line 31:
  PGPASSWORD=s3cret  PGPASSWORD=s3cret
  CLASSPATH=/​usr/​share/​java/​libsnmp-1.4.jar  CLASSPATH=/​usr/​share/​java/​libsnmp-1.4.jar
 +
 +  * Hudson has no security enabled by default, so be sure to enable appropriate settings for your install.
  
 ===== Make install job ===== ===== Make install job =====
Line 36: Line 38:
   * New Job   * New Job
   * Name: make-install,​ 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://nav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
   * Build Triggers: Poll SCM schedule: * * * * *   * Build Triggers: Poll SCM schedule: * * * * *
   * Build: Execute shell   * Build: Execute shell
Line 51: Line 53:
   * New Job   * New Job
   * Name: createdb, 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://nav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
   * Build Triggers: After other: make-install   * Build Triggers: After other: make-install
   * Build env:   * Build env:
Line 67: Line 69:
   * New Job   * New Job
   * 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://nav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
   * Build Triggers: After other: make-install   * Build Triggers: After other: make-install
   * Build env:   * Build env:
Line 108: Line 110:
   * New Job   * New Job
   * Name: upgradedb, Type: freestyle   * Name: upgradedb, Type: freestyle
-  * SCM: mercurial repo: http://metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x+  * SCM: mercurial repo: http://nav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
   * Build Triggers: After other: createdb   * Build Triggers: After other: createdb
   * Build env:   * Build env:
  
  PGDATABASE=nav-$JOB_NAME  PGDATABASE=nav-$JOB_NAME
- OTHER_URL=http://​metanav.uninett.no/​hg/​series/​3.5.x/​+ OTHER_URL=http://​nav.uninett.no/​hg/​series/​3.5.x/​
  OTHER_FOLDER=$WORKSPACE/​3.5  OTHER_FOLDER=$WORKSPACE/​3.5
  UPGRADE_FILES=3.6.*.sql trunk.sql  UPGRADE_FILES=3.6.*.sql trunk.sql
Line 174: Line 176:
   * Test   * Test
  
 +===== Javascript Testing =====
 +  * Install Node Package Manager
 +
 +      apt-get install make python g++
 +      wget -N http://​nodejs.org/​dist/​node-latest.tar.gz
 +      tar xzvf node-latest.tar.gz && cd `ls -rd node-v*`
 +      ./configure
 +      make install
 +      ​
 +
 +  * ''​npm install -g buster''​
 +  * install Xvfb
 +  * ''​dbus-x11''​ maybe needed
 +  * install google chrome
 +    * Fetch correct package from https://​www.google.com/​intl/​en/​chrome/​browser/​
 +    * Install: ''​dpkg -i <​package>''​
 +    * Maybe you need some apt-fu: ''​apt-get install -f''​
 +  * install imagemagick (for screenshots)
 ===== Future ideas ===== ===== Future ideas =====
  
   * Hudson is currently only track adamcik/​testing as this branch has the required helpers, so as soon as this lands in default/​3.6.x Hudson should be updated to follow the correct repo.   * Hudson is currently only track adamcik/​testing as this branch has the required helpers, so as soon as this lands in default/​3.6.x Hudson should be updated to follow the correct repo.
   * Use LDAP for auth   * Use LDAP for auth
-  * Use metanav.uninett.no/​hudson as proxy (with SSL?)+  * Use nav.uninett.no/​hudson as proxy (with SSL?)
   * 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.
devel/hudson.txt · Last modified: 2012/09/27 11:38 by morten