X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=jobs%2Flttng-modules.yaml;h=cc77abbc7d1f82f84b0a4ab2354b5afb150c9b70;hb=083b08904a47e20e2f755a2707b7ec87f2369af5;hp=f741ddf8d899434938c0a781b3c2d07a74877b3a;hpb=2abd3a647f0ac520053583bc6be3312dad4695b4;p=lttng-ci.git diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index f741ddf..cc77abb 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -444,8 +444,8 @@ axes: - axis: type: slave - name: arch - values: '{obj:arch}' + name: platforms + values: '{obj:platforms}' properties: - build-discarder: @@ -496,8 +496,8 @@ axes: - axis: type: slave - name: arch - values: '{obj:arch}' + name: platforms + values: '{obj:platforms}' properties: - build-discarder: @@ -535,6 +535,62 @@ - workspace-cleanup +- job-template: + name: dev_mjeanson_lttng-modules_PARAM_crossbuild + 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: user-defined + name: cross_arch + values: '{obj:cross_arch}' + - axis: + type: slave + name: platforms + values: '{obj:platforms}' + + properties: + - build-discarder: + days-to-keep: 2 + + parameters: + - string: + name: 'mversion' + default: 'master' + description: 'The lttng-modules branch to build.' + - string: + name: 'mgitrepo' + 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: lttng-modules_PARAM_crossbuild defaults: lttng-modules @@ -551,6 +607,10 @@ type: user-defined name: cross_arch values: '{obj:cross_arch}' + - axis: + type: slave + name: platforms + values: '{obj:platforms}' properties: - build-discarder: @@ -698,8 +758,10 @@ # Ubuntu normal builds - 'lttng-modules_{mversion}_{buildtype}-{uversion}': + mversion: + - master + - stable-2.13 uversion: - - xenial - bionic - focal - jammy @@ -709,6 +771,19 @@ kverceil: '' kverfilter: stable-head + - 'lttng-modules_{mversion}_{buildtype}-{uversion}': + mversion: + - stable-2.12 + uversion: + - bionic + - focal + - jammy + buildtype: build + parambuildtype: build + kverfloor: '' + kverceil: Ubuntu-hwe-5.18.0-0.0 + kverfilter: stable-head + # Vanilla crossbuilds - 'lttng-modules_{mversion}_{buildtype}-vanilla': mversion: @@ -739,19 +814,37 @@ # Ubuntu cross builds - 'lttng-modules_{mversion}_{buildtype}-{uversion}': + mversion: + - master + - stable-2.13 uversion: - - xenial - bionic + - focal + - jammy buildtype: crossbuild parambuildtype: crossbuild kverfloor: '' kverceil: '' kverfilter: stable-head + - 'lttng-modules_{mversion}_{buildtype}-{uversion}': + mversion: + - stable-2.12 + uversion: + - bionic + - focal + - jammy + buildtype: crossbuild + parambuildtype: crossbuild + kverfloor: '' + kverceil: Ubuntu-hwe-5.18.0-0.0 + kverfilter: stable-head + # Parametrized kernel and modules build jobs - 'lttng-modules_PARAM_build': - arch: !!python/tuple [amd64] + platforms: !!python/tuple [deb12-amd64] - 'lttng-modules_PARAM_crossbuild': + platforms: !!python/tuple [deb12-amd64] cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el] # Misc jobs @@ -785,7 +878,10 @@ email_to: '' jobs: - 'dev_mjeanson_lttng-modules_PARAM_build': - arch: !!python/tuple [amd64] + platforms: !!python/tuple [deb12-amd64] + - 'dev_mjeanson_lttng-modules_PARAM_crossbuild': + platforms: !!python/tuple [deb12-amd64] + cross_arch: !!python/tuple [armhf, arm64, powerpc, ppc64el] - 'dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla': mversion: - master @@ -794,3 +890,11 @@ kverfloor: v3.0 kverceil: '' kverfilter: stable-head + - 'dev_mjeanson_lttng-modules_{mversion}_{buildtype}-vanilla': + mversion: + - master + buildtype: crossbuild + parambuildtype: crossbuild + kverfloor: v4.4 + kverceil: '' + kverfilter: lts-head