Skip to content

Commit d03ef77

Browse files
authored
Merge pull request #927 from marmijo/per-stream-kernel-rt
config: make `check_kernel_rt_mismatch_rhcos` a per-stream knob
2 parents 4b36444 + c4c2cb8 commit d03ef77

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ streams:
101101
skip_brew_upload: true
102102
# Use newly added support for building images using OSBuild
103103
use_osbuild: true
104+
# OPTIONAL: require kernel + kernel-rt versions to match
105+
check_kernel_rt_mismatch_rhcos: true
104106

105107
# REQUIRED: architectures to build for other than x86_64
106108
additional_arches: [aarch64, ppc64le, s390x]
@@ -264,7 +266,5 @@ clouds:
264266
misc:
265267
# OPTIONAL: whether to generate a release index
266268
generate_release_index: true
267-
# OPTIONAL: require kernel + kernel-rt versions to match
268-
check_kernel_rt_mismatch_rhcos: true
269269
# OPTIONAL: whether to run extended upgrade test kola job
270270
run_extended_upgrade_test_fcos: true

jobs/build.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ lock(resource: "build-${params.STREAM}") {
381381
// NOTE: This approach only checks the legacy extensions and not the new extensions
382382
// container. This check can be removed for 9.3+ builds when we drop the legacy
383383
// oscontainer as the versions will be matched using `match-base-evr` in `extensions.yaml`.
384-
if (pipecfg.misc?.check_kernel_rt_mismatch_rhcos) {
384+
if (stream_info.check_kernel_rt_mismatch_rhcos) {
385385
echo("Verifying kernel + kernel-rt versions match")
386386
def build_meta = [readJSON(file: "builds/latest/${basearch}/commitmeta.json"), readJSON(file: "builds/latest/${basearch}/meta.json")]
387387
def kernel_version = build_meta[0]['ostree.linux'].split('.el')[0]

0 commit comments

Comments
 (0)