From ee4b760abf60e1d139cab33d5d5f0f4403723b8e Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 6 Apr 2023 16:24:40 -0400 Subject: [PATCH] jjb: add ircbot in #lttng-ci Change-Id: I1db5a433cdb77cb32d8d52666cc1449b1f013079 Signed-off-by: Michael Jeanson --- jobs/babeltrace.yaml | 8 ++++++++ jobs/barectf.yaml | 8 ++++++++ jobs/librseq.yaml | 4 ++++ jobs/liburcu.yaml | 6 ++++++ jobs/lttng-analyses.yaml | 5 +++++ jobs/lttng-modules.yaml | 5 +++++ jobs/lttng-tools.yaml | 9 +++++++++ jobs/lttng-ust-java-tests.yaml | 26 ++++---------------------- jobs/lttng-ust.yaml | 6 ++++++ jobs/lttng-www.yaml | 4 ++++ 10 files changed, 59 insertions(+), 22 deletions(-) diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index 931e274..60cfba5 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -220,6 +220,10 @@ - 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 - email-ext: &babeltrace_publisher_email-ext_defaults recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -383,6 +387,7 @@ artifacts: 'out/**,tap/**' allow-empty: false fingerprint: true + - ircbot: *babeltrace_publisher_ircbot_defaults - job-template: name: dev_gerrit_babeltrace_pylint @@ -443,6 +448,7 @@ name: 'HTML Report' dir: 'scan-build-archive/' files: 'index.html' + - ircbot: *babeltrace_publisher_ircbot_defaults - job-template: name: babeltrace_{version}_coverity @@ -473,6 +479,7 @@ - archive: artifacts: 'analysis-results.tgz,cov-int/**' allow-empty: false + - ircbot: *babeltrace_publisher_ircbot_defaults - job-template: name: babeltrace_{version}_pylint @@ -492,6 +499,7 @@ - archive: artifacts: 'black.out,flake8.out' allow-empty: false + - ircbot: *babeltrace_publisher_ircbot_defaults - email-ext: *babeltrace_publisher_email-ext_defaults - job-template: diff --git a/jobs/barectf.yaml b/jobs/barectf.yaml index 180e6a9..5c5949b 100644 --- a/jobs/barectf.yaml +++ b/jobs/barectf.yaml @@ -47,6 +47,10 @@ - workspace-cleanup: &barectf_publisher_workspace_cleanup_defaults clean-if: - failure: false + - ircbot: &barectf_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations ## Templates ## @@ -68,6 +72,7 @@ publishers: - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults + - ircbot: *barectf_publisher_ircbot_defaults - email-ext: recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -138,6 +143,9 @@ - shell: !include-raw-escape: scripts/barectf/build.sh + publishers: + - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults + ## Views ## - view-template: diff --git a/jobs/librseq.yaml b/jobs/librseq.yaml index e6ae6f4..31487e6 100644 --- a/jobs/librseq.yaml +++ b/jobs/librseq.yaml @@ -155,6 +155,10 @@ - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults clean-if: - failure: false + - ircbot: &librseq_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations - email-ext: &librseq_publisher_email-ext_defaults recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index 41f4eae..fc8672e 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -164,6 +164,10 @@ - workspace-cleanup: &liburcu_publisher_workspace_cleanup_defaults clean-if: - failure: false + - ircbot: &liburcu_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations - email-ext: &liburcu_publisher_email_ext_defaults recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -250,6 +254,7 @@ dir: 'scan-build-archive/' files: 'index.html' - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults + - ircbot: *liburcu_publisher_ircbot_defaults - job-template: name: liburcu_{version}_coverity @@ -280,6 +285,7 @@ artifacts: 'analysis-results.tgz,cov-int/**' allow-empty: false - workspace-cleanup: *liburcu_publisher_workspace_cleanup_defaults + - ircbot: *liburcu_publisher_ircbot_defaults ## Views diff --git a/jobs/lttng-analyses.yaml b/jobs/lttng-analyses.yaml index 98ff15e..f31c9a7 100644 --- a/jobs/lttng-analyses.yaml +++ b/jobs/lttng-analyses.yaml @@ -75,6 +75,10 @@ - workspace-cleanup: <tng-analyses_publisher_workspace-cleanup_defaults clean-if: - failure: false + - ircbot: <tng-analyses_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations - email-ext: <tng-analyses_publisher_email_ext_defaults recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -121,6 +125,7 @@ - archive: artifacts: 'pylint.out' - workspace-cleanup: *lttng-analyses_publisher_workspace-cleanup_defaults + - ircbot: *lttng-analyses_publisher_ircbot_defaults - email-ext: *lttng-analyses_publisher_email_ext_defaults diff --git a/jobs/lttng-modules.yaml b/jobs/lttng-modules.yaml index 41f0a06..1a80e88 100644 --- a/jobs/lttng-modules.yaml +++ b/jobs/lttng-modules.yaml @@ -189,6 +189,10 @@ publishers: - workspace-cleanup + - ircbot: <tng-modules_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations - email-ext: recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -617,6 +621,7 @@ - archive: artifacts: 'analysis-results.tgz,cov-int/**' allow-empty: false + - ircbot: *lttng-modules_publisher_ircbot_defaults - workspace-cleanup diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index ae5dad7..df09f85 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -438,6 +438,11 @@ clean-if: - failure: false + - ircbot: <tng-tools_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations + - email-ext: <tng-tools_publisher_email-ext_defaults recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -468,6 +473,7 @@ - raw: *lttng-tools_publisher_warnings-ng_defaults - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults - archive: *lttng-tools_publisher_archive_defaults + - ircbot: *lttng-tools_publisher_ircbot_defaults - email-ext: *lttng-tools_publisher_email-ext_defaults ## Templates @@ -739,6 +745,7 @@ allow-empty: false fingerprint: true - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - ircbot: *lttng-tools_publisher_ircbot_defaults - job-template: name: lttng-tools_{version}_scan-build @@ -764,6 +771,7 @@ name: 'HTML Report' dir: 'scan-build-archive/' files: 'index.html' + - ircbot: *lttng-tools_publisher_ircbot_defaults - job-template: name: lttng-tools_{version}_coverity @@ -800,6 +808,7 @@ artifacts: 'analysis-results.tgz,cov-int/**' allow-empty: false - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - ircbot: *lttng-tools_publisher_ircbot_defaults ## Views diff --git a/jobs/lttng-ust-java-tests.yaml b/jobs/lttng-ust-java-tests.yaml index bc53700..166032c 100644 --- a/jobs/lttng-ust-java-tests.yaml +++ b/jobs/lttng-ust-java-tests.yaml @@ -125,6 +125,10 @@ - junit: results: 'lttng-ust-java-tests/**/target/failsafe-reports/*.xml' - workspace-cleanup + - ircbot: <tng-ust-java-tests_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations - email-ext: recipients: '{obj:email_for_all_failure}' always: false @@ -146,28 +150,6 @@ matrix-trigger: only-parent send-to: - recipients - - 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 ## Project - project: diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml index cbc2054..a500f36 100644 --- a/jobs/lttng-ust.yaml +++ b/jobs/lttng-ust.yaml @@ -243,6 +243,10 @@ - workspace-cleanup: <tng-ust_publisher_workspace-cleanup_defaults clean-if: - failure: false + - ircbot: <tng-ust_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations - email-ext: <tng-ust_publisher_email-ext_defaults recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org @@ -433,6 +437,7 @@ dir: 'scan-build-archive/' files: 'index.html' - workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults + - ircbot: *lttng-ust_publisher_ircbot_defaults - job-template: @@ -467,6 +472,7 @@ artifacts: 'analysis-results.tgz,cov-int/**' allow-empty: false - workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults + - ircbot: *lttng-ust_publisher_ircbot_defaults ## Views diff --git a/jobs/lttng-www.yaml b/jobs/lttng-www.yaml index 485875b..eb9de45 100644 --- a/jobs/lttng-www.yaml +++ b/jobs/lttng-www.yaml @@ -35,6 +35,10 @@ - lttng-www publishers: + - ircbot: + strategy: statechange-only + message-type: summary-scm + matrix-notifier: only-configurations - email-ext: recipients: 'ci-notification@lists.lttng.org' reply-to: ci-notification@lists.lttng.org -- 2.34.1