From 0ec63abcad4990501b129cc3ff805c3ae110bfd4 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 20 Sep 2023 08:42:36 +0200 Subject: [PATCH] [CI:BUILD] Packit: Enable failure notifications for cockpit tests Configure packit to automatically notify relevant Cockpit team members when one of the "cockpit-revdeps" tests fails. [NO NEW TESTS NEEDED] - This is test configuration. Signed-off-by: Martin Pitt --- .packit.yaml | 3 +++ plans/cockpit-podman.fmf | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index 796ba07ea1b1..9b04925aec73 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -41,6 +41,9 @@ jobs: - job: tests identifier: cockpit-revdeps trigger: pull_request + notifications: + failure_comment: + message: "Cockpit tests failed for commit {commit_sha}. @martinpitt, @jelly, @mvollmer please check." targets: - fedora-latest-stable - fedora-development diff --git a/plans/cockpit-podman.fmf b/plans/cockpit-podman.fmf index ca3626b1a425..94854701c5a3 100644 --- a/plans/cockpit-podman.fmf +++ b/plans/cockpit-podman.fmf @@ -1,6 +1,6 @@ # reverse dependency test for https://github.com/cockpit-project/cockpit-podman/ -# if this fails in a non-obvious way, please contact the cockpit team in your PR for investigation: -# @martinpitt, @jelly, @marusak +# packit should automatically notify the cockpit maintainers on failures. +# For questions, please contact @martinpitt, @jelly, @mvollmer enabled: false adjust+: