X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-modules.yaml;h=41f0a061d395afc8fd65de0533734336c0b12d0d;hb=2e454c3b9c86ea660994c6bcbb0322d61d96de4a;hp=01a04349d003d1343011c0edadd1808defc36ccd;hpb=28b10e79262a888b6662128cdde9c35f5f9ed38e;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 01a0434..41f0a06 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -109,7 +109,7 @@ description: 'The maximum number of concurrent child build to run.' - string: name: 'kverfloor' - default: 'v2.6.36-rt0-rebase' + default: '{kverfloor}' description: 'The lowest kernel version to build.' - string: name: 'kverceil' @@ -165,7 +165,7 @@ scm: - git: - url: git://github.com/{github_user}/{github_name}.git + url: https://github.com/{github_user}/{github_name}.git browser: githubweb browser-url: https://github.com/{github_user}/{github_name} branches: @@ -182,7 +182,8 @@ properties: - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} @@ -260,6 +261,52 @@ <<: *lttng-modules_build_parameters_defaults <<: *lttng-modules_build_builders_defaults +- job-template: + name: dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla + defaults: lttng-modules + description: | + The LTTng modules provide Linux kernel tracing capability to the LTTng + 2.0 tracer toolset. + + This job will build the {mversion} branch against stable vanilla + kernel tags. + +

Job is managed by Jenkins Job Builder.

+ + node: 'master' + + parameters: + - string: + name: 'maxConcurrentBuild' + default: '20' + description: 'The maximum number of concurrent child build to run.' + - string: + name: 'kverfloor' + default: '{kverfloor}' + 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: 'kverrc' + default: 'true' + description: 'Add latest RC to kernel versions list.' + - string: + name: 'kgitrepo' + default: 'git://git-mirror.internal.efficios.com/git/linux-all.git' + description: 'The linux kernel git repository url.' + - string: + name: 'kbuildjob' + default: 'dev_mjeanson_lttng-modules_PARAM_{parambuildtype}' + description: 'The parametrized job to use for child builds.' + + <<: *lttng-modules_build_builders_defaults + - job-template: name: dev_gerrit_lttng-modules_build defaults: lttng-modules @@ -288,11 +335,14 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**' - trigger-for-unreviewed-patches: true properties: - build-discarder: - num-to-keep: 2 + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-build' <<: *lttng-modules_build_parameters_gerrit <<: *lttng-modules_build_builders_defaults @@ -404,7 +454,59 @@ description: 'The lttng-modules branch to build.' - string: name: 'mgitrepo' - default: 'git://github.com/lttng/lttng-modules.git' + default: 'git://git-mirror.internal.efficios.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: + name: 'kgitrepo' + default: 'git://git-mirror.internal.efficios.com/git/linux-all.git' + description: 'The linux kernel git repository url.' + + concurrent: true + + scm: [] + + triggers: + + builders: + - shell: + !include-raw-escape: scripts/lttng-modules/param-build.sh + + publishers: + - workspace-cleanup + +- job-template: + name: dev_mjeanson_lttng-modules_PARAM_build + defaults: lttng-modules + description: | + This is a parametrized job used by 'master' jobs to build any combinations + of lttng-modules and linux kernel versions. + +

Job is managed by Jenkins Job Builder.

+ + project-type: matrix + node: 'master' # Applies only to matrix flyweight task + axes: + - axis: + type: slave + name: arch + values: '{obj:arch}' + + properties: + - build-discarder: + days-to-keep: 2 + + parameters: + - string: + name: 'mversion' + default: 'master' + description: 'The lttng-modules branch to build.' + - string: + name: 'mgitrepo' + default: 'https://github.com/{github_user}/lttng-modules.git' description: 'The lttng-modules git repository url.' - string: name: 'ktag' @@ -457,7 +559,7 @@ description: 'The lttng-modules branch to build.' - string: name: 'mgitrepo' - default: 'git://github.com/lttng/lttng-modules.git' + default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git' description: 'The lttng-modules git repository url.' - string: name: 'ktag' @@ -517,53 +619,6 @@ allow-empty: false - workspace-cleanup -- job-template: - name: lttng-modules_{mversion}_cppcheck - defaults: lttng-modules - - triggers: - - pollscm: - cron: "@daily" - - builders: - - shell: | - rm -f cppcheck-result.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-modules 2> cppcheck-result.xml - - publishers: - - archive: - artifacts: 'cppcheck-result.xml' - allow-empty: false - - cppcheck: - pattern: 'cppcheck-result.xml' - -- job-template: - name: lttng-modules_{mversion}_sloccount - defaults: lttng-modules - description: | - The LTTng modules provide Linux kernel tracing capability to the LTTng - 2.0 tracer toolset. - - This job runs the sloccount utility and generates a trend report. - -

