This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
devel:hudson [2010/07/09 12:17] thomaska Note that virtualenv should be removed |
devel:hudson [2012/08/22 14:22] bredal [Javascript Testing] |
||
---|---|---|---|
Line 38: | 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 53: | 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 69: | 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 110: | 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 176: | 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 | ||
+ | * 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'' | ||
===== 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. | * 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. | * Use of virtualenv in bootstrap and the Hudson tests should be removed in favor of a nose version > 0.10 being installed on elixis. | ||
- | |||
- |