-
Notifications
You must be signed in to change notification settings - Fork 1
/
.packit.yaml
41 lines (36 loc) · 1.08 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
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: convert2rhel.spec
# add or remove files that should be synced
files_to_sync:
- convert2rhel.spec
- .packit.yaml
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: convert2rhel
upstream_project_url: https://github.com/oamg/c2r-mock-utility
# downstream (Fedora) RPM package name
downstream_package_name: convert2rhel
jobs:
# Build for pull request push
- job: copr_build
owner: "mlitwora-redhat"
project: c2r-mock-utility
trigger: pull_request
targets:
- epel-7-x86_64
actions:
# Get the version from the spec file
get-current-version:
- grep -oP '^Version:\s+\K\S+' convert2rhel.spec
# Build for merge to devel
- job: copr_build
owner: "mlitwora-redhat"
project: c2r-mock-utility
trigger: commit
branch: main
targets:
- epel-7-x86_64
actions:
# Get the version from the spec file
get-current-version:
- grep -oP '^Version:\s+\K\S+' convert2rhel.spec