Job is managed by Jenkins Job Builder.

- - triggers: - - pollscm: - cron: "@daily" - - builders: - - shell: | - cloc --by-file --xml --out=cloc.xml src/lttng-modules/ - - publishers: - - archive: - artifacts: 'cloc.xml' - allow-empty: false - - sloccount: - report-files: 'cloc.xml' - - workspace-cleanup - ## Project - project: @@ -571,63 +626,78 @@ github_user: lttng github_name: lttng-modules email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' + mversion: + - stable-2.12 + - stable-2.13 + - master jobs: # Vanilla normal builds - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - - stable-2.12 - master buildtype: build parambuildtype: build - kverfloor: v3.0 + kverfloor: v4.4 kverceil: '' kverfilter: stable-head + - 'lttng-modules_{mversion}_fullbuild-vanilla': + mversion: + - master + buildtype: build + parambuildtype: build + kverfloor: v4.4 + kverceil: '' + kverfilter: none + - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - - stable-2.10 - - stable-2.11 + - stable-2.13 buildtype: build parambuildtype: build - kverfloor: v2.6.36 + kverfloor: v3.0 kverceil: '' kverfilter: stable-head - 'lttng-modules_{mversion}_fullbuild-vanilla': mversion: - - stable-2.12 - - master + - stable-2.13 buildtype: build parambuildtype: build kverfloor: v3.0 kverceil: '' kverfilter: none + + - 'lttng-modules_{mversion}_{buildtype}-vanilla': + mversion: + - stable-2.12 + buildtype: build + parambuildtype: build + kverfloor: v3.0 + kverceil: v5.18-rc1 + kverfilter: stable-head - 'lttng-modules_{mversion}_fullbuild-vanilla': mversion: - - stable-2.10 - - stable-2.11 + - stable-2.12 buildtype: build parambuildtype: build - kverfloor: v2.6.36 - kverceil: '' + kverfloor: v3.0 + kverceil: v5.18-rc1 kverfilter: none # RT normal builds - 'lttng-modules_{mversion}_build-rt': mversion: master + kverfloor: v4.4.0-rt1-rebase kverceil: '' kverfilter: stable-head # Ubuntu normal builds - 'lttng-modules_{mversion}_{buildtype}-{uversion}': - mversion: - - stable-2.10 - - stable-2.11 - - stable-2.12 - - master uversion: - xenial - bionic - focal + - jammy buildtype: build parambuildtype: build kverfloor: '' @@ -637,23 +707,33 @@ # Vanilla crossbuilds - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - - stable-2.10 - - stable-2.11 - - stable-2.12 - master buildtype: crossbuild parambuildtype: crossbuild + kverfloor: v4.4 + kverceil: '' + kverfilter: stable-head + + - 'lttng-modules_{mversion}_{buildtype}-vanilla': + mversion: + - stable-2.13 + buildtype: crossbuild + parambuildtype: crossbuild kverfloor: v3.18 kverceil: '' kverfilter: stable-head -# Ubuntu cross builds - - 'lttng-modules_{mversion}_{buildtype}-{uversion}': + - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - - stable-2.10 - - stable-2.11 - stable-2.12 - - master + buildtype: crossbuild + parambuildtype: crossbuild + kverfloor: v3.18 + kverceil: v5.18-rc1 + kverfilter: stable-head + +# Ubuntu cross builds + - 'lttng-modules_{mversion}_{buildtype}-{uversion}': uversion: - xenial - bionic @@ -671,14 +751,6 @@ # Misc jobs - 'lttng-modules_ALL_trigger-vanilla' - - 'lttng-modules_{mversion}_cppcheck': - mversion: - - stable-2.10 - - stable-2.11 - - stable-2.12 - - master - - 'lttng-modules_{mversion}_sloccount': - mversion: master - 'lttng-modules_{mversion}_coverity': mversion: master @@ -689,3 +761,20 @@ kverfloor: v5.5 kverceil: v5.6 kverfilter: stable-head + +- project: + name: lttng-modules-dev-mjeanson + github_user: mjeanson + github_name: lttng-modules + email_to: '' + jobs: + - 'dev_mjeanson_lttng-modules_PARAM_build': + arch: !!python/tuple [amd64] + - 'dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla': + mversion: + - master + buildtype: build + parambuildtype: build + kverfloor: v3.0 + kverceil: '' + kverfilter: stable-head