jjb: lttng-tools: remove process cleaner from rootbuild jobs
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 27 Jun 2023 20:56:41 +0000 (16:56 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 27 Jun 2023 20:57:47 +0000 (16:57 -0400)
Since 'rootbuild' jobs run as root in ephemeral VMs, it doesn't make
sense to try to kill all root owned process at the end of the build.

Change-Id: I814c31a40c9396cf5f96ae3310b14fe987cf546a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/lttng-tools.yaml

index 44e285e9a3889d7bfe60c29e5125501b97fb1874..de694072c1deb8ec53da13f192c52f7109b2dc20 100644 (file)
           send-to:
             - recipients
 
+- _lttng-tools_publishers_rootbuild: &lttng-tools_publishers_rootbuild
+    name: 'lttng-tools_publishers_rootbuild'
+    publishers:
+      - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort
+      - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure
+      - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps
+      - tap: *lttng-tools_publisher_tap_defaults
+      - raw: *lttng-tools_publisher_warnings-ng_defaults
+      - archive: *lttng-tools_publisher_archive_defaults
+      - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+      - ircbot: *lttng-tools_publisher_ircbot_defaults
+      - email-ext: *lttng-tools_publisher_email-ext_defaults
+
 - _lttng-tools_publishers_win: &lttng-tools_publishers_win
     name: 'lttng-tools_publishers_win'
     publishers:
 
     <<: *lttng-tools_matrix_axes_rootbuild
     <<: *lttng-tools_builders_defaults
-    <<: *lttng-tools_publishers_defaults
+    <<: *lttng-tools_publishers_rootbuild
 
     triggers:
       - pollscm: *lttng-tools_trigger_pollscm_default
 
     <<: *lttng-tools_matrix_axes_rootbuild
     <<: *lttng-tools_builders_defaults
-    <<: *lttng-tools_publishers_defaults
+    <<: *lttng-tools_publishers_rootbuild
 
     triggers:
       - pollscm: *lttng-tools_trigger_pollscm_default
       - raw: *lttng-tools_publisher_warnings-ng_defaults
       - archive: *lttng-tools_publisher_archive_defaults
       - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
-      - raw: *lttng-tools_publisher_proc-cleaner_defaults
 
 - job-template:
     name: 'dev_review_lttng-tools_{version}_check-format'
This page took 0.024208 seconds and 4 git commands to generate.