-
Notifications
You must be signed in to change notification settings - Fork 14
/
.packit.yaml
59 lines (53 loc) · 1.45 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
---
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: tomcatjss.spec
# add or remove files that should be synced
files_to_sync:
- tomcatjss.spec
- .packit.yaml
# Allow dist git reactions on packit and ckelley commits and PRs
allowed_pr_authors:
- packit
- ckelleyRH
allowed_committers:
- packit
- ckelleyRH
upstream_package_name: tomcatjss
# downstream (Fedora/CentOS) RPM package name
downstream_package_name: tomcatjss
# see: https://packit.dev/docs/configuration/#upstream_tag_template
upstream_tag_template: "v{version}"
jobs:
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-development
# - centos-stream-9-x86_64 # When Packit integration with CentOS is avaiable, enable this
actions:
get-current-version:
- rpmspec -q --qf "%{Version}" --srpm tomcatjss.spec
- job: copr_build
trigger: pull_request
branch: master
additional_repos:
- "copr://@pki/master"
targets:
- fedora-all
- centos-stream-9-x86_64
- rhel-9-x86_64
actions:
get-current-version:
- rpmspec -q --qf "%{Version}" --srpm tomcatjss.spec
- job: copr_build
trigger: commit
branch: master
additional_repos:
- "copr://@pki/master"
targets:
- fedora-all
- centos-stream-9-x86_64
- rhel-9-x86_64
actions:
get-current-version:
- rpmspec -q --qf "%{Version}" --srpm tomcatjss.spec