jjb: Add dev_gerrit_babeltrace_black
[lttng-ci.git] / jobs / lttng-tools.yaml
index 3e4d895a67f077f6c4c9d60b4e4487b1ae8fe915..8b9aea9c05164322e19ded20a2842fad660d89dd 100644 (file)
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/liburcu'
+                target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
                 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/babeltrace'
+                target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
                 project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/lttng-ust'
+                target: 'deps'
                 do-not-fingerprint: true
       - conditional-step:
           condition-kind: regex-match
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/liburcu'
+                target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
                 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/babeltrace'
+                target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
                 project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/lttng-ust'
+                target: 'deps'
                 do-not-fingerprint: true
       - conditional-step:
           condition-kind: regex-match
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/liburcu'
+                target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
                 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/babeltrace'
+                target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
                 project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/lttng-ust'
+                target: 'deps'
                 do-not-fingerprint: true
       - conditional-step:
           condition-kind: regex-match
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/liburcu'
+                target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
                 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/babeltrace'
+                target: 'deps'
                 do-not-fingerprint: true
       - conditional-step:
           condition-kind: regex-match
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/liburcu'
+                target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
                 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/babeltrace'
+                target: 'deps'
                 do-not-fingerprint: true
             - copyartifact:
                 project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=debug-rcu,build=std
                 which-build: last-successful
                 stable: false
                 filter: 'build/**'
-                target: 'deps/lttng-ust'
+                target: 'deps'
                 do-not-fingerprint: true
       - shell:
          !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh
           which-build: last-successful
           stable: false
           filter: 'build/**'
-          target: 'deps/liburcu'
+          target: 'deps'
           do-not-fingerprint: true
       - copyartifact:
           project: babeltrace_${{babeltrace_version}}_winbuild/arch=${{arch}},conf=std,build=std
           which-build: last-successful
           stable: false
           filter: 'build/**'
-          target: 'deps/babeltrace'
+          target: 'deps'
           do-not-fingerprint: true
       - conditional-step:
           condition-kind: strings-match
                   - shell:
                       !include-raw-escape: scripts/lttng-tools/hang_processes.sh
       - tap:
-          results: 'tap/**/*.tap'
+          results: 'tap/**/*.*'
+          fail-if-no-results: true
           failed-tests-mark-build-as-failure: true
           todo-is-failure: false
       - warnings:
               total-normal: 0
               total-low: 0
       - archive:
-          artifacts: 'build/**, deps/**'
+          artifacts: 'build/**,deps/**,tap/**'
           allow-empty: false
       - workspace-cleanup:
           clean-if:
                   - shell:
                       !include-raw-escape: scripts/lttng-tools/hang_processes.sh
       - tap:
-          results: 'tap/**/*.tap'
+          results: 'tap/**/*.*'
+          fail-if-no-results: true
           failed-tests-mark-build-as-failure: true
           todo-is-failure: false
       - warnings:
           clean-if:
             - failure: false
       - archive:
-          artifacts: 'build/**, deps/**'
+          artifacts: 'build/**,deps/**,tap/**'
           allow-empty: false
       - email-ext:
           recipients: '{obj:email_to}'
     name: 'lttng-tools_build_publishers_win'
     publishers:
       - tap:
-          results: 'tap/**/*.tap'
+          results: 'tap/**/*.*'
+          fail-if-no-results: true
           failed-tests-mark-build-as-failure: true
           todo-is-failure: false
       - warnings:
           clean-if:
             - failure: false
       - archive:
-          artifacts: 'build/**, deps/**'
+          artifacts: 'build/**,deps/**,tap/**'
           allow-empty: false
       - email-ext:
           recipients: '{obj:email_to}'
           allow-empty: false
       - workspace-cleanup
 
-# TODO
-- job-template:
-    name: lttng-tools_{version}_pylint
-    defaults: lttng-tools
-    node: 'amd64'
-
-    scm: []
 
-    triggers:
-      - pollscm:
-          cron: "@daily"
-
-    builders:
-       - copyartifact:
-           project: lttng-tools-{version}/arch=amd64,build=std,conf=agents
-           which-build: last-successful
-           stable: false
-           filter: 'build/**'
-           target: 'deps/lttng-tools'
-           do-not-fingerprint: true
-       - shell:
-          !include-raw-escape: scripts/lttng-tools/pylint.sh
+## Views
+- view-template:
+    name: 'LTTng-tools'
+    view-type: list
+    regex: 'lttng-tools[-_].*'
 
-    publishers:
-      - archive:
-          artifacts: 'pep8.out,pylint.out'
-      - violations:
-          pep8:
-            pattern: pep8.out
-            min: 10
-            max: 999
-            unstable: 999
-          pylint:
-            pattern: pylint.out
-            min: 10
-            max: 999
-            unstable: 999
-      - email-ext:
-          recipients: 'ci-notification@lists.lttng.org'
-          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
 
-## Project
+## Projects
 - project:
     name: lttng-tools
     github_user: lttng
     github_name: lttng-tools
     email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
     version:
-      - stable-2.7
       - stable-2.8
       - stable-2.9
       - stable-2.10
           build: !!python/tuple [std, oot, dist]
           conf: !!python/tuple [std, no-ust, agents, debug-rcu]
           urcuversion: !!python/tuple [stable-0.9]
-          babelversion: !!python/tuple [stable-1.4]
+          babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           build: !!python/tuple [std]
           conf: !!python/tuple [std, no-ust, agents]
           urcuversion: !!python/tuple [stable-0.9]
-          babelversion: !!python/tuple [stable-1.4]
+          babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: slesbuild
           build: !!python/tuple [std]
           conf: !!python/tuple [std]
           urcuversion: !!python/tuple [stable-0.9]
-          babelversion: !!python/tuple [stable-1.4]
+          babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: solarisbuild
           build: !!python/tuple [std]
           conf: !!python/tuple [relayd-only]
           urcuversion: !!python/tuple [stable-0.9]
-          babelversion: !!python/tuple [stable-1.4]
+          babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
 
       # stable-2.7 #
-      - 'lttng-tools_{version}_{buildtype}':
-          buildtype: build
-          version: stable-2.7
-          ustversion: stable-2.7
-          arch: !!python/tuple [amd64]
-          build: !!python/tuple [std, oot, dist]
-          conf: !!python/tuple [std, no-ust, agents, debug-rcu]
-          urcuversion: !!python/tuple [stable-0.9]
-          babelversion: !!python/tuple [stable-1.5]
-          testtype: !!python/tuple [base]
-      - 'lttng-tools_{version}_{buildtype}':
-          buildtype: portbuild
-          version: stable-2.7
-          ustversion: stable-2.7
-          arch: !!python/tuple [armhf, arm64, powerpc]
-          build: !!python/tuple [std]
-          conf: !!python/tuple [std, no-ust, agents]
-          urcuversion: !!python/tuple [stable-0.9]
-          babelversion: !!python/tuple [stable-1.5]
-          testtype: !!python/tuple [base]
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: slesbuild
           version: stable-2.7
           version: stable-2.8
           urcuversion: stable-0.9
           ustversion: stable-2.8
-      - 'lttng-tools_{version}_scan-build':
-          version: stable-2.7
-          urcuversion: stable-0.9
-          ustversion: stable-2.7
-      #- 'lttng-tools_{version}_pylint'
       - 'lttng-tools_{version}_coverity':
           version: master
           urcuversion: master
           build: !!python/tuple [std, oot, dist]
           conf: !!python/tuple [std, no-ust, agents]
           urcuversion: !!python/tuple [stable-0.9]
-          babelversion: !!python/tuple [stable-1.4]
-          testtype: !!python/tuple [base]
-      - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: build
-          version: stable-2.7-staging
-          ustversion: stable-2.7
-          arch: !!python/tuple [amd64]
-          build: !!python/tuple [std, oot, dist]
-          conf: !!python/tuple [std, no-ust, agents]
-          urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           build: !!python/tuple [std]
           conf: !!python/tuple [std, no-ust, agents]
           urcuversion: !!python/tuple [stable-0.9]
-          babelversion: !!python/tuple [stable-1.4]
-          testtype: !!python/tuple [base]
-      - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: portbuild
-          version: stable-2.7-staging
-          ustversion: stable-2.7
-          arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
-          build: !!python/tuple [std]
-          conf: !!python/tuple [std, no-ust, agents]
-          urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+
+- project:
+    name: lttng-tools-views
+    views:
+      - LTTng-tools
This page took 0.028207 seconds and 4 git commands to generate.