X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=d46163d1e9f8fe8300f3129db4527e96131eb110;hb=bc571dfb016351c94670a03904b96c03204ffffa;hp=94afe26c82a930a7a886d1083d56081dd259aa74;hpb=055a236fb9adc1a5fa07f2a7a575d184db521eea;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 94afe26..d46163d 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: @@ -459,15 +449,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 @@ -506,11 +496,19 @@ jobs: # Vanilla normal builds + - 'lttng-modules_{mversion}_{buildtype}-vanilla': + mversion: + - master + buildtype: build + parambuildtype: build + kverfloor: v3.0 + kverceil: '' + kverfilter: stable-head - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - stable-2.9 - stable-2.10 - - master + - stable-2.11 buildtype: build parambuildtype: build kverfloor: v2.6.36 @@ -523,11 +521,19 @@ kverfloor: v2.6.36 kverceil: v4.8-rc0 kverfilter: stable-head + - 'lttng-modules_{mversion}_fullbuild-vanilla': + mversion: + - master + buildtype: build + parambuildtype: build + kverfloor: v3.0 + kverceil: '' + kverfilter: none - 'lttng-modules_{mversion}_fullbuild-vanilla': mversion: - stable-2.9 - stable-2.10 - - master + - stable-2.11 buildtype: build parambuildtype: build kverfloor: v2.6.36 @@ -552,10 +558,11 @@ mversion: - stable-2.9 - stable-2.10 + - stable-2.11 - master uversion: - - trusty - xenial + - bionic buildtype: build parambuildtype: build kverfloor: '' @@ -567,6 +574,7 @@ mversion: - stable-2.9 - stable-2.10 + - stable-2.11 - master buildtype: crossbuild parambuildtype: crossbuild @@ -586,10 +594,11 @@ mversion: - stable-2.9 - stable-2.10 + - stable-2.11 - master uversion: - - trusty - xenial + - bionic buildtype: crossbuild parambuildtype: crossbuild kverfloor: '' @@ -597,9 +606,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 +617,7 @@ mversion: - stable-2.9 - stable-2.10 + - stable-2.11 - master - 'lttng-modules_{mversion}_sloccount': mversion: master