jjb: lttng-analyses: Move build to jammy-amd64 nodes
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 5 Jul 2022 19:32:41 +0000 (15:32 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 18 Jul 2022 18:26:47 +0000 (14:26 -0400)
Change-Id: I7b36ae16925ee5313f9d66ac7056a290f4335263
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/lttng-analyses.yaml
scripts/lttng-analyses/pylint.sh

index 53c3d2fec5b10f0c28efbc8c54ee57558f9b3a4d..e06a60c1e3aa4faecce9a48516d3c72a72bbc580 100644 (file)
@@ -8,10 +8,14 @@
     project-type: freestyle
 
     wrappers:
-      - workspace-cleanup
-      - timestamps
       - ansicolor:
           colormap: xterm
+      - timeout:
+          timeout: 10
+          fail: true
+          type: no-activity
+      - timestamps
+      - workspace-cleanup
       - credentials-binding:
           - username-password-separated:
               credential-id: lttng-analyses_codecov_token
@@ -41,7 +45,7 @@
 
 ## Templates
 - job-template:
-    name: lttng-analyses_{version}_build
+    name: lttng-analyses_{version}_linuxbuild
     defaults: lttng-analyses
 
     project-type: matrix
     axes:
       - axis:
          type: slave
-         name: arch
-         values: '{obj:arch}'
+         name: platform
+         values: '{obj:platforms}'
       - axis:
          type: user-defined
          name: babeltrace_version
-         values: '{obj:babeltrace_version}'
+         values: '{obj:babeltrace_versions}'
 
     builders:
       - copyartifact:
-          project: babeltrace_${{babeltrace_version}}_build/arch=${{arch}},build=std,conf=python-bindings
+          project: dev_upstream_babeltrace_${{babeltrace_version}}_linuxbuild/platform=${{platform}},build=std,conf=python-bindings
           which-build: last-successful
           stable: false
           filter: 'build/**'
          !include-raw-escape: scripts/lttng-analyses/build.sh
 
     publishers:
-#      - archive:
-#          artifacts: 'build/**'
-#          allow-empty: false
-       - email-ext:
+      - workspace-cleanup: &lttng-analyses_publisher_workspace-cleanup_defaults
+          clean-if:
+            - failure: false
+      - email-ext: &lttng-analyses_publisher_email_ext_defaults
           recipients: '{obj:email_to}'
           reply-to: ci-notification@lists.lttng.org
           always: false
 - job-template:
     name: lttng-analyses_{version}_pylint
     defaults: lttng-analyses
-    node: 'amd64'
+    node: 'jammy-amd64'
 
     triggers:
       - pollscm:
 
     builders:
        - copyartifact:
-           project: babeltrace_{babeltrace_version}_build/arch=amd64,build=std,conf=python-bindings
+           project: dev_upstream_babeltrace_{babeltrace_version}_linuxbuild/platform=jammy-amd64,build=std,conf=python-bindings
            which-build: last-successful
            stable: false
            filter: 'build/**'
 
     publishers:
       - archive:
-          artifacts: 'pep8.out,pylint.out'
-      - 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
+          artifacts: 'pylint.out'
+      - workspace-cleanup: *lttng-analyses_publisher_workspace-cleanup_defaults
+      - email-ext: *lttng-analyses_publisher_email_ext_defaults
+
 
 ## Project
 - project:
     version:
       - master
     jobs:
-      - 'lttng-analyses_{version}_build':
-          arch: !!python/tuple [amd64]
-          babeltrace_version: !!python/tuple [stable-1.5]
+      - 'lttng-analyses_{version}_linuxbuild':
+          platforms: !!python/tuple [jammy-amd64]
+          babeltrace_versions: !!python/tuple [stable-1.5]
       - 'lttng-analyses_{version}_pylint':
           babeltrace_version: stable-1.5
 
index 7f3ec6e87eb30fc01b987c356cd5a1786afaa92c..a4b38b0e675cc575c8eb73583a4130cbe50042b1 100755 (executable)
@@ -43,10 +43,8 @@ set +ux
 set -ux
 
 pip install --quiet pylint
-pip install --quiet pep8
 
 
 cd "$SRCDIR"
 
-pep8 lttnganalyses | tee "$WORKSPACE/pep8.out"
 pylint -f parseable --ignore="_version.py" --disable=C0111 lttnganalyses | tee "$WORKSPACE/pylint.out"
This page took 0.025254 seconds and 4 git commands to generate.