Skip to content

Commit

Permalink
ci: Packit: Enable failure notifications for cockpit tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
martinpitt committed Sep 21, 2023
1 parent 1d8ac51 commit 7b3935f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions plans/cockpit.fmf
Original file line number Diff line number Diff line change
@@ -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+:
Expand Down

0 comments on commit 7b3935f

Please sign in to comment.