jjb: Remove 'jammy-amd64' platform from all jobs
[lttng-ci.git] / jobs / babeltrace.yaml
index 17821d69e035770098e731993b2e3cbd68f15343..7a663bafa8d927c8230ca11f6859e346191c48c3 100644 (file)
             </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
       - archive: &babeltrace_publisher_archive_defaults
           artifacts: 'build/**,tap/**,log/**'
+          follow-symlinks: true
           allow-empty: false
       - workspace-cleanup: &babeltrace_publisher_workspace-cleanup_defaults
           clean-if:
             - failure: false
       - ircbot: &babeltrace_publisher_ircbot_defaults
           strategy: statechange-only
-          message-type: summary-scm
-          matrix-notifier: only-configurations
+          message-type: summary
+          matrix-notifier: only-parent
       - email-ext: &babeltrace_publisher_email-ext_defaults
           recipients: '{obj:email_to}'
           reply-to: ci-notification@lists.lttng.org
                 <io.jenkins.plugins.analysis.core.util.QualityGate>
                   <threshold>1</threshold>
                   <type>TOTAL</type>
-                  <status>FAILED</status>
+                  <status>{warnings_status}</status>
                 </io.jenkins.plugins.analysis.core.util.QualityGate>
               </qualityGates>
               <trendChartType>AGGREGATION_TOOLS</trendChartType>
       - gerrit: &babeltrace_trigger_gerrit_smoke
           trigger-on:
             - comment-added-event:
-                approval-category: 'Smoke-Build'
+                approval-category: 'Smoke-Build-Lvl1'
                 approval-value: 1
           projects:
             - project-compare-type: 'PLAIN'
     triggers:
       - gerrit: *babeltrace_trigger_gerrit_smoke
 
-    node: 'jammy-amd64'
+    node: 'deb12-amd64'
 
     builders:
       - shell:
-         !include-raw-escape: scripts/babeltrace/check-format.sh
+         !include-raw-escape: scripts/common/check-format.sh
 
     properties:
       - inject:
           days-to-keep: 1
 
     publishers:
+      - archive:
+          artifacts: 'clang-format-fixes.diff'
+          allow-empty: true
       - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
 
 - job-template:
     jobs:
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: linuxbuild
-          platforms: !!python/tuple [jammy-amd64]
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, static, prod, min, doc, asan]
           filter: '(build=="std") || (conf=="std") || (conf=="doc")'
           touchstone: '(build == "std") && (conf == "std")'
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           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 [std, prod]
           filter: ''
-          touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
+          touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")'
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: slesbuild
           platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
           touchstone: ''
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: elbuild
-          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, prod]
           filter: ''
       - stable-2.0
       - master
     jobs:
+    ## Master ##
       - 'dev_review_babeltrace_{version}_{buildtype}':
+          version: master
           buildtype: build
           platforms: !!python/tuple [bionic-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, static, prod, min]
           filter: ''
           touchstone: ''
+          warnings_status: FAILED
       - 'dev_review_babeltrace_{version}_{buildtype}':
+          version: master
           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 [std]
           filter: ''
           touchstone: ''
+          warnings_status: FAILED
       - 'dev_review_babeltrace_{version}_{buildtype}':
+          version: master
           buildtype: macosbuild
           platforms: !!python/tuple [macos-amd64, macos-arm64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std, prod]
           filter: ''
           touchstone: ''
+          warnings_status: FAILED
       - 'dev_review_babeltrace_{version}_{buildtype}':
+          version: master
           buildtype: winbuild
           platforms: !!python/tuple [cygwin64, msys2-mingw64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           filter: ''
           touchstone: ''
-      - 'dev_review_babeltrace_{version}_pylint'
-      - 'dev_review_babeltrace_{version}_smokebuild':
-          platforms: !!python/tuple [jammy-amd64]
+          warnings_status: FAILED
+
+      ## Stable 2.0 ##
+      - 'dev_review_babeltrace_{version}_{buildtype}':
+          version: stable-2.0
+          buildtype: build
+          platforms: !!python/tuple [bionic-amd64]
+          builds: !!python/tuple [std, oot, dist, oot-dist]
+          confs: !!python/tuple [std, static, prod, min]
+          filter: ''
+          touchstone: ''
+          warnings_status: WARNING
+      - 'dev_review_babeltrace_{version}_{buildtype}':
+          version: stable-2.0
+          buildtype: portbuild
+          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           filter: ''
           touchstone: ''
+          warnings_status: WARNING
+      - 'dev_review_babeltrace_{version}_{buildtype}':
+          version: stable-2.0
+          buildtype: macosbuild
+          platforms: !!python/tuple [macos-amd64, macos-arm64]
+          builds: !!python/tuple [std]
+          confs: !!python/tuple [std, prod]
+          filter: ''
+          touchstone: ''
+          warnings_status: WARNING
+      - 'dev_review_babeltrace_{version}_{buildtype}':
+          version: stable-2.0
+          buildtype: winbuild
+          platforms: !!python/tuple [cygwin64, msys2-mingw64]
+          builds: !!python/tuple [std]
+          confs: !!python/tuple [std]
+          filter: ''
+          touchstone: ''
+          warnings_status: WARNING
+
+      ## ALL ##
+      - 'dev_review_babeltrace_{version}_smokebuild':
+          platforms: !!python/tuple [deb12-amd64]
+          builds: !!python/tuple [oot-dist]
+          confs: !!python/tuple [std]
+          filter: ''
+          touchstone: ''
       - 'dev_review_babeltrace_{version}_check-format'
+      - 'dev_review_babeltrace_{version}_pylint'
 
 
 - project:
     jobs:
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: linuxbuild
-          platforms: !!python/tuple [jammy-amd64]
+          platforms: !!python/tuple [deb12-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
           confs: !!python/tuple [std, static, python-bindings]
           filter: ''
           touchstone: '(build == "std") && (conf == "std")'
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           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 [std, python-bindings]
           filter: ''
-          touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
+          touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")'
       - '{job_prefix}babeltrace_{version}_{buildtype}':
           buildtype: slesbuild
           platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
           filter: ''
           touchstone: ''
 
+- project:
+    name: babeltrace2-mjeanson
+    job_prefix: 'dev_mjeanson_'
+    github_user: efficios
+    github_name: babeltrace
+    email_to: "mjeanson@efficios.com"
+    version:
+      - master
+    jobs:
+      - '{job_prefix}babeltrace_{version}_{buildtype}':
+          buildtype: portbuild
+          platforms: !!python/tuple [sid-riscv64]
+          builds: !!python/tuple [std]
+          confs: !!python/tuple [std, prod]
+          filter: ''
+          touchstone: ''
+      - '{job_prefix}babeltrace_{version}_{buildtype}':
+          buildtype: build
+          platforms: !!python/tuple [deb12-amd64]
+          builds: !!python/tuple [std]
+          confs: !!python/tuple [std, prod]
+          filter: ''
+          touchstone: ''
+
 - project:
     name: babeltrace-views
     views:
This page took 0.029184 seconds and 4 git commands to generate.