From: Michael Jeanson Date: Mon, 29 Apr 2024 15:45:45 +0000 (-0400) Subject: jjb: lttng-tools: Unify rootbuild jobs under '_root_{buildtype}' X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9c9b6b2058536b4cbe7bc433059fc27fc07b6060;p=lttng-ci.git jjb: lttng-tools: Unify rootbuild jobs under '_root_{buildtype}' Replace the old '_rootbuild' jobs with the same template as used by the el8/sles15sp4 root jobs. Replace the '_rootbuild_i386' job with '_root_portbuild' including the new armhf and arm64 architecture. The resulting jobs are named as follows: - lttng-tools_master_root_linuxbuild - lttng-tools_master_root_portbuild This all means using a single template and having more consistent naming. Change-Id: I53a5a875bc76f128ff66000540c38b6be429e557 Signed-off-by: Michael Jeanson --- diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index f32ce04..2f86a38 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -111,11 +111,7 @@ - axis: type: slave name: node - values: - - 'amd64-rootnode' - - 'el8-amd64-rootnode' - - 'i386-rootnode' - - 'sles15sp4-amd64-rootnode' + values: '{obj:nodes}' - axis: <<: *lttng-tools_matrix_axis_platform type: user-defined @@ -611,54 +607,6 @@ jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' result: 'success' -- job-template: - name: '{job_prefix}lttng-tools_{version}_rootbuild' - defaults: lttng-tools - - scm: - - git: *lttng-tools_scm_git_default - - wrappers: - - ansicolor: *lttng-tools_wrapper_ansicolor_defaults - - timeout: - <<: *lttng-tools_wrapper_timeout_defaults - timeout: 10 - - timestamps - - <<: *lttng-tools_matrix_axes_rootbuild - <<: *lttng-tools_builders_defaults - <<: *lttng-tools_publishers_rootbuild - - triggers: - - pollscm: *lttng-tools_trigger_pollscm_default - - reverse: - jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' - result: 'success' - -- job-template: - name: '{job_prefix}lttng-tools_{version}_rootbuild_i386' - defaults: lttng-tools - - scm: - - git: *lttng-tools_scm_git_default - - wrappers: - - ansicolor: *lttng-tools_wrapper_ansicolor_defaults - - timeout: - <<: *lttng-tools_wrapper_timeout_defaults - timeout: 10 - - timestamps - - <<: *lttng-tools_matrix_axes_rootbuild - <<: *lttng-tools_builders_defaults - <<: *lttng-tools_publishers_rootbuild - - triggers: - - pollscm: *lttng-tools_trigger_pollscm_default - - reverse: - jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' - result: 'success' - - job-template: name: '{job_prefix}lttng-tools_{version}_root_{buildtype}' defaults: lttng-tools @@ -897,35 +845,6 @@ - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults - raw: *lttng-tools_publisher_proc-cleaner_defaults -- job-template: - name: dev_review_lttng-tools_{version}_rootbuild - defaults: lttng-tools - concurrent: true - - scm: - - git: *lttng-tools_scm_git_review - - triggers: - - gerrit: *lttng-tools_trigger_gerrit_default - - properties: - - inject: *lttng-tools_property_inject_defaults - - build-discarder: - days-to-keep: 1 - - throttle: - option: 'category' - categories: - - 'gerrit-{buildtype}' - - <<: *lttng-tools_matrix_axes_rootbuild - <<: *lttng-tools_builders_review - - publishers: - - tap: *lttng-tools_publisher_tap_defaults - - raw: *lttng-tools_publisher_warnings-ng_defaults - - archive: *lttng-tools_publisher_archive_defaults - - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults - - job-template: name: 'dev_review_lttng-tools_{version}_root_{buildtype}' defaults: lttng-tools @@ -1220,22 +1139,36 @@ babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - '{job_prefix}lttng-tools_{version}_rootbuild': + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': buildtype: linuxbuild version: master ustversion: master platforms: !!python/tuple [deb12-amd64] + nodes: !!python/tuple [deb12-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [master] babelversions: !!python/tuple [stable-2.0] - filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + filter: '(node=="deb12-amd64-rootnode" && platform=="deb12-amd64")' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': + buildtype: portbuild + version: master + ustversion: master + platforms: !!python/tuple [deb12-i386, deb12-armhf, deb12-arm64] + nodes: !!python/tuple [deb12-i386-rootnode, deb12-armhf-rootnode, deb12-arm64-rootnode] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] + filter: '((node=="deb12-i386-rootnode" && platform=="deb12-i386") || (node=="deb12-armhf-rootnode" && platform=="deb12-armhf") || (node=="deb12-arm64-rootnode" && platform=="deb12-arm64"))' touchstone: '' - '{job_prefix}lttng-tools_{version}_root_{buildtype}': buildtype: slesbuild version: master ustversion: master platforms: !!python/tuple [sles15sp4-amd64] + nodes: !!python/tuple [sles15sp4-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [master] @@ -1247,23 +1180,13 @@ version: master ustversion: master platforms: !!python/tuple [el8-amd64] + nodes: !!python/tuple [el8-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [std] urcuversions: !!python/tuple [master] babelversions: !!python/tuple [stable-2.0] filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")' touchstone: '' - - '{job_prefix}lttng-tools_{version}_rootbuild_i386': - buildtype: portbuild - version: master - ustversion: master - platforms: !!python/tuple [deb12-i386] - builds: !!python/tuple [std] - confs: !!python/tuple [agents] - urcuversions: !!python/tuple [master] - babelversions: !!python/tuple [stable-2.0] - filter: '(node=="i386-rootnode" && platform=="deb12-i386")' - touchstone: '' - 'lttng-tools_{version}_scan-build': version: master urcuversion: master @@ -1363,22 +1286,36 @@ babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - '{job_prefix}lttng-tools_{version}_rootbuild': + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': buildtype: linuxbuild version: stable-2.13 ustversion: stable-2.13 platforms: !!python/tuple [deb12-amd64] + nodes: !!python/tuple [deb12-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] - filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + filter: '(node=="deb12-amd64-rootnode" && platform=="deb12-amd64")' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': + buildtype: portbuild + version: stable-2.13 + ustversion: stable-2.13 + platforms: !!python/tuple [deb12-i386, deb12-armhf, deb12-arm64] + nodes: !!python/tuple [deb12-i386-rootnode, deb12-armhf-rootnode, deb12-arm64-rootnode] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '((node=="deb12-i386-rootnode" && platform=="deb12-i386") || (node=="deb12-armhf-rootnode" && platform=="deb12-armhf") || (node=="deb12-arm64-rootnode" && platform=="deb12-arm64"))' touchstone: '' - '{job_prefix}lttng-tools_{version}_root_{buildtype}': buildtype: slesbuild version: stable-2.13 ustversion: stable-2.13 platforms: !!python/tuple [sles15sp4-amd64] + nodes: !!python/tuple [sles15sp4-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.13] @@ -1390,6 +1327,7 @@ version: stable-2.13 ustversion: stable-2.13 platforms: !!python/tuple [el8-amd64] + nodes: !!python/tuple [el8-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [std] urcuversions: !!python/tuple [stable-0.13] @@ -1495,22 +1433,24 @@ babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - '{job_prefix}lttng-tools_{version}_rootbuild': + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': buildtype: linuxbuild version: stable-2.12 ustversion: stable-2.12 platforms: !!python/tuple [deb12-amd64] + nodes: !!python/tuple [deb12-amd64-rootnode-linux5] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] - filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' + filter: '(node=="deb12-amd64-rootnode-linux5" && platform=="deb12-amd64")' touchstone: '' - '{job_prefix}lttng-tools_{version}_root_{buildtype}': buildtype: slesbuild version: stable-2.12 ustversion: stable-2.12 platforms: !!python/tuple [sles15sp4-amd64] + nodes: !!python/tuple [sles15sp4-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.13] @@ -1522,6 +1462,7 @@ version: stable-2.12 ustversion: stable-2.12 platforms: !!python/tuple [el8-amd64] + nodes: !!python/tuple [el8-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [std] urcuversions: !!python/tuple [stable-0.13] @@ -1662,20 +1603,22 @@ babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - 'dev_review_lttng-tools_{version}_rootbuild': + - 'dev_review_lttng-tools_{version}_root_{buildtype}': version: master buildtype: linuxbuild platforms: !!python/tuple [deb12-amd64] + nodes: !!python/tuple [deb12-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support babelversions: !!python/tuple [stable-2.0] - filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + filter: '(node=="deb12-amd64-rootnode" && platform=="deb12-amd64")' touchstone: '' - 'dev_review_lttng-tools_{version}_root_{buildtype}': version: master buildtype: slesbuild platforms: !!python/tuple [sles15sp4-amd64] + nodes: !!python/tuple [sles15sp4-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.14] @@ -1716,20 +1659,22 @@ babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - 'dev_review_lttng-tools_{version}_rootbuild': + - 'dev_review_lttng-tools_{version}_root_{buildtype}': version: stable-2.13 buildtype: linuxbuild platforms: !!python/tuple [deb12-amd64] + nodes: !!python/tuple [deb12-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] - filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + filter: '(node=="deb12-amd64-rootnode" && platform=="deb12-amd64")' touchstone: '' - 'dev_review_lttng-tools_{version}_root_{buildtype}': version: stable-2.13 buildtype: slesbuild platforms: !!python/tuple [sles15sp4-amd64] + nodes: !!python/tuple [sles15sp4-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.13] @@ -1742,26 +1687,29 @@ version: stable-2.12 buildtype: linuxbuild platforms: !!python/tuple [deb12-amd64] + nodes: !!python/tuple [deb12-amd64-rootnode] builds: !!python/tuple [std, oot, dist, oot-dist] confs: !!python/tuple [std, no-ust, agents] urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - 'dev_review_lttng-tools_{version}_rootbuild': + - 'dev_review_lttng-tools_{version}_root_{buildtype}': version: stable-2.12 buildtype: linuxbuild platforms: !!python/tuple [deb12-amd64] + nodes: !!python/tuple [deb12-amd64-rootnode-linux5] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] - filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' + filter: '(node=="deb12-amd64-rootnode-linux5" && platform=="deb12-amd64")' touchstone: '' - 'dev_review_lttng-tools_{version}_root_{buildtype}': version: stable-2.12 buildtype: slesbuild platforms: !!python/tuple [sles15sp4-amd64] + nodes: !!python/tuple [sles15sp4-amd64-rootnode] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.13]