summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO2
-rwxr-xr-xbin/d-i_build.sh5
-rw-r--r--d-i.yaml248
-rw-r--r--job-cfg/d-i.yaml6
4 files changed, 256 insertions, 5 deletions
diff --git a/TODO b/TODO
index 2baa8618..febfd25b 100644
--- a/TODO
+++ b/TODO
@@ -14,6 +14,7 @@ ToDo for jenkins.debian.net
== General ToDo
+* support for gitweb in jobs
* get rid of some reduncacy in job-cfg/*.yaml and also fix the FIXMEs there
* add documentation for jenkins-job-builder and send pull requests on github:
** publisher:logparse
@@ -33,6 +34,7 @@ ToDo for jenkins.debian.net
* notify debian-boot@l.d.o and #debian-boot about jenkins jobs results
* run scripts/digress/
* bubulle wrote: "Another interesting target would be d-i builds *including non uploaded packages* (something like "d-i from git repositories" images). That would in some way require to create a quite specific image, with all udebs (while netboot only has udebs needed before one gets a working network setup).
+* check if there are new languages for the manual and remind to create jobs
=== Test cd-images:
diff --git a/bin/d-i_build.sh b/bin/d-i_build.sh
index 73e39b27..4f786df1 100755
--- a/bin/d-i_build.sh
+++ b/bin/d-i_build.sh
@@ -20,9 +20,10 @@ init_workspace() {
rm -fv *.deb *.udeb *.dsc *_*.build *_*.changes *_*.tar.gz
#
- # svn checkout and update is done by jenkins job
+ # git clone and pull is done by jenkins job
#
- svn status
+ git config -l
+ git status
}
pdebuild_package() {
diff --git a/d-i.yaml b/d-i.yaml
new file mode 100644
index 00000000..07faea9a
--- /dev/null
+++ b/d-i.yaml
@@ -0,0 +1,248 @@
+- defaults:
+ name: d-i
+ project-type: freestyle
+ logrotate:
+ daysToKeep: 90
+ numToKeep: 50
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+ properties:
+ - sidebar:
+ url: http://jenkins.debian.net/userContent/about.html
+ text: About jenkins.debian.net
+ icon: /userContent/images/debian-swirl-24x24.png
+ - sidebar:
+ url: http://jenkins.debian.net/view/debian-installer/
+ text: All debian-installer jobs
+ icon: /userContent/images/debian-jenkins-24x24.png
+ - sidebar:
+ url: http://www.profitbricks.com
+ text: Sponsored by Profitbricks
+ icon: /userContent/images/profitbricks-24x24.png
+
+- defaults:
+ name: d-i-manual
+ project-type: freestyle
+ logrotate:
+ daysToKeep: 90
+ numToKeep: 50
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+ properties:
+ - sidebar:
+ url: http://jenkins.debian.net/userContent/about.html
+ text: About jenkins.debian.net
+ icon: /userContent/images/debian-swirl-24x24.png
+ - sidebar:
+ url: http://jenkins.debian.net/view/debian-installer/
+ text: All debian-installer jobs
+ icon: /userContent/images/debian-jenkins-24x24.png
+ - sidebar:
+ url: http://www.profitbricks.com
+ text: Sponsored by Profitbricks
+ icon: /userContent/images/profitbricks-24x24.png
+ description: 'Builds the {languagename} html version of the installation-guide for all architectures. Triggered by SVN commits to <pre>svn://svn.debian.org/svn/d-i/trunk/manual/{lang}/<pre> {do_not_edit}'
+ scm:
+ - svn:
+ url: svn://svn.debian.org/svn/d-i/trunk
+ basedir: .
+ workspaceupdater: update
+ includedRegions: '/trunk/manual/{lang}/.*'
+ excludedRegions: ''
+ excludedUsers: ''
+ excludedRevprop: ''
+ excludedCommitMessages: ''
+ viewvc-url: http://anonscm.debian.org/viewvc/d-i/trunk
+ builders:
+ - shell: '/srv/jenkins/bin/d-i_manual.sh {lang}'
+ triggers:
+ - pollscm: "*/30 * * * *"
+ publishers:
+ - logparser:
+ rulespath: '/srv/jenkins/logparse/debian.rules'
+ unstable_on_warning: 'true'
+ fail_on_error: 'true'
+ - htmlpublisher:
+ name: 'Installation guides with LANG={lang}'
+ directory: 'html'
+ indexfiles: ''
+ keepall: False
+ - email:
+ recipients: holger@layer-acht.org
+
+- defaults:
+ name: d-i-build
+ project-type: freestyle
+ logrotate:
+ daysToKeep: 90
+ numToKeep: 50
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+ properties:
+ - sidebar:
+ url: http://jenkins.debian.net/userContent/about.html
+ text: About jenkins.debian.net
+ icon: /userContent/images/debian-swirl-24x24.png
+ - sidebar:
+ url: http://jenkins.debian.net/view/debian-installer/
+ text: All debian-installer jobs
+ icon: /userContent/images/debian-jenkins-24x24.png
+ - sidebar:
+ url: http://www.profitbricks.com
+ text: Sponsored by Profitbricks
+ icon: /userContent/images/profitbricks-24x24.png
+ description: 'Builds debian packages in sid from git master branch, triggered by pushes to <pre>{gitrepo}</pre> {do_not_edit}'
+ scm:
+ - git:
+ url: '{gitrepo}'
+ branches:
+ - master
+ builders:
+ - shell: '/srv/jenkins/bin/d-i_build.sh'
+ triggers:
+ - pollscm: "*/6 * * * *"
+ publishers:
+ - logparser:
+ rulespath: '/srv/jenkins/logparse/debian.rules'
+ unstable_on_warning: 'true'
+ fail_on_error: 'true'
+ - email:
+ recipients: holger@layer-acht.org
+
+
+- job-template:
+ defaults: d-i
+ name: '{name}_manual'
+ description: 'Builds the installation-guide package. Triggered by SVN commits to <pre>svn://svn.debian.org/svn/d-i/trunk/manual/debian/</pre> {do_not_edit}'
+ # FIXME see below, other directories should trigger too
+ scm:
+ - svn:
+ url: svn://svn.debian.org/svn/d-i/trunk
+ basedir: .
+ workspaceupdater: update
+ includedRegions: '{include}'
+ excludedRegions: ''
+ excludedUsers: ''
+ excludedRevprop: ''
+ excludedCommitMessages: ''
+ viewvc-url: http://anonscm.debian.org/viewvc/d-i/trunk
+ builders:
+ - shell: '/srv/jenkins/bin/d-i_manual.sh'
+ triggers:
+ - pollscm: "*/30 * * * *"
+ publishers:
+ - email:
+ recipients: holger@layer-acht.org
+
+- job-template:
+ defaults: d-i
+ name: '{name}_parse_build_logs'
+ description: 'Parses d-i build logs daily. {do_not_edit}'
+ builders:
+ - shell: '/srv/jenkins/bin/d-i_parse_logs.sh http://d-i.debian.org/daily-images/build-logs.html'
+ triggers:
+ - timed: "0 5 * * *"
+ publishers:
+ - logparser:
+ rulespath: '/srv/jenkins/logparse/debian.rules'
+ unstable_on_warning: 'true'
+ fail_on_error: 'true'
+ - htmlpublisher:
+ name: 'Daily d-i build logs'
+ directory: '.'
+ indexfiles: 'build-logs.html'
+ keepall: True
+ - email:
+ recipients: holger@layer-acht.org
+
+- job-template:
+ defaults: d-i
+ name: '{name}_check_jenkins_jobs'
+ description: 'Checks daily for missing jenkins jobs. {do_not_edit}'
+ builders:
+ - shell: '/srv/jenkins/bin/d-i_check_jobs.sh'
+ triggers:
+ - pollscm: "23 0 * * *"
+ publishers:
+ - logparser:
+ rulespath: '/srv/jenkins/logparse/debian.rules'
+ unstable_on_warning: 'true'
+ fail_on_error: 'true'
+ - email:
+ recipients: holger@layer-acht.org
+
+- job-template:
+ defaults: d-i-manual
+ name: '{name}_manual_ca'
+- job-template:
+ defaults: d-i-manual
+ name: '{name}_manual_cs'
+- job-template:
+ defaults: d-i-manual
+ name: '{name}_manual_de'
+- job-template:
+ defaults: d-i-manual
+ name: '{name}_manual_en'
+- job-template:
+ defaults: d-i-manual
+ name: '{name}_manual_eu'
+- job-template:
+ defaults: d-i-manual
+ name: '{name}_manual_fr'
+- job-template:
+ defaults: d-i-manual
+ name: '{name}_manual_it'
+- job-template:
+ defaults: d-i-manual
+ name: '{name}_manual_po'
+- job-template:
+ defaults: d-i-manual
+ name: '{name}_manual_pt_BR'
+
+- job-template:
+ defaults: d-i-build
+ name: '{name}_build_aboot-installer'
+- job-template:
+ defaults: d-i-build
+ name: '{name}_build_anna'
+
+- project:
+ name: d-i
+ do_not_edit: '<br><br>Configured by <a href="http://jenkins.debian.net/userContent/about.html">jenkins-job-builder</a>, do not edit this job through the web UI.'
+ jobs:
+ - '{name}_parse_build_logs'
+ - '{name}_check_jenkins_jobs'
+ - '{name}_manual':
+ include: '/trunk/manual/debian/.*'
+ # FIXME: misses: scripts doc build
+ - '{name}_manual_ca':
+ lang: 'ca'
+ languagename: 'Catalan'
+ - '{name}_manual_cs':
+ lang: 'cs'
+ languagename: 'Czech'
+ - '{name}_manual_de':
+ lang: 'de'
+ languagename: 'German'
+ - '{name}_manual_en':
+ lang: 'en'
+ languagename: 'English'
+ - '{name}_manual_eu':
+ lang: 'eu'
+ languagename: 'Basque'
+ - '{name}_manual_fr':
+ lang: 'fr'
+ languagename: 'French'
+ - '{name}_manual_it':
+ lang: 'it'
+ languagename: 'Italian'
+ - '{name}_manual_po':
+ lang: 'po'
+ languagename: 'Polish'
+ - '{name}_manual_pt_BR':
+ lang: 'pt_BR'
+ languagename: 'Brazilian Portuguese'
+ - '{name}_build_aboot-installer':
+ gitrepo: 'git://git.debian.org/git/d-i/aboot-installer'
+ - '{name}_build_anna':
+ gitrepo: 'git://git.debian.org/git/d-i/anna'
diff --git a/job-cfg/d-i.yaml b/job-cfg/d-i.yaml
index 31e85887..533424b3 100644
--- a/job-cfg/d-i.yaml
+++ b/job-cfg/d-i.yaml
@@ -92,12 +92,12 @@
text: Sponsored by Profitbricks
icon: /userContent/images/profitbricks-24x24.png
description: 'Builds debian packages in sid from git master branch, triggered by pushes to <pre>{gitrepo}</pre> {do_not_edit}'
+ # FIXME: gitweb is missing
scm:
- - git:
+ -git:
url: {gitrepo}
branches:
- - master
- #FIXME viewvc-url: http://anonscm.debian.org/viewvc/d-i/trunk
+ - master
builders:
- shell: '/srv/jenkins/bin/d-i_build.sh'
triggers: