-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.packit.yaml
78 lines (69 loc) · 2.12 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
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: csmock.spec
# add or remove files that should be synced
files_to_sync:
- csmock.spec
- .packit.yaml
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: csmock
# downstream (Fedora) RPM package name
downstream_package_name: csmock
srpm_build_deps: [rpm-build]
update_release: false
actions:
post-upstream-clone: ./make-srpm.sh --generate-spec
get-current-version: "sed -n 's|^Version: *||p' csmock.spec"
jobs:
- &copr
job: copr_build
trigger: pull_request
targets:
- epel-all-aarch64
- epel-all-ppc64le
- epel-all-s390x
- epel-all-x86_64
- fedora-all-aarch64
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64
# EPEL tests
- job: tests
trigger: pull_request
targets:
- epel-8-aarch64
- epel-8-x86_64
identifier: epel8
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/codescan/csutils/repo/epel-8/group_codescan-csutils-epel-8
- job: tests
trigger: pull_request
targets:
- epel-9-aarch64
- epel-9-x86_64
identifier: epel9
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/codescan/csutils/repo/epel-9/group_codescan-csutils-epel-9
# Fedora tests
- job: tests
trigger: pull_request
targets:
- fedora-all-aarch64
- fedora-all-x86_64
identifier: fedora
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/codescan/csutils/repo/fedora/group_codescan-csutils-fedora
- <<: *copr
trigger: commit
owner: "@codescan"
project: "csutils"
branch: main