Skip to content

Commit 7b45c08

Browse files
committed
packit: add initial support
This config is setup to target downstream job automation.
1 parent 5a6bba3 commit 7b45c08

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.packit.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
# See the documentation for more information:
3+
# https://packit.dev/docs/configuration/
4+
5+
# name in upstream package repository or registry
6+
upstream_package_name: bootupd
7+
upstream_tag_template: v{version}
8+
9+
downstream_package_name: rust-bootupd
10+
11+
# add or remove files that should be synced
12+
files_to_sync:
13+
- rust-bootupd.spec
14+
- .packit.yaml
15+
16+
packages:
17+
bootupd-fedora:
18+
specfile_path: rust-bootupd.spec
19+
actions:
20+
post-upstream-clone:
21+
- wget https://src.fedoraproject.org/rpms/rust-bootupd/blob/rawhide/f/rust-bootupd.spec
22+
changelog-entry:
23+
- bash -c 'echo "- New upstream release"'
24+
25+
jobs:
26+
27+
- job: propose_downstream
28+
trigger: release
29+
packages: [bootupd-fedora]
30+
dist_git_branches:
31+
fedora-rawhide:
32+
fast_forward_merge_into: [fedora-latest-stable]
33+
34+
- job: koji_build
35+
trigger: commit
36+
packages: [bootupd-fedora]
37+
dist_git_branches:
38+
- fedora-all
39+
40+
- job: bodhi_update
41+
trigger: commit
42+
packages: [bootupd-fedora]
43+
dist_git_branches:
44+
- fedora-all

0 commit comments

Comments
 (0)