jjb: babeltrace: use clang-format-16
[lttng-ci.git] / jobs / lttng-ivc.yaml
index 5c9c7bb1ef59f2189710fe274427194dde9b7780..8c58f114e884b588bf2f6604e495947274a16ad7 100644 (file)
@@ -15,7 +15,7 @@
 
     scm:
       - git:
-          url: git://github.com/{github_user}/{github_name}.git
+          url: https://github.com/{github_user}/{github_name}.git
           browser: githubweb
           browser-url: https://github.com/{github_user}/{github_name}
           branches:
@@ -28,7 +28,8 @@
 
     properties:
       - build-discarder:
-          num-to-keep: 2
+          num-to-keep: 10
+          artifact-num-to-keep: 2
       - github:
           url: https://github.com/{github_user}/{github_name}
 
     axes:
       - axis:
          type: slave
-         name: arch
-         values: '{obj:arch}'
+         name: platform
+         values: '{obj:platforms}'
       - axis:
          type: user-defined
          name: liburcu_version
          values: '{obj:liburcu_version}'
 
     builders:
-      - copyartifact:
-          project: liburcu_${{liburcu_version}}_build/arch=${{arch}},conf=std,build=std
-          which-build: last-successful
-          stable: false
-          filter: 'build/**'
-          target: 'deps/liburcu'
       - shell:
          !include-raw-escape: scripts/lttng-ivc/build.sh
 
     publishers:
       - archive:
-          artifacts: 'artifacts/**'
+          artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**'
+          follow-symlinks: true
+          allow-empty: false
+      - junit:
+          results: result.xml
+      - workspace-cleanup
+      - email-ext:
+          recipients: '{obj:email_to}'
+          reply-to: ci-notification@lists.lttng.org
+          always: false
+          unstable: false
+          first-failure: true
+          first-unstable: true
+          not-built: false
+          aborted: false
+          regression: false
+          failure: false
+          second-failure: false
+          improvement: false
+          still-failing: false
+          success: false
+          fixed: false
+          fixed-unhealthy: true
+          still-unstable: false
+          pre-build: false
+          matrix-trigger: only-parent
+          send-to:
+            - recipients
+
+- job-template:
+    name: lttng-ivc-{version}-modules
+    defaults: lttng-ivc
+
+    project-type: matrix
+    node: 'master' # Applies only to matrix flyweight task
+    axes:
+      - axis:
+         type: slave
+         name: slave
+         values: '{obj:slave}'
+      - axis:
+         type: user-defined
+         name: platform
+         values: '{obj:platforms}'
+      - axis:
+         type: user-defined
+         name: liburcu_version
+         values: '{obj:liburcu_version}'
+
+    builders:
+      - shell:
+         !include-raw-escape: scripts/lttng-ivc/build.sh
+
+    publishers:
+      - archive:
+          artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**'
+          follow-symlinks: true
           allow-empty: false
       - junit:
           results: result.xml
     name: lttng-ivc
     github_user: lttng
     github_name: lttng-ivc
-    email_to: "ci-notification@lists.lttng.org, cc:joraj@efficios.com"
+    email_to: "ci-notification@lists.lttng.org"
     version:
       - staging
       - master
     jobs:
       - 'lttng-ivc-{version}':
           version: master
-          arch: !!python/tuple [x86-32, x86-64]
+          platforms: !!python/tuple [deb12-amd64]
           liburcu_version: !!python/tuple [master]
       - 'lttng-ivc-{version}':
-          # Send only to maintainer
-          email_to: "joraj@efficios.com"
           version: staging
-          arch: !!python/tuple [x86-32, x86-64]
+          platforms: !!python/tuple [deb12-amd64]
           liburcu_version: !!python/tuple [master]
+      - 'lttng-ivc-{version}-modules':
+         version: master
+         platforms: !!python/tuple [deb12-amd64]
+         slave: !!python/tuple [amd64-rootnode-linux5]
+         liburcu_version: !!python/tuple [master]
 
This page took 0.023787 seconds and 4 git commands to generate.