X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=1b0c8fe6b7fa1ce63e920e0fa64ec7e9c0512dc6;hb=69f05d5914f8c90efd4af992a309255b22f3c30f;hp=27436c6b4f8dc817ee01638a79272e5f091383a8;hpb=2c1d386a795ee93d8d8af91559e8b23ea036d82a;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 27436c6..1b0c8fe 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 @@ -19,23 +16,25 @@ scm: - git: - url: git://github.com/lttng/lttng-modules.git + url: git://github.com/{github_user}/{github_name}.git browser: githubweb - browser-url: https://github.com/lttng/lttng-modules + browser-url: https://github.com/{github_user}/{github_name} branches: - "{mversion}" 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/lttng/lttng-modules + url: https://github.com/{github_user}/{github_name} ## Templates @@ -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' @@ -230,12 +229,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: @@ -245,13 +242,13 @@ branches: - "${{mversion}}" skip-tag: true - basedir: lttng-modules + basedir: src/lttng-modules triggers: builders: - shell: | - git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" linux + git clone --depth=1 -b "$kversion" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux - shell: !include-raw-escape: scripts/lttng-modules/param-build.sh @@ -267,14 +264,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 @@ -287,6 +276,12 @@ password: COVERITY_SCAN_TOKEN builders: + - shell: | + 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 - shell: !include-raw-escape: scripts/common/coverity.sh @@ -301,18 +296,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: @@ -342,7 +329,7 @@ builders: - shell: | - cloc --by-file --xml --out=cloc.xml lttng-modules/ + cloc --by-file --xml --out=cloc.xml src/lttng-modules/ publishers: - archive: @@ -355,8 +342,12 @@ ## Project - project: name: lttng-modules + github_user: lttng + github_name: lttng-modules mversion: - !include: jobs/inc/lttng-modules-versions.yaml.inc + - stable-2.7 + - stable-2.8 + - master jobs: - 'lttng-modules_{mversion}_build-vanilla' - 'lttng-modules_{mversion}_build-rt':