forked from neoave/mrack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.packit.yaml
68 lines (58 loc) · 1.74 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: mrack.spec
# add or remove files that should be synced
files_to_sync:
- mrack.spec
- README.md
- .packit.yaml
- gating.yaml
- ci.fmf
# we need to sync tmt for TF to work in Fedora updates
- src: ./tests/smoke/*
dest: ./tests/smoke/
- src: ./plans/*
dest: ./plans/
# Allow dist git reactions on packit and tdudlak commits and PRs
allowed_pr_authors:
- packit
- tdudlak
allowed_committers:
- packit
- tdudlak
# name in upstream package repository/registry (e.g. in PyPI)
upstream_package_name: mrack
# downstream (Fedora) RPM package name
downstream_package_name: mrack
# mrack uses tag v(ver_number) and we need to make sure packit know what to expect
# see: https://packit.dev/docs/configuration/#upstream_tag_template
upstream_tag_template: "v{version}"
actions:
create-archive:
- "python3 setup.py sdist --dist-dir ."
- "sh -c 'echo mrack-$(python3 setup.py --version).tar.gz'"
get-current-version:
- "python3 setup.py --version"
jobs:
- job: tests
trigger: pull_request
targets: [fedora-all, epel-8, epel-9]
release_suffix: "99.dev.{PACKIT_PROJECT_BRANCH}"
- job: copr_build
trigger: commit
targets: [fedora-all, epel-8, epel-9]
- job: copr_build
trigger: release
owner: "@freeipa"
project: neoave
targets: [fedora-all, epel-8, epel-9]
- job: propose_downstream
trigger: release
dist_git_branches: [fedora-all, epel-8, epel-9]
- job: koji_build
trigger: commit
dist_git_branches: [fedora-all, epel-8, epel-9]
- job: bodhi_update
trigger: commit
dist_git_branches: [fedora-branched, epel-8, epel-9] # rawhide updates are created automatically