jjb: update yocto powerpc and ppc64 to kirkstone
[lttng-ci.git] / jobs / lttng-ust.yaml
index a500f36dd6833ff8a4c19f37adb5863569c82917..f81d326d0deb9ede85196c49b3906d5bc1df2536 100644 (file)
@@ -1,3 +1,5 @@
+---
+## Defaults
 - defaults:
     name: lttng-ust
     description: |
@@ -47,7 +49,7 @@
 
 
 ## Anchors
-- lttng-ust_matrix_axes_defaults: &lttng-ust_matrix_axes_defaults
+- _lttng-ust_matrix_axes_defaults: &lttng-ust_matrix_axes_defaults
     name: 'lttng-ust_matrix_axes_defaults'
     project-type: matrix
     node: 'master' # Applies only to matrix flyweight task
@@ -74,8 +76,8 @@
          name: liburcu_version
          values: '{obj:liburcu_versions}'
 
-- lttng-ust_matrix_axes_gerrit_lttng-tools: &lttng-ust_matrix_axes_gerrit_lttng-tools
-    name: 'lttng-ust_matrix_axes_gerrit_lttng-tools'
+- _lttng-ust_matrix_axes_review_lttng-tools: &lttng-ust_matrix_axes_review_lttng-tools
+    name: 'lttng-ust_matrix_axes_review_lttng-tools'
     project-type: matrix
     node: 'master' # Applies only to matrix flyweight task
     execution-strategy: *lttng-ust_matrix_execution-strategy_defaults
@@ -84,7 +86,7 @@
       - axis: *lttng-ust_matrix_axis_conf
       - axis: *lttng-ust_matrix_axis_build
 
-- lttng-ust_steps_copyartifact_defaults:
+- _lttng-ust_steps_copyartifact_defaults:
     name: 'lttng-ust_steps_copyartifact_defaults'
     steps:
       - copyartifact: &lttng-ust_steps_copyartifact_defaults
@@ -95,7 +97,7 @@
           target: 'deps'
           do-not-fingerprint: true
 
-- lttng-ust_builders_defaults: &lttng-ust_builders_defaults
+- _lttng-ust_builders_defaults: &lttng-ust_builders_defaults
     name: 'lttng-ust_builders_defaults'
     builders:
       # Generate a properties file to add additionnal env
            - scripts/common/print.sh
            - scripts/lttng-ust/build.sh
 
-- lttng-ust_builders_gerrit_lttng-tools: &lttng-ust_builders_gerrit_lttng-tools
-    name: 'lttng-ust_builders_gerrit_lttng-tools'
+- _lttng-ust_builders_review_lttng-tools: &lttng-ust_builders_review_lttng-tools
+    name: 'lttng-ust_builders_review_lttng-tools'
 
     builders:
       # Generate a properties file to add additionnal env
            - scripts/common/print.sh
            - scripts/lttng-tools/build.sh
 
-- lttng-ust_publishers_defaults: &lttng-ust_publishers_defaults
+- _lttng-ust_publishers_defaults: &lttng-ust_publishers_defaults
     name: 'lttng-ust_publishers_defaults'
     publishers:
       - tap: &lttng-ust_publisher_tap_defaults
             </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
       - archive: &lttng-ust_publisher_archive_defaults
           artifacts: 'build/**,tap/**,log/**'
+          follow-symlinks: true
           allow-empty: false
       - workspace-cleanup: &lttng-ust_publisher_workspace-cleanup_defaults
           clean-if:
             - failure: false
       - ircbot: &lttng-ust_publisher_ircbot_defaults
           strategy: statechange-only
-          message-type: summary-scm
-          matrix-notifier: only-configurations
+          message-type: summary
+          matrix-notifier: only-parent
       - email-ext: &lttng-ust_publisher_email-ext_defaults
           recipients: '{obj:email_to}'
           reply-to: ci-notification@lists.lttng.org
           send-to:
             - recipients
 
-- lttng-ust_publishers_gerrit: &lttng-ust_publishers_gerrit
-    name: 'lttng-ust_publishers_gerrit'
+- _lttng-ust_publishers_review: &lttng-ust_publishers_review
+    name: 'lttng-ust_publishers_review'
     publishers:
       - tap: *lttng-ust_publisher_tap_defaults
       # Fail job on any compiler warnings
 
 
 - job-template:
-    name: dev_gerrit_lttng-ust_{buildtype}
+    name: dev_review_lttng-ust_{version}_{buildtype}
     defaults: lttng-ust
     concurrent: true
 
           skip-tag: true
 
     triggers:
-      - gerrit:
+      - gerrit: &lttng-ust_trigger_gerrit_defaults
           trigger-on:
             - comment-added-event:
                 approval-category: 'CI-Build'
             - project-compare-type: 'PLAIN'
               project-pattern: 'lttng-ust'
               branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**'
+                - branch-compare-type: 'PLAIN'
+                  branch-pattern: '{version}'
 
     <<: *lttng-ust_matrix_axes_defaults
     <<: *lttng-ust_builders_defaults
-    <<: *lttng-ust_publishers_gerrit
+    <<: *lttng-ust_publishers_review
 
     properties:
       - inject:
 
 
 - job-template:
-    name: dev_gerrit_lttng-ust_lttng-tools_{buildtype}
+    name: dev_review_lttng-ust_lttng-tools_{version}_{buildtype}
     defaults: lttng-ust
     concurrent: true
 
           skip-tag: true
 
     triggers:
-      - gerrit:
-          trigger-on:
-            - comment-added-event:
-                approval-category: 'CI-Build'
-                approval-value: 1
-          projects:
-            - project-compare-type: 'PLAIN'
-              project-pattern: 'lttng-ust'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**'
+      - gerrit: *lttng-ust_trigger_gerrit_defaults
 
-    <<: *lttng-ust_matrix_axes_gerrit_lttng-tools
-    <<: *lttng-ust_builders_gerrit_lttng-tools
-    <<: *lttng-ust_publishers_gerrit
+    <<: *lttng-ust_matrix_axes_review_lttng-tools
+    <<: *lttng-ust_builders_review_lttng-tools
+    <<: *lttng-ust_publishers_review
 
     properties:
       - inject:
 - job-template:
     name: lttng-ust_{version}_scan-build
     defaults: lttng-ust
-    node: 'bionic-amd64'
+    node: 'deb12-amd64'
 
     triggers:
       - pollscm:
     builders:
       - copyartifact:
           <<: *lttng-ust_steps_copyartifact_defaults
-          project: liburcu_master_build/platform=bionic-amd64,conf=std,build=std
+          project: liburcu_master_linuxbuild/platform=deb12-amd64,conf=std,build=std
       - shell:
           !include-raw-escape: scripts/common/scan-build.sh
 
 - job-template:
     name: lttng-ust_{version}_coverity
     defaults: lttng-ust
-    node: 'bionic-amd64'
+    node: 'deb12-amd64'
 
     triggers:
       - pollscm:
     builders:
       - copyartifact:
           <<: *lttng-ust_steps_copyartifact_defaults
-          project: liburcu_master_build/platform=bionic-amd64,conf=std,build=std
+          project: liburcu_master_linuxbuild/platform=deb12-amd64,conf=std,build=std
       - shell:
           !include-raw-escape: scripts/common/coverity.sh
 
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: linuxbuild
           version: master
-          platforms: !!python/tuple [jammy-amd64]
-          builds: !!python/tuple [std, dist, oot, oot-dist]
-          confs: !!python/tuple [std, agents, debug-rcu, tls_fallback]
-          liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
-          filter: '(build=="std") || ((liburcu_version=="master" && (conf=="std" || conf=="agents")))'
-          touchstone: ''
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
-          buildtype: build
-          version: master
-          platforms: !!python/tuple [bionic-amd64]
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, dist, oot, oot-dist]
           confs: !!python/tuple [std, agents, debug-rcu, tls_fallback]
           liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: portbuild
           version: master
-          platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
+          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std, agents]
           liburcu_versions: !!python/tuple [stable-0.13, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: elbuild
           version: master
-          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
+          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           liburcu_versions: !!python/tuple [stable-0.13, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: yoctobuild
           version: master
-          platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+          platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           liburcu_versions: !!python/tuple [stable-0.13, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: linuxbuild
           version: stable-2.13
-          platforms: !!python/tuple [jammy-amd64]
-          builds: !!python/tuple [std, dist, oot, oot-dist]
-          confs: !!python/tuple [std, agents, debug-rcu, tls_fallback]
-          liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
-          filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
-          touchstone: ''
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
-          buildtype: build
-          version: stable-2.13
-          platforms: !!python/tuple [bionic-amd64]
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, dist, oot, oot-dist]
           confs: !!python/tuple [std, agents, debug-rcu, tls_fallback]
           liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.13
-          platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
+          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std, agents]
           liburcu_versions: !!python/tuple [stable-0.13, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: elbuild
           version: stable-2.13
-          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
+          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           liburcu_versions: !!python/tuple [stable-0.13, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: yoctobuild
           version: stable-2.13
-          platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+          platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           liburcu_versions: !!python/tuple [stable-0.13, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: linuxbuild
           version: stable-2.12
-          platforms: !!python/tuple [jammy-amd64]
-          builds: !!python/tuple [std, dist, oot, oot-dist]
-          confs: !!python/tuple [std, agents, debug-rcu, tls_fallback]
-          liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
-          filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
-          touchstone: ''
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
-          buildtype: build
-          version: stable-2.12
-          platforms: !!python/tuple [bionic-amd64]
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, dist, oot, oot-dist]
           confs: !!python/tuple [std, agents, debug-rcu, tls_fallback]
           liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.12
-          platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
+          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std, agents]
           liburcu_versions: !!python/tuple [stable-0.13, master]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: elbuild
           version: stable-2.12
-          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
+          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           liburcu_versions: !!python/tuple [stable-0.13]
       - '{job_prefix}lttng-ust_{version}_{buildtype}':
           buildtype: yoctobuild
           version: stable-2.12
-          platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+          platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           liburcu_versions: !!python/tuple [stable-0.13]
       - 'lttng-ust_{version}_scan-build':
           version: stable-2.12
 
-
 - project:
-    name: lttng-ust-dev-upstream
-    job_prefix: dev_upstream_
+    name: review-lttng-ust
+    job_prefix: ''
     github_user: lttng
     github_name: lttng-ust
-    email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
     jobs:
-      ## Stable 2.11 ##
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
+    ## master ##
+      - 'dev_review_lttng-ust_{version}_{buildtype}':
+          version: master
           buildtype: linuxbuild
-          version: stable-2.11
-          platforms: !!python/tuple [jammy-amd64]
-          builds: !!python/tuple [std, dist, oot, oot-dist]
-          confs: !!python/tuple [std, agents, debug-rcu, tls_fallback]
-          liburcu_versions: !!python/tuple [stable-0.11]
-          filter: '(build=="std") || (conf=="std" || conf=="agents")'
+          platforms: !!python/tuple [deb12-amd64]
+          builds: !!python/tuple [std, oot, dist, oot-dist]
+          confs: !!python/tuple [std, agents]
+          liburcu_versions: !!python/tuple [stable-0.14]
+          filter: ''
+          touchstone: '(build == "std") && (conf == "std")'
+      - 'dev_review_lttng-ust_lttng-tools_{version}_{buildtype}':
+          version: master
+          buildtype: linuxbuild
+          platforms: !!python/tuple [deb12-amd64]
+          builds: !!python/tuple [std, oot, dist, oot-dist]
+          confs: !!python/tuple [std, agents]
+          filter: ''
           touchstone: ''
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
+          liburcu_version: stable-0.14
+          babeltrace_version: stable-2.0
+      - 'dev_review_lttng-ust_{version}_{buildtype}':
+          version: master
           buildtype: portbuild
-          version: stable-2.11
-          platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
+          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
           builds: !!python/tuple [std]
           confs: !!python/tuple [agents]
-          liburcu_versions: !!python/tuple [stable-0.11]
+          liburcu_versions: !!python/tuple [stable-0.14]
           filter: ''
-          touchstone: ''
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
-          buildtype: slesbuild
-          version: stable-2.11
-          platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
+          touchstone: '(platform == "deb12-i386")'
+      - 'dev_review_lttng-ust_{version}_{buildtype}':
+          version: master
+          buildtype: freebsdbuild
+          platforms: !!python/tuple [freebsd-amd64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [agents]
-          liburcu_versions: !!python/tuple [stable-0.11]
-          filter: ''
-          touchstone: ''
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
-          buildtype: elbuild
-          version: stable-2.11
-          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [std]
-          liburcu_versions: !!python/tuple [stable-0.11]
+          liburcu_versions: !!python/tuple [stable-0.14]
           filter: ''
           touchstone: ''
 
-      ## Stable 2.10 ##
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
+      ## Stable 2.13 ##
+      - 'dev_review_lttng-ust_{version}_{buildtype}':
+          version: stable-2.13
           buildtype: linuxbuild
-          version: stable-2.10
-          platforms: !!python/tuple [jammy-amd64]
-          builds: !!python/tuple [std, dist, oot, oot-dist]
-          confs: !!python/tuple [std, agents, debug-rcu, tls_fallback]
-          liburcu_versions: !!python/tuple [stable-0.9]
-          filter: '(build=="std") || (conf=="std" || conf=="agents")'
-          touchstone: ''
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
-          buildtype: portbuild
-          version: stable-2.10
-          platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [agents]
-          liburcu_versions: !!python/tuple [stable-0.9]
+          platforms: !!python/tuple [deb12-amd64]
+          builds: !!python/tuple [std, oot, dist, oot-dist]
+          confs: !!python/tuple [std, agents]
+          liburcu_versions: !!python/tuple [stable-0.13]
           filter: ''
-          touchstone: ''
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
-          buildtype: slesbuild
-          version: stable-2.10
-          platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [agents]
-          liburcu_versions: !!python/tuple [stable-0.9]
+          touchstone: '(build == "std") && (conf == "std")'
+      - 'dev_review_lttng-ust_lttng-tools_{version}_{buildtype}':
+          version: stable-2.13
+          buildtype: linuxbuild
+          platforms: !!python/tuple [deb12-amd64]
+          builds: !!python/tuple [std, oot, dist, oot-dist]
+          confs: !!python/tuple [std, agents]
           filter: ''
           touchstone: ''
-      - '{job_prefix}lttng-ust_{version}_{buildtype}':
-          buildtype: elbuild
-          version: stable-2.10
-          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
+          liburcu_version: stable-0.13
+          babeltrace_version: stable-2.0
+      - 'dev_review_lttng-ust_{version}_{buildtype}':
+          version: stable-2.13
+          buildtype: portbuild
+          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
           builds: !!python/tuple [std]
-          confs: !!python/tuple [std]
-          liburcu_versions: !!python/tuple [stable-0.9]
+          confs: !!python/tuple [agents]
+          liburcu_versions: !!python/tuple [stable-0.13]
           filter: ''
-          touchstone: ''
+          touchstone: '(platform == "deb12-i386")'
 
-
-- project:
-    name: gerrit-lttng-ust
-    job_prefix: ''
-    github_user: lttng
-    github_name: lttng-ust
-    jobs:
-      - 'dev_gerrit_lttng-ust_{buildtype}':
-          buildtype: build
-          platforms: !!python/tuple [bionic-amd64]
+      ## Stable 2.12 ##
+      - 'dev_review_lttng-ust_{version}_{buildtype}':
+          version: stable-2.12
+          buildtype: linuxbuild
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, agents]
-          liburcu_versions: !!python/tuple [stable-0.14]
+          liburcu_versions: !!python/tuple [stable-0.13]
           filter: ''
-          touchstone: ''
-      - 'dev_gerrit_lttng-ust_lttng-tools_{buildtype}':
-          buildtype: build
-          platforms: !!python/tuple [bionic-amd64]
+          touchstone: '(build == "std") && (conf == "std")'
+      - 'dev_review_lttng-ust_lttng-tools_{version}_{buildtype}':
+          version: stable-2.12
+          buildtype: linuxbuild
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, agents]
           filter: ''
           touchstone: ''
-          liburcu_version: stable-0.14
+          liburcu_version: stable-0.13
           babeltrace_version: stable-2.0
-      - 'dev_gerrit_lttng-ust_{buildtype}':
+      - 'dev_review_lttng-ust_{version}_{buildtype}':
+          version: stable-2.12
           buildtype: portbuild
-          platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
+          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
           builds: !!python/tuple [std]
           confs: !!python/tuple [agents]
-          liburcu_versions: !!python/tuple [stable-0.14]
-          filter: ''
-          touchstone: ''
-      - 'dev_gerrit_lttng-ust_{buildtype}':
-          buildtype: freebsdbuild
-          platforms: !!python/tuple [freebsd-amd64]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [agents]
-          liburcu_versions: !!python/tuple [stable-0.14]
+          liburcu_versions: !!python/tuple [stable-0.13]
           filter: ''
-          touchstone: ''
+          touchstone: '(platform == "deb12-i386")'
 
 - project:
     name: lttng-ust-views
This page took 0.031256 seconds and 4 git commands to generate.