← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~kevinyeh/hwcert-jenkins-jobs:fix-kernel-version-jammy into hwcert-jenkins-jobs:master

 

Kevin Yeh has proposed merging ~kevinyeh/hwcert-jenkins-jobs:fix-kernel-version-jammy into hwcert-jenkins-jobs:master.

Commit message:
Modify: Purge the linux-generic-hwe-22.04 meta package before running dist-upgrade.

Requested reviews:
  hwcert-jenkins (hwcert-jenkins)

For more details, see:
https://code.launchpad.net/~kevinyeh/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/437392

Start from SRU cycle 2023.01.30, Jammy will upgrade to 5.19 hwe kernel, but we still need to test 5.15, so purge hwe meta package before dist-upgrade.
-- 
Your team hwcert-jenkins is requested to review the proposed merge of ~kevinyeh/hwcert-jenkins-jobs:fix-kernel-version-jammy into hwcert-jenkins-jobs:master.
diff --git a/jobs/sru/projects/jammy.yaml b/jobs/sru/projects/jammy.yaml
index 023fd33..66eb13c 100644
--- a/jobs/sru/projects/jammy.yaml
+++ b/jobs/sru/projects/jammy.yaml
@@ -3,6 +3,8 @@
     srutype: stock
     series: jammy
     image: desktop-22-04-uefi
+    test_cmds_pre_upgrade_actions_device: |
+            _run sudo apt purge -y linux-generic-hwe-22.04 linux-image-generic-hwe-22.04 linux-headers-generic-hwe-22.04
     kernel-to-check: linux-generic
     jobs:
         - '{prefix}-{srutype}-sru-{series}-{flavor}-{system-id}':

Follow ups