-
Notifications
You must be signed in to change notification settings - Fork 215
Expand file tree
/
Copy path.packit.yaml
More file actions
151 lines (139 loc) · 4.01 KB
/
Copy path.packit.yaml
File metadata and controls
151 lines (139 loc) · 4.01 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
---
upstream_package_name: bootc
downstream_package_name: bootc
upstream_tag_template: v{version}
specfile_path: contrib/packaging/bootc.spec
srpm_build_deps:
- cargo
- git
- zstd
- libzstd-devel
- ostree-devel
- openssl-devel
actions:
# The last setp here is required by Packit to return the archive name
# https://packit.dev/docs/configuration/actions#create-archive
create-archive:
- bash -c "cargo install cargo-vendor-filterer"
- bash -c "cargo xtask spec"
- bash -c "cat target/bootc.spec"
- bash -c "cp target/bootc* contrib/packaging/"
- bash -c "ls -1 target/bootc*.tar.zstd | grep -v 'vendor'"
# Do nothing with spec file. Two steps here are for debugging
fix-spec-file:
- bash -c "cat contrib/packaging/bootc.spec"
- bash -c "ls -al contrib/packaging/"
jobs:
# copr_build on PRs: only runs when ci/tier-1 or ci/merge label is present.
# ci/tier-1: centos-10 + fedora-44 (primary targets, all arches)
- job: copr_build
trigger: pull_request
identifier: tier-1
require:
label:
present:
- ci/tier-1
targets:
- centos-stream-10-x86_64
- centos-stream-10-aarch64
# s390x disabled: https://github.com/fedora-copr/copr/issues/4219
# - centos-stream-10-s390x
- fedora-44-x86_64
- fedora-44-aarch64
# s390x disabled: https://github.com/fedora-copr/copr/issues/4219
# - fedora-44-s390x
# ci/merge: full target set (mirrors what runs in the merge queue)
- job: copr_build
trigger: pull_request
identifier: full
require:
label:
present:
- ci/merge
targets:
- centos-stream-9-x86_64
- centos-stream-9-aarch64
# s390x disabled: https://github.com/fedora-copr/copr/issues/4219
# - centos-stream-9-s390x
- centos-stream-10-x86_64
- centos-stream-10-aarch64
# s390x disabled: https://github.com/fedora-copr/copr/issues/4219
# - centos-stream-10-s390x
- fedora-43-x86_64
- fedora-43-aarch64
# s390x disabled: https://github.com/fedora-copr/copr/issues/4219
# - fedora-43-s390x
- fedora-44-x86_64
- fedora-44-aarch64
# s390x disabled: https://github.com/fedora-copr/copr/issues/4219
# - fedora-44-s390x
- fedora-rawhide-x86_64
- fedora-rawhide-aarch64
# Temporarily disabled due to too old Rust...reenable post 9.6
# - rhel-9-x86_64
# - rhel-9-aarch64
# Build on new commit to main branch
- job: copr_build
trigger: commit
branch: main
owner: rhcontainerbot
project: bootc
enable_net: true
# Testing Farm on PRs: only runs when ci/tier-1 or ci/merge label is present.
# ci/tier-1: centos-10 + fedora-44 (primary targets)
- job: tests
trigger: pull_request
identifier: tier-1
require:
label:
present:
- ci/tier-1
targets:
- centos-stream-10-x86_64
- centos-stream-10-aarch64
- fedora-44-x86_64
- fedora-44-aarch64
tmt_plan: /tmt/plans/integration
tf_extra_params:
environments:
- tmt:
context:
running_env: "packit"
# ci/merge: full target set
- job: tests
trigger: pull_request
identifier: full
require:
label:
present:
- ci/merge
targets:
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- centos-stream-10-x86_64
- centos-stream-10-aarch64
- fedora-43-x86_64
- fedora-43-aarch64
- fedora-44-x86_64
- fedora-44-aarch64
- fedora-rawhide-x86_64
- fedora-rawhide-aarch64
tmt_plan: /tmt/plans/integration
tf_extra_params:
environments:
- tmt:
context:
running_env: "packit"
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-all
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
# Fedora rawhide updates are created automatically
- fedora-branched