jjb: lttng-tools: Unify rootbuild jobs under '_root_{buildtype}'
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 29 Apr 2024 15:45:45 +0000 (11:45 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 29 Apr 2024 18:49:38 +0000 (14:49 -0400)
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 <mjeanson@efficios.com>
jobs/lttng-tools.yaml

index f32ce045c6a118cb1f7ed2251827482da365520d..2f86a38fac9f516d0c44e7b031ceb9f51a2a8eb7 100644 (file)
       - 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
             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
       - 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
           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]
           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
           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]
           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]
           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]
           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]
           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]
           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]
           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]
This page took 0.027345 seconds and 4 git commands to generate.