From 7b3935f6bd5932e46d038b0cf44c5200d74a07a0 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 21 Sep 2023 09:04:32 +0200 Subject: [PATCH] ci: Packit: Enable failure notifications for cockpit tests Configure packit to automatically notify relevant Cockpit team members when one of the "cockpit-revdeps" tests fails. See https://packit.dev/docs/configuration/#failure_comment --- .packit.yaml | 3 +++ plans/cockpit.fmf | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index f00425a12..573920eb9 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -30,6 +30,9 @@ jobs: - job: tests identifier: revdeps trigger: pull_request + notifications: + failure_comment: + message: "Cockpit tests failed for commit {commit_sha}. @martinpitt, @jelly, @mvollmer please check." targets: - fedora-rawhide-x86_64 - fedora-latest-x86_64 diff --git a/plans/cockpit.fmf b/plans/cockpit.fmf index 3906483f7..c418547ec 100644 --- a/plans/cockpit.fmf +++ b/plans/cockpit.fmf @@ -1,6 +1,6 @@ # reverse dependency test for https://github.com/cockpit-project/cockpit -# if this fails in a non-obvious way, please contact the cockpit team in your PR for investigation: -# @martinpitt, @marusak, @mvollmer +# packit should automatically notify the cockpit maintainers on failures. +# For questions, please contact @martinpitt, @jelly, @mvollmer enabled: false adjust+: