-
Notifications
You must be signed in to change notification settings - Fork 142
/
.packit.yaml
86 lines (80 loc) · 2.3 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
actions:
post-upstream-clone:
- './autogen.sh --disable-modules --disable-daemon'
create-archive:
# FIXME: just calling `make dist` doesn't build udisks/libudisks2.la for gtk-doc
- 'make'
- 'make dist'
- 'bash -c "ls *.tar*"'
get-current-version:
- 'bash -c "./configure --version | head -n1 | cut -f3 -d\" \""'
jobs:
- job: copr_build
branch: master
trigger: pull_request
targets:
- fedora-rawhide-aarch64
- fedora-rawhide-ppc64le
- fedora-rawhide-x86_64
- fedora-latest-aarch64
- fedora-latest-ppc64le
- fedora-latest-x86_64
- fedora-latest-stable-aarch64
- fedora-latest-stable-ppc64le
- fedora-latest-stable-x86_64
additional_repos:
- "copr://@storage/udisks-daily"
- job: tests
trigger: pull_request
targets:
- fedora-latest-stable
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/storage/udisks-daily/repo/fedora-$releasever/group_storage-udisks-daily-fedora-$releasever.repo
# run tests for udisks consumers, 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-rawhide-x86_64
- fedora-latest-x86_64
- fedora-latest-stable-x86_64
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
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/storage/udisks-daily/repo/fedora-$releasever/group_storage-udisks-daily-fedora-$releasever.repo
tmt:
context:
revdeps: "yes"
- job: copr_build
trigger: commit
owner: "@storage"
project: udisks-daily
branch: master
preserve_project: true
srpm_build_deps:
- gcc
- make
- libtool
- autoconf
- automake
- glib2-devel
- gtk-doc
- gobject-introspection-devel
- polkit-devel
- systemd
- systemd-devel
- systemd-rpm-macros
- gettext-devel
- redhat-rpm-config
- libmount-devel
downstream_package_name: udisks2
specfile_path: packaging/udisks2.spec