-
Notifications
You must be signed in to change notification settings - Fork 48
/
.packit.yaml
74 lines (63 loc) · 1.7 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
69
70
71
72
73
74
---
# See the documentation for more information:
# https://packit.dev/docs/configuration/
upstream_tag_template: v{version}
packages:
ramalama-fedora:
pkg_tool: fedpkg
downstream_package_name: python-ramalama
specfile_path: rpm/python-ramalama.spec
ramalama-centos:
downstream_package_name: python-ramalama
specfile_path: rpm/python-ramalama.spec
srpm_build_deps:
- make
jobs:
# Copr builds for Fedora
- job: copr_build
trigger: pull_request
packages: [ramalama-fedora]
enable_net: true
targets: &fedora_copr_targets
- fedora-development
- fedora-latest-stable
osh_diff_scan_after_copr_build: false
# Copr builds for CentOS Stream
- job: copr_build
trigger: pull_request
enable_net: true
packages: [ramalama-centos]
targets: ¢os_copr_targets
- centos-stream-10
# Run on commit to main branch
- job: copr_build
trigger: commit
packages: [ramalama-fedora]
enable_net: true
branch: main
owner: rhcontainerbot
project: podman-next
# Tests for Fedora
- job: tests
trigger: pull_request
packages: [ramalama-fedora]
targets: *fedora_copr_targets
# Tests for CentOS Stream
- job: tests
trigger: pull_request
packages: [ramalama-centos]
targets: *centos_copr_targets
- job: propose_downstream
trigger: release
packages: [ramalama-fedora]
dist_git_branches: &fedora_targets
- fedora-all
- job: koji_build
trigger: commit
packages: [ramalama-fedora]
dist_git_branches: *fedora_targets
- job: bodhi_update
trigger: commit
packages: [ramalama-fedora]
dist_git_branches:
- fedora-branched # rawhide updates are created automatically