« Previous - Version 7/54 (diff) - Next » - Current version
Mark Donohoe, 12/06/2011 11:38 pm


Package Install Testing

Below is the list of VM systems that will be used to test 2.0 package testing:

  1. fed15.32
  2. fed15.64
  3. u10-043-32
  4. u10-043-64
  5. rhel6-132
  6. rhel6.1.64 (change name like the 32 bit version)
  7. unbuntu10.10
  8. ubun10.10.64
  9. ubun11.04.64
  1. squeze64

Setting up a slave node in Jenkins

Debian
  • install java2-runtime (sun version)
  • install deamon
  • download and install jenkins
    sudo apt-get install openjdk-6-jre openjdk-6-jre-headless daemon 
    sudo apt-get -f install, and answer yes
    

Stop Jenkins and reset jenkins user password.
need to set up ssh authorized key from fonightly.

RedHat based systems

  • download jenkins rpm wget
    http://pkg.jenkins-ci.org/redhat/RPMS/noarch/jenkins-1.424-1.1.noarch.rpm
  • install it: yum install jenkins
  • change jenkins to have a login: vipw /etc/passwd, change /bin/false to /bin/bash
  • change jenkins user password to 'jenkins'.
  • put jekins in sudo file (/etc/sudoers)
    jenkins ALL=NOPASSWD: ALL
  • something is messed up with starting postgres.... did it get installed correctly? It appears that it did, put jenkins is postres group to see if that will help.
    Nope. Ended up logging in as postgres (as root su postgres) and running this
    /usr/bin/postgres -D /var/lib/pgsql/data
    but other guides say to do this instead:
    service postgresql initdb
    ## OR ##
    /etc/init.d/postgresql initdb

and add this to /etc/sysconfig/iptables:

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5432 -j ACCEPT

now as jenkins sudo

/etc/init.d/postgresql start
works.