X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=d46163d1e9f8fe8300f3129db4527e96131eb110;hb=bc571dfb016351c94670a03904b96c03204ffffa;hp=b5e48ac86a6e38a5ce2d3f18c6d32bf73e34b8ca;hpb=48745db54789152c4edd593b6cd13e81f4fd80b3;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index b5e48ac..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' @@ -83,13 +83,21 @@ name: 'kverfloor' default: 'v2.6.36-rt0-rebase' description: 'The lowest kernel version to build.' + - string: + name: 'kverceil' + default: '{kverceil}' + description: 'The highest kernel version to build. (excluded)' + - string: + name: 'kverfilter' + default: '{kverfilter}' + 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 @@ -148,6 +156,28 @@ publishers: - workspace-cleanup + - email-ext: + recipients: '{obj:email_to}' + reply-to: ci-notification@lists.lttng.org + always: false + unstable: false + first-failure: true + first-unstable: true + not-built: false + aborted: false + regression: false + failure: false + second-failure: false + improvement: false + still-failing: false + success: false + fixed: false + fixed-unhealthy: true + still-unstable: false + pre-build: false + matrix-trigger: only-parent + send-to: + - recipients ## Templates @@ -275,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 @@ -301,7 +331,11 @@ default: 'master' description: 'The lttng-modules branch to build.' - string: - name: 'kversion' + name: 'mgitrepo' + default: 'git://github.com/lttng/lttng-modules.git' + description: 'The lttng-modules git repository url.' + - string: + name: 'ktag' default: '' description: 'The linux kernel git tag to build against.' - string: @@ -311,26 +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 "$kversion" --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 @@ -356,7 +384,11 @@ default: 'master' description: 'The lttng-modules branch to build.' - string: - name: 'kversion' + name: 'mgitrepo' + default: 'git://github.com/lttng/lttng-modules.git' + description: 'The lttng-modules git repository url.' + - string: + name: 'ktag' default: '' description: 'The linux kernel git tag to build against.' - string: @@ -366,28 +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 "$kversion" --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: @@ -424,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 @@ -467,16 +492,25 @@ name: lttng-modules github_user: lttng github_name: lttng-modules + email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' jobs: # Vanilla normal builds - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - - stable-2.8 - - stable-2.9 - master buildtype: build parambuildtype: build + kverfloor: v3.0 + kverceil: '' + kverfilter: stable-head + - 'lttng-modules_{mversion}_{buildtype}-vanilla': + mversion: + - stable-2.9 + - stable-2.10 + - stable-2.11 + buildtype: build + parambuildtype: build kverfloor: v2.6.36 kverceil: '' kverfilter: stable-head @@ -489,11 +523,19 @@ kverfilter: stable-head - 'lttng-modules_{mversion}_fullbuild-vanilla': mversion: - - stable-2.8 - - stable-2.9 - master buildtype: build parambuildtype: build + kverfloor: v3.0 + kverceil: '' + kverfilter: none + - 'lttng-modules_{mversion}_fullbuild-vanilla': + mversion: + - stable-2.9 + - stable-2.10 + - stable-2.11 + buildtype: build + parambuildtype: build kverfloor: v2.6.36 kverceil: '' kverfilter: none @@ -508,16 +550,19 @@ # RT normal builds - 'lttng-modules_{mversion}_build-rt': mversion: master + kverceil: '' + kverfilter: stable-head # Ubuntu normal builds - 'lttng-modules_{mversion}_{buildtype}-{uversion}': mversion: - - stable-2.8 - stable-2.9 + - stable-2.10 + - stable-2.11 - master uversion: - - trusty - xenial + - bionic buildtype: build parambuildtype: build kverfloor: '' @@ -527,8 +572,9 @@ # Vanilla crossbuilds - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - - stable-2.8 - stable-2.9 + - stable-2.10 + - stable-2.11 - master buildtype: crossbuild parambuildtype: crossbuild @@ -546,12 +592,13 @@ # Ubuntu cross builds - 'lttng-modules_{mversion}_{buildtype}-{uversion}': mversion: - - stable-2.8 - stable-2.9 + - stable-2.10 + - stable-2.11 - master uversion: - - trusty - xenial + - bionic buildtype: crossbuild parambuildtype: crossbuild kverfloor: '' @@ -559,17 +606,18 @@ 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 - 'lttng-modules_ALL_trigger-vanilla' - 'lttng-modules_{mversion}_cppcheck': mversion: - - stable-2.8 - stable-2.9 + - stable-2.10 + - stable-2.11 - master - 'lttng-modules_{mversion}_sloccount': mversion: master