-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackit.yaml
44 lines (41 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
---
downstream_package_name: python-logdetective
upstream_package_name: logdetective
specfile_path: python-logdetective.spec
upstream_tag_template: 'v{version}'
upstream_project_url: https://github.com/fedora-copr/logdetective
copy_upstream_release_description: false
srpm_build_deps:
- poetry
actions:
post-upstream-clone:
# rawhide specfile will be the source of truth: we don't need to have the specfile upstream
- curl -Lvso python-logdetective.spec https://src.fedoraproject.org/rpms/python-logdetective/raw/main/f/python-logdetective.spec
create-archive:
- poetry build -f sdist
- bash -c "ls -1t ./dist/*.tar.gz | head -n 1"
get-current-version:
- poetry version -s
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- rawhide
- job: copr_build
trigger: pull_request
targets:
- fedora-all
- job: tests
trigger: pull_request
targets:
- fedora-all
# downstream automation:
- job: koji_build
trigger: commit
allowed_committers: ['packit', 'msuchy']
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-all