X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=95a3ef0ef6a75ef84bc9b20fac362ee94a9e5a73;hb=20defd5e328ab5a054111f3657ebc0323a3a2f7f;hp=94afe26c82a930a7a886d1083d56081dd259aa74;hpb=98aca00598dec2826ff66db1c88f2687b2941fa2;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 94afe26..95a3ef0 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -29,7 +29,7 @@ description: 'The linux kernel git repository url.' - string: name: 'kbuildjob' - default: 'lttng-modules_VERSION_param-{parambuildtype}' + default: 'lttng-modules_PARAM_{parambuildtype}' description: 'The parametrized job to use for child builds.' - lttng-modules_build_parameters_ubuntu: <tng-modules_build_parameters_ubuntu @@ -61,7 +61,7 @@ description: 'The linux kernel git repository url.' - string: name: 'kbuildjob' - default: 'lttng-modules_VERSION_param-{parambuildtype}' + default: 'lttng-modules_PARAM_{parambuildtype}' description: 'The parametrized job to use for child builds.' - string: name: 'uversion' @@ -93,11 +93,11 @@ description: 'Kernel versions list filtering strategy.' - string: name: 'kgitrepo' - default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-rt-devel.git' + default: 'git://git-mirror.internal.efficios.com/kernel/rt/linux-stable-rt.git' description: 'The linux kernel git repository url.' - string: name: 'kbuildjob' - default: 'lttng-modules_VERSION_param-build' + default: 'lttng-modules_PARAM_build' description: 'The parametrized job to use for child builds.' - lttng-modules_build_builders_defaults: <tng-modules_build_builders_defaults @@ -305,7 +305,7 @@ <<: *lttng-modules_build_rt_builders_defaults - job-template: - name: lttng-modules_VERSION_param-build + name: lttng-modules_PARAM_build defaults: lttng-modules description: | This is a parametrized job used by 'master' jobs to build any combinations @@ -330,6 +330,10 @@ name: 'mversion' default: 'master' description: 'The lttng-modules branch to build.' + - string: + name: 'mgitrepo' + default: 'git://github.com/lttng/lttng-modules.git' + description: 'The lttng-modules git repository url.' - string: name: 'ktag' default: '' @@ -341,29 +345,20 @@ concurrent: true - scm: - - git: - url: git://github.com/lttng/lttng-modules.git - browser: githubweb - browser-url: https://github.com/lttng/lttng-modules - branches: - - "${{mversion}}" - skip-tag: true - basedir: src/lttng-modules + scm: [] triggers: builders: - - shell: | - git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux - shell: !include-raw-escape: scripts/lttng-modules/param-build.sh publishers: - workspace-cleanup + - job-template: - name: lttng-modules_VERSION_param-crossbuild + name: lttng-modules_PARAM_crossbuild defaults: lttng-modules description: | This is a parametrized job used by 'master' jobs to build any combinations @@ -388,6 +383,10 @@ name: 'mversion' default: 'master' description: 'The lttng-modules branch to build.' + - string: + name: 'mgitrepo' + default: 'git://github.com/lttng/lttng-modules.git' + description: 'The lttng-modules git repository url.' - string: name: 'ktag' default: '' @@ -399,30 +398,21 @@ concurrent: true - scm: - - git: - url: git://github.com/lttng/lttng-modules.git - browser: githubweb - browser-url: https://github.com/lttng/lttng-modules - branches: - - "${{mversion}}" - skip-tag: true - basedir: src/lttng-modules + scm: [] triggers: builders: - - shell: | - git clone --depth=1 -b "$ktag" --reference $HOME/gitcache/linux-stable.git/ "$kgitrepo" src/linux - shell: !include-raw-escape: scripts/lttng-modules/param-build.sh + publishers: - workspace-cleanup - job-template: name: lttng-modules_{mversion}_coverity defaults: lttng-modules - node: 'x86-64' + node: 'amd64' triggers: - pollscm: @@ -441,7 +431,7 @@ builders: - shell: | - git clone --depth=1 -b v4.10 --reference $HOME/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git src/linux + git clone --depth=1 -b v4.20 --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 @@ -449,6 +439,12 @@ - shell: !include-raw-escape: scripts/common/coverity.sh + publishers: + - archive: + artifacts: 'analysis-results.tgz,cov-int/**' + allow-empty: false + - workspace-cleanup + - job-template: name: lttng-modules_{mversion}_cppcheck defaults: lttng-modules @@ -459,15 +455,15 @@ builders: - shell: | - rm -f cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck.xml + rm -f cppcheck-result.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck-result.xml publishers: - archive: - artifacts: 'cppcheck.xml' + artifacts: 'cppcheck-result.xml' allow-empty: false - cppcheck: - pattern: 'cppcheck.xml' + pattern: 'cppcheck-result.xml' - job-template: name: lttng-modules_{mversion}_sloccount @@ -508,37 +504,39 @@ # Vanilla normal builds - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - - stable-2.9 - - stable-2.10 - master buildtype: build parambuildtype: build - kverfloor: v2.6.36 + kverfloor: v3.0 kverceil: '' kverfilter: stable-head - 'lttng-modules_{mversion}_{buildtype}-vanilla': - mversion: stable-2.7 + mversion: + - stable-2.9 + - stable-2.10 + - stable-2.11 buildtype: build parambuildtype: build kverfloor: v2.6.36 - kverceil: v4.8-rc0 + kverceil: '' kverfilter: stable-head - 'lttng-modules_{mversion}_fullbuild-vanilla': mversion: - - stable-2.9 - - stable-2.10 - master buildtype: build parambuildtype: build - kverfloor: v2.6.36 + kverfloor: v3.0 kverceil: '' kverfilter: none - 'lttng-modules_{mversion}_fullbuild-vanilla': - mversion: stable-2.7 + mversion: + - stable-2.9 + - stable-2.10 + - stable-2.11 buildtype: build parambuildtype: build kverfloor: v2.6.36 - kverceil: v4.8-rc0 + kverceil: '' kverfilter: none # RT normal builds @@ -552,10 +550,11 @@ mversion: - stable-2.9 - stable-2.10 + - stable-2.11 - master uversion: - - trusty - xenial + - bionic buildtype: build parambuildtype: build kverfloor: '' @@ -567,29 +566,24 @@ mversion: - stable-2.9 - stable-2.10 + - stable-2.11 - master buildtype: crossbuild parambuildtype: crossbuild - kverfloor: v3.16 + kverfloor: v3.18 kverceil: '' kverfilter: stable-head - - 'lttng-modules_{mversion}_{buildtype}-vanilla': - mversion: stable-2.7 - buildtype: crossbuild - parambuildtype: crossbuild - kverfloor: v3.16 - kverceil: v4.8-rc0 - kverfilter: stable-head # Ubuntu cross builds - 'lttng-modules_{mversion}_{buildtype}-{uversion}': mversion: - stable-2.9 - stable-2.10 + - stable-2.11 - master uversion: - - trusty - xenial + - bionic buildtype: crossbuild parambuildtype: crossbuild kverfloor: '' @@ -597,9 +591,9 @@ kverfilter: stable-head # Parametrized kernel and modules build jobs - - 'lttng-modules_VERSION_param-build': - arch: !!python/tuple [x86-32, x86-64] - - 'lttng-modules_VERSION_param-crossbuild': + - 'lttng-modules_PARAM_build': + arch: !!python/tuple [amd64] + - 'lttng-modules_PARAM_crossbuild': cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el] # Misc jobs @@ -608,6 +602,7 @@ mversion: - stable-2.9 - stable-2.10 + - stable-2.11 - master - 'lttng-modules_{mversion}_sloccount': mversion: master