Skip to content

Commit

Permalink
jobs/kola-upgrade: add more conditions for secureboot
Browse files Browse the repository at this point in the history
Apparently there are some F34 versions of `next` that are affected by
coreos/fedora-coreos-tracker#1452 so let's
account for that.
  • Loading branch information
dustymabe committed Apr 5, 2023
1 parent 274a97a commit 4342a31
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions jobs/kola-upgrade.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,14 @@ EOF
k1.extraArgs += " --qemu-firmware=uefi"
k1.marker = "uefi"
parallelruns['Kola:UEFI'] = { kola(k1) }
if ((start_version[0..1] as Integer) >= 34) {
// SecureBoot doesn't work on < 34 with latest qemu
// https://github.com/coreos/fedora-coreos-tracker/issues/1452
// SecureBoot doesn't work on older FCOS builds with latest qemu
// so we must run it conditionally.
// https://github.com/coreos/fedora-coreos-tracker/issues/1452
def secureboot_start_version = 34
if (start_stream == 'next') {
secureboot_start_version = 35
}
if ((start_version[0..1] as Integer) >= secureboot_start_version) {
k2 = kolaparams.clone()
k2.extraArgs += " --qemu-firmware=uefi-secure"
if ((start_version[0..1] as Integer) <= 37) {
Expand Down

0 comments on commit 4342a31

Please sign in to comment.