-
Notifications
You must be signed in to change notification settings - Fork 9
/
.packit.yaml
84 lines (72 loc) · 1.7 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
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: openscap-report.spec
# add or remove files that should be synced
files_to_sync:
- .packit.yaml
- src: plans/
dest: plans/
- src: .fmf/
dest: .fmf/
- src: generate_arf.sh
dest: generate_arf.sh
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: openscap-report
# downstream (Fedora) RPM package name
downstream_package_name: openscap-report
# version tag template
upstream_tag_template: v{version}
srpm_build_deps:
- python3-devel
- python3-sphinx
- python3-sphinx_rtd_theme
- python3-jinja2
- python3-lxml
- redhat-display-fonts
- redhat-text-fonts
actions:
get-current-version:
- python3 setup.py --version
jobs:
- job: propose_downstream
trigger: release
identifier: release-rawhide
dist_git_branches:
- fedora-rawhide
- job: propose_downstream
trigger: release
identifier: release-epel8
specfile_path: spec/rhel8/openscap-report.spec
dist_git_branches:
- epel-8
- job: tests
trigger: pull_request
identifier: tests-all
tmt_plan: smoke
targets:
- fedora-all
- epel-9
- job: copr_build
trigger: pull_request
identifier: build-all
targets:
- fedora-all
- epel-9
# Until Packit has implicit builds
# for tests we can't enable epel-8
# as it messes with test jobs.
# The skip_build: true doesn't really
# solve the proplem.
#- job: tests
# trigger: pull_request
# identifier: epel-tests
# skip_build: true
# targets:
# - epel-9
# - epel-8
#- job: copr_build
# trigger: pull_request
# specfile_path: spec/rhel8/openscap-report.spec
# identifier: epel8
# targets:
# - epel-8