forked from openscanhub/openscanhub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.packit.yaml
40 lines (33 loc) · 961 Bytes
/
.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
# See the documentation for more information:
# https://packit.dev/docs/configuration/
# Generated by `make-srpm.sh` script
specfile_path: dist/osh.spec
# add or remove files that should be synced
files_to_sync:
- dist/osh.spec
- .packit.yaml
# Packages need to generate srpm and version info
srpm_build_deps: [git, make, rpm-build]
# `packit` should not generate a release tag
update_release: false
actions:
# Generate spec file
post-upstream-clone: ./make-srpm.sh --generate-spec
# Get current version from generated spec file
get-current-version: "sed -n 's|^%global version *||p' dist/osh.spec"
jobs:
- &copr
job: copr_build
trigger: pull_request
targets:
- fedora-all-x86_64
- epel-8-x86_64
- <<: *copr
trigger: commit
owner: "@openscanhub"
project: "devel"
branch: main
- job: tests
trigger: pull_request
targets:
- epel-8-x86_64