-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy path.packit.yaml
76 lines (72 loc) · 1.59 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
75
76
files_to_sync:
- src: .distro/
dest: ./
delete: true
filters:
- "protect .git*"
- "protect sources"
- "protect changelog"
- "protect gating.yaml"
- .packit.yaml
upstream_package_name: scikit-build-core
specfile_path: .distro/python-scikit-build-core.spec
downstream_package_name: python-scikit-build-core
upstream_tag_template: v{version}
targets: &targets
- fedora-all-x86_64
- fedora-all-aarch64
- epel-10-x86_64
- epel-10-aarch64
_:
# Job templates
- &build-in-packit
job: copr_build
- &build-in-scikit-build
<<: *build-in-packit
owner: "@scikit-build"
- &tests-downstream
job: tests
fmf_path: .distro
identifier: downstream
- &tests-upstream
job: tests
skip_build: true
identifier: upstream
targets:
- fedora-development
jobs:
# Upstream jobs
- <<: *build-in-scikit-build
trigger: release
project: release
- <<: *tests-downstream
trigger: release
- <<: *build-in-scikit-build
trigger: commit
branch: main
project: nightly
- <<: *tests-downstream
trigger: commit
branch: main
- <<: *tests-upstream
trigger: commit
branch: main
- <<: *build-in-packit
trigger: pull_request
- <<: *tests-downstream
trigger: pull_request
- <<: *tests-upstream
trigger: pull_request
# Downstream jobs
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-branched