forked from rpm-software-management/mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.packit.yaml
38 lines (37 loc) · 1.22 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
# See the documentation for more information:
# https://packit.dev/docs/configuration/
jobs:
# job for mock
- job: copr_build
trigger: pull_request
identifier: mock
metadata:
targets:
- fedora-rawhide
actions:
create-archive:
- bash -c "cd mock/ && tito build --tgz --test -o ."
- bash -c "ls -1t ./mock/*.tar.gz | head -n 1"
get-current-version:
- bash -c "git describe --match mock-[0-9]* --abbrev=0 HEAD | egrep -o [0-9]+\.[0-9]+"
specfile_path: mock/mock.spec
upstream_package_name: mock
downstream_package_name: mock
upstream_tag_template: 'mock-{version}'
# job for mock-core-configs
- job: copr_build
trigger: pull_request
identifier: mock-core-configs
metadata:
targets:
- fedora-rawhide
actions:
create-archive:
- bash -c "cd mock-core-configs/ && tito build --tgz --test -o ."
- bash -c "ls -1t ./mock-core-configs/*.tar.gz | head -n 1"
get-current-version:
- bash -c "git describe --match mock-core-configs-[0-9]* --abbrev=0 HEAD | egrep -o [0-9]+\.[0-9]+"
specfile_path: mock-core-configs/mock-core-configs.spec
upstream_package_name: mock-core-configs
downstream_package_name: mock-core-configs
upstream_tag_template: 'mock-core-configs-{version}'