-
Notifications
You must be signed in to change notification settings - Fork 37
/
.packit.yaml
50 lines (46 loc) · 1.16 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
# See the documentation for more information:
# https://packit.dev/docs/configuration/
---
upstream_project_url: https://github.com/release-engineering/dist-git
actions: &common_actions
create-archive:
- bash -c "tito build --tgz --test -o ."
- bash -c "ls -1t ./*.tar.gz | head -n 1"
get-current-version:
- bash -c "grep -Po 'Version. +\K.*' *.spec"
srpm_build_deps:
- tito
- git
packages:
dist-git:
specfile_path: dist-git.spec
upstream_package_name: dist-git
downstream_package_name: dist-git
upstream_tag_template: 'dist-git-{version}'
paths:
- dist-git
dist-git-client:
specfile_path: dist-git-client.spec
upstream_package_name: dist-git-client
downstream_package_name: dist-git-client
upstream_tag_template: 'dist-git-client-{version}'
paths:
- dist-git-client
jobs:
- &copr
job: copr_build
packages:
- dist-git
- dist-git-client
trigger: pull_request
metadata:
targets:
- fedora-all-x86_64
- epel-8-x86_64
- epel-9-x86_64
- <<: *copr
trigger: commit
metadata:
owner: "@copr"
project: "copr-dev"
branch: main