summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INSTALL35
-rwxr-xr-xupdate_jdn.sh6
2 files changed, 15 insertions, 26 deletions
diff --git a/INSTALL b/INSTALL
index 7db8c7e4..7bab406c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -71,32 +71,11 @@ cd jenkins.debian.net
./update_jdn.sh
----
-'jenkins-job-builder' and 'vncdotool' are the only softwares which are not installed by packages and are not covered by this script.
+'vncdotool' is the only software which is not installed by packages and is not covered by this script.
-=== Installing jenkins-job-builder
+=== IRC notification configuration using kgb-client
-* backport python-jenkins 0.4.8-2 for jessie:
-** remove python3-unittest from build-depends
-** build
-* backport jenkins-job-builder 1.3.0-5 for jessie:
-** just build it.
-
-* We are working on using packages uploaded to jessie-backports.
-
-==== Using jenkins-job-builder
-
-'update_jdn.sh' takes care of this too, so this is just a quick run through. Make sure to also look at the upstream documentation at http://ci.openstack.org/jenkins-job-builder/
-
-* run `cd /srv/jenkins/job-cfg ; jenkins-job-builder update .` to update jobs
-* for testing: `cd /srv/jenkins/job-cfg ; rm test-output/ -r ; mkdir test-output ; jenkins-job-builder test . -o test-output/ ; ls test-output/`
-
-=== Installing kgb-client
-
-Rebuild the 'kgb-bot' source package from sid on whezzy and then install the 'kbg-client' package. Configuration is done through 'update_jdn.sh'.
-
-==== IRC notification configuration
-
-The jenkins jobs are configured to send email to 'jenkins+$IRC_CHANNEL' (like 'jenkins+debian-qa'), this is parsed by a script ('/srv/jenkins/bin/email2irc.sh') run through 'procmail' which then in turn notifies 'kgb-client', which notfies 'kgb-server'(s) on the internet, which are the bots notifying the IRC channels. 'kbg-client' needs to be '>= 1.24'.
+The jenkins jobs are configured to send email to 'jenkins+$IRC_CHANNEL' (like 'jenkins+debian-qa'), this is parsed by a script ('/srv/jenkins/bin/email2irc.sh') run through 'procmail' which then in turn notifies 'kgb-client', which notfies 'kgb-server'(s) on the internet, which are the bots notifying the IRC channels.
The Jenkins EMail notification plugin is used as its state tracking is best (and the Jenkins IRC plugin is way too powerful).
@@ -113,6 +92,14 @@ python setup.py install
link://munin-monitoring[Munin] is installed, running with link:https://jenkins.debian.net/munin/[jenkins plugins] not yet published elsewhere.
+=== Using jenkins-job-builder
+
+'update_jdn.sh' takes care of this too, so this is just a quick run through. Make sure to also look at the upstream documentation at http://ci.openstack.org/jenkins-job-builder/
+
+* run `cd /srv/jenkins/job-cfg ; jenkins-job-builder update .` to update jobs
+* for testing: `cd /srv/jenkins/job-cfg ; rm test-output/ -r ; mkdir test-output ; jenkins-job-builder test . -o test-output/ ; ls test-output/`
+
+
=== Backup
Currently only the configuration is backed up, but neither the jenkins results nor system logs. But that's at least sufficient to re-setup the system if needed.
diff --git a/update_jdn.sh b/update_jdn.sh
index e7dff64c..4e42aa3c 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -329,8 +329,10 @@ if [ -f /etc/debian_version ] ; then
sudo apt-get install -t jessie-backports linux-image-amd64
fi
# only needed on the main node
- if [ "$HOSTNAME" = "jenkins" ] ; then
- sudo apt-get install -t jessie-backports ffmpeg libav-tools
+ if [ "$HOSTNAME" = "jenkins-test-vm" ] ; then
+ sudo apt-get install -t jessie-backports jenkins-job-builder
+ elif [ "$HOSTNAME" = "jenkins" ] ; then
+ sudo apt-get install -t jessie-backports ffmpeg libav-tools jenkins-job-builder
fi
explain "packages installed."
else