Skip to content

Commit c4f8ceb

Browse files
committed
Merge: CI: Enable pipelines for rt variant
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/2127 Upstream Status: RHEL-only Bugzilla: INTERNAL Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/1743 Signed-off-by: Michael Hofmann <mhofmann@redhat.com> Approved-by: Tino Calancha <tino.calancha@gmail.com> Approved-by: Serhii Turivnyi <sturivny@redhat.com> Approved-by: Patrick Talbert <ptalbert@redhat.com> Signed-off-by: Jan Stancek <jstancek@redhat.com>
2 parents 605a59a + cfa59c9 commit c4f8ceb

File tree

1 file changed

+29
-74
lines changed

1 file changed

+29
-74
lines changed

.gitlab-ci.yml

Lines changed: 29 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -33,32 +33,12 @@ workflow: !reference [.workflow]
3333
builder_image: quay.io/cki/builder-rhel9
3434
kpet_tree_family: rhel9
3535

36-
.realtime_check_c9s:
37-
trigger:
38-
branch: c9s-rt
39-
variables:
40-
name: kernel-rt-c9s
41-
kpet_tree_family: c9s-rt
42-
43-
.realtime_check_rhel9:
44-
trigger:
45-
branch: rhel9-rt
46-
variables:
47-
name: kernel-rt-rhel9
48-
kpet_tree_family: rhel9-rt
49-
5036
.trigger_rhel9_build:
5137
extends: .trigger_rhel9_pipeline
5238
variables:
5339
skip_test: 'true'
5440
skip_results: 'true'
5541

56-
.realtime_full_c9s:
57-
variables:
58-
name: kernel-rt-c9s
59-
kpet_tree_family: c9s-rt
60-
RUN_ONLY_FOR_RT: 'true'
61-
6242
.automotive_full_c9s:
6343
variables:
6444
name: kernel-automotive-c9s
@@ -67,11 +47,15 @@ workflow: !reference [.workflow]
6747
AWS_UPT_IMAGE_NAME_FILTER: 'auto-osbuild-qemu-cs9-cki-ostree-*'
6848
RUN_ONLY_FOR_AUTOMOTIVE: 'true'
6949

70-
.realtime_full_rhel9:
50+
.rt_full_c9s:
51+
variables:
52+
name: kernel-rt-c9s
53+
kpet_tree_family: c9s-rt
54+
55+
.rt_full_rhel9:
7156
variables:
7257
name: kernel-rt-rhel9
7358
kpet_tree_family: rhel9-rt
74-
RUN_ONLY_FOR_RT: 'true'
7559

7660
.64k_full_c9s:
7761
variables:
@@ -87,16 +71,18 @@ workflow: !reference [.workflow]
8771
variables:
8872
RUN_ONLY_FOR_AUTOMOTIVE: 'false'
8973

90-
.automotive_check_realtime_overrides:
91-
variables:
92-
RUN_ONLY_FOR_RT: 'true'
93-
merge_branch: main-automotive # Can't use CI_MERGE_REQUEST_TARGET_BRANCH_NAME due to -rt suffix
94-
9574
# c9s CI
9675
c9s_merge_request:
9776
extends: [.trusted, .merge_request, .rhel_common,
9877
.9-common, .trigger_c9s_pipeline]
9978

79+
c9s_rt_merge_request:
80+
# Don't add .rhel_common as we overwrite those configs
81+
extends: [.trusted, .merge_request,
82+
.9-common, .trigger_c9s_pipeline,
83+
.rt_common,
84+
.rt_full_c9s]
85+
10086
c9s_64k_merge_request:
10187
# Don't add .rhel_common as we overwrite those configs
10288
extends: [.trusted, .merge_request,
@@ -109,12 +95,6 @@ c9s_automotive_check_merge_request:
10995
.9-common, .trigger_c9s_pipeline, .automotive_full_c9s, .automotive_check_c9s_overrides,
11096
.automotive_check_common]
11197

112-
c9s_realtime_check_merge_request:
113-
extends: [.trusted, .merge_request,
114-
.9-common,
115-
.realtime_check_common,
116-
.trigger_c9s_pipeline, .realtime_check_c9s]
117-
11898
c9s_baseline_coverage_build:
11999
extends: [.trusted, .baseline, .rhel_common, .only_build_and_publish, .coverage,
120100
.9-common, .trigger_c9s_pipeline]
@@ -123,20 +103,6 @@ c9s_rhel9_compat_merge_request:
123103
extends: [.centos_stream_rhel_internal, .merge_request, .rhel_common, .with_notifications,
124104
.9-common, .trigger_rhel9_build]
125105

126-
# c9s realtime branch CI
127-
c9s_realtime_merge_request:
128-
extends: [.trusted, .merge_request,
129-
.9-common,
130-
.realtime_pipeline_common,
131-
.trigger_c9s_pipeline, .realtime_full_c9s]
132-
133-
c9s_realtime_automotive_check_merge_request:
134-
extends: [.trusted, .merge_request,
135-
.9-common,
136-
.trigger_c9s_pipeline, .automotive_full_c9s, .automotive_check_c9s_overrides,
137-
.automotive_check_common,
138-
.automotive_check_realtime_overrides]
139-
140106
# c9s automotive branch CI
141107
c9s_automotive_merge_request:
142108
extends: [.trusted, .merge_request,
@@ -155,50 +121,39 @@ rhel9_merge_request:
155121
extends: [.internal, .merge_request, .rhel_common, .with_notifications,
156122
.9-common, .trigger_rhel9_pipeline]
157123

124+
rhel9_rt_merge_request:
125+
# Don't add .rhel_common as we overwrite those configs
126+
extends: [.internal, .merge_request, .with_notifications,
127+
.9-common, .trigger_rhel9_pipeline,
128+
.rt_common,
129+
.rt_full_rhel9]
130+
158131
rhel9_64k_merge_request:
159132
# Don't add .rhel_common as we overwrite those configs
160133
extends: [.internal, .merge_request, .with_notifications,
161134
.9-common, .trigger_rhel9_pipeline,
162135
.64k_common,
163-
.64k_full_c9s]
164-
165-
rhel9_realtime_check_merge_request:
166-
extends: [.internal, .merge_request,
167-
.9-common,
168-
.realtime_check_common,
169-
.trigger_rhel9_pipeline, .realtime_check_rhel9]
136+
.64k_full_rhel9]
170137

171138
rhel9_baseline_coverage_build:
172139
extends: [.internal, .baseline, .rhel_common, .only_build_and_publish, .coverage,
173140
.9-common, .trigger_rhel9_pipeline]
174141

175-
# RHEL9 realtime branch CI
176-
rhel9_realtime_merge_request:
177-
extends: [.internal, .merge_request,
178-
.9-common,
179-
.realtime_pipeline_common,
180-
.trigger_rhel9_pipeline, .realtime_full_rhel9]
181-
182142
# RHEL9 private CI (including RT branches)
183143
rhel9_merge_request_private:
184144
extends: [.scratch, .merge_request, .rhel_common,
185145
.9-common, .trigger_rhel9_pipeline]
186146

187-
rhel9_64k_merge_request_private:
147+
rhel9_rt_merge_request_private:
188148
# Don't add .rhel_common as we overwrite those configs
189149
extends: [.scratch, .merge_request,
190150
.9-common, .trigger_rhel9_pipeline,
191-
.64k_common,
192-
.64k_full_c9s]
151+
.rt_common,
152+
.rt_full_rhel9]
193153

194-
rhel9_realtime_check_merge_request_private:
195-
extends: [.scratch, .merge_request,
196-
.9-common,
197-
.realtime_check_common,
198-
.trigger_rhel9_pipeline, .realtime_check_rhel9]
199-
200-
rhel9_realtime_merge_request_private:
154+
rhel9_64k_merge_request_private:
155+
# Don't add .rhel_common as we overwrite those configs
201156
extends: [.scratch, .merge_request,
202-
.9-common,
203-
.realtime_pipeline_common,
204-
.trigger_rhel9_pipeline, .realtime_full_rhel9]
157+
.9-common, .trigger_rhel9_pipeline,
158+
.64k_common,
159+
.64k_full_rhel9]

0 commit comments

Comments
 (0)