-
Notifications
You must be signed in to change notification settings - Fork 175
/
packit.yaml
35 lines (31 loc) · 1.03 KB
/
packit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# See https://packit.dev/docs/configuration/
specfile_path: tmp/rpm/selinux-policy.spec
upstream_tag_template: "v{version}"
actions:
post-upstream-clone:
- mkdir -p tmp/rpm
- scripts/make-sources.sh tmp/rpm
create-archive: sh -c 'ls tmp/rpm/selinux-policy*.tar.gz'
jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-development
- fedora-latest-stable
# run tests for packages which test SELinux policy well, see plans/ with `revdeps == yes`
- 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-development
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo
tmt:
context:
revdeps: "yes"