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
devel:hudson [2010/07/09 13:58]
thomaska Update build triggers
devel:hudson [2012/09/27 13:38] (current)
morten remove implemented or obsolete ideas
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. 
   * Use LDAP for auth   * Use LDAP for auth
-  * Use metanav.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 
- 
  
devel/hudson.1278676715.txt.gz ยท Last modified: 2010/07/09 13:58 by thomaska