X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=28215522a5e3050f254e8ba6f1801fb4c0947793;hb=0a9d9a7427fa05cd8039c39e49aeeb9e76257b49;hp=5e03d505524f2f180e1579cc454c704b60099e5c;hpb=339db64deb6166da36acf80b3a74e675c3ea03ad;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 5e03d50..2821552 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -9,9 +9,6 @@ project-type: freestyle - logrotate: - numToKeep: 2 - wrappers: - workspace-cleanup - timestamps @@ -27,13 +24,15 @@ shallow-clone: true skip-tag: true fastpoll: true - basedir: lttng-modules + basedir: src/lttng-modules triggers: - pollscm: cron: "@hourly" properties: + - build-discarder: + num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} @@ -60,7 +59,7 @@ target: 'deps/linux' do-not-fingerprint: true - shell: | - git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux + git clone --depth=1 -b "v{kversion}" --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux - shell: !include-raw-escape: scripts/lttng-modules/build.sh @@ -91,7 +90,7 @@ description: 'The lttng-modules branch to build.' - string: name: 'maxConcurrentBuild' - default: '4' + default: '20' description: 'The maximum number of concurrent child build to run.' - string: name: 'kverfloor' @@ -99,7 +98,7 @@ description: 'The lowest kernel version to build.' - string: name: 'kgitrepo' - default: 'git://artifacts.internal.efficios.com/git/linux-stable.git' + default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git' description: 'The linux kernel git repository url.' - string: name: 'kbuildjob' @@ -135,7 +134,7 @@ description: 'The lttng-modules branch to build.' - string: name: 'maxConcurrentBuild' - default: '4' + default: '20' description: 'The maximum number of concurrent child build to run.' - string: name: 'uversion' @@ -143,7 +142,7 @@ description: 'The lowest kernel version to build.' - string: name: 'kgitrepo' - default: 'git://artifacts.internal.efficios.com/git/ubuntu-{uversion}.git' + default: 'git://git-mirror.internal.efficios.com/git/ubuntu-{uversion}.git' description: 'The linux kernel git repository url.' - string: name: 'kbuildjob' @@ -179,7 +178,7 @@ description: 'The lttng-modules branch to build.' - string: name: 'maxConcurrentBuild' - default: '4' + default: '20' description: 'The maximum number of concurrent child build to run.' - string: name: 'kverfloor' @@ -187,7 +186,7 @@ description: 'The lowest kernel version to build.' - string: name: 'kgitrepo' - default: 'git://artifacts.internal.efficios.com/git/linux-rt-devel.git' + default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-rt-devel.git' description: 'The linux kernel git repository url.' - string: name: 'kbuildjob' @@ -219,6 +218,10 @@ name: arch values: '{obj:arch}' + properties: + - build-discarder: + days-to-keep: 2 + parameters: - string: name: 'mversion' @@ -230,12 +233,10 @@ description: 'The linux kernel git tag to build against.' - string: name: 'kgitrepo' - default: 'git://artifacts.internal.efficios.com/git/linux-stable.git' + default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git' description: 'The linux kernel git repository url.' concurrent: true - logrotate: - daysToKeep: 2 scm: - git: @@ -267,14 +268,6 @@ - pollscm: cron: "@daily" - scm: - - git: - url: git://github.com/lttng/lttng-modules.git - browser: githubweb - browser-url: https://github.com/lttng/lttng-modules - branches: - - "{mversion}" - wrappers: - workspace-cleanup - timestamps @@ -288,12 +281,11 @@ builders: - shell: | - git clone --depth=1 -b v4.4 --reference $HOME/gitcache/linux-stable.git/ git://artifacts.internal.efficios.com/git/linux-stable.git linux - cd linux + git clone --depth=1 -b v4.4 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux + cd src/linux make defconfig sed -i "s/# CONFIG_KALLSYMS_ALL is not set/CONFIG_KALLSYMS_ALL=y/g" .config make modules_prepare - cd .. - shell: !include-raw-escape: scripts/common/coverity.sh @@ -308,18 +300,10 @@ - pollscm: cron: "@daily" - scm: - - git: - url: git://github.com/lttng/lttng-modules.git - browser: githubweb - browser-url: https://github.com/lttng/lttng-modules - branches: - - "{mversion}" - builders: - shell: | rm -f cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> cppcheck.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml publishers: - archive: @@ -349,7 +333,7 @@ builders: - shell: | - cloc --by-file --xml --out=cloc.xml lttng-modules/ + cloc --by-file --xml --out=cloc.xml src/lttng-modules/ publishers: - archive: @@ -365,7 +349,10 @@ github_user: lttng github_name: lttng-modules mversion: - !include: jobs/inc/lttng-modules-versions.yaml.inc + - stable-2.7 + - stable-2.8 + - stable-2.9 + - master jobs: - 'lttng-modules_{mversion}_build-vanilla' - 'lttng-modules_{mversion}_build-rt':