Skip to content

Commit

Permalink
[testing] Update Ubuntu images
Browse files Browse the repository at this point in the history
* Update to latest images from GCE for Ubuntu distros
* Update ubuntu_latest to be now 24.10, which was released recently
* Drop 18.04, now we want to start using python 3.8
* Update deb packaging to use latest ubuntu (24.10)
* Test ubuntu latest also using the snap
* Fix `msr` load issue, and update predicate to also include 22.04

Signed-off-by: Arif Ali <[email protected]>
  • Loading branch information
arif-ali authored and TurboTurtle committed Oct 27, 2024
1 parent 40ece39 commit 762e2da
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
27 changes: 13 additions & 14 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ env:

DEBIAN_NAME: "debian-11"

UBUNTU_LATEST_NAME: "ubuntu-24.04"
UBUNTU_LATEST_NAME: "ubuntu-24.10"
UBUNTU_NAME: "ubuntu-24.04"
UBUNTU_PRIOR_NAME: "ubuntu-22.04"
UBUNTU_PRIOR2_NAME: "ubuntu-20.04"
UBUNTU_PRIOR3_NAME: "ubuntu-18.04"

CENTOS_9_NAME: "centos-stream-9"

Expand All @@ -29,13 +28,12 @@ env:
FEDORA_IMAGE_NAME: "fedora-cloud-base-gcp-38-1-6-x86-64"
FEDORA_PRIOR_IMAGE_NAME: "fedora-cloud-base-gcp-37-1-7-x86-64"

UBUNTU_DEB_IMAGE_NAME: "ubuntu-minimal-2404-noble-amd64-v20240423"
UBUNTU_LATEST_IMAGE_NAME: "ubuntu-2404-noble-amd64-v20240423"
UBUNTU_IMAGE_NAME: "ubuntu-2404-noble-amd64-v20240423"
UBUNTU_PRIOR_IMAGE_NAME: "ubuntu-2204-jammy-v20240501"
UBUNTU_PRIOR2_IMAGE_NAME: "ubuntu-2004-focal-v20240426"
UBUNTU_PRIOR3_IMAGE_NAME: "ubuntu-1804-bionic-v20240116a"
UBUNTU_SNAP_IMAGE_NAME: "ubuntu-2404-noble-amd64-v20240423"
UBUNTU_DEB_IMAGE_NAME: "ubuntu-minimal-2410-oracular-amd64-v20241021"
UBUNTU_LATEST_IMAGE_NAME: "ubuntu-2410-oracular-amd64-v20241021"
UBUNTU_IMAGE_NAME: "ubuntu-2404-noble-amd64-v20241004"
UBUNTU_PRIOR_IMAGE_NAME: "ubuntu-2204-jammy-v20240927"
UBUNTU_PRIOR2_IMAGE_NAME: "ubuntu-2004-focal-v20241016"
UBUNTU_SNAP_IMAGE_NAME: "ubuntu-2404-noble-amd64-v20241004"
UBUNTU_DEVEL_FAMILY_NAME: "ubuntu-2410-amd64"

# Curl-command prefix for downloading task artifacts, simply add the
Expand Down Expand Up @@ -208,12 +206,12 @@ report_stageone_task:
PROJECT: ${UBUNTU_PROJECT}
BUILD_NAME: "${UBUNTU_PRIOR2_NAME} - ${PKG}"
VM_IMAGE_NAME: ${UBUNTU_PRIOR2_IMAGE_NAME}
- env: &ubuntuprior3
- env: &ubuntu-latest-snap
PKG: "snap"
PROJECT: ${UBUNTU_PROJECT}
BUILD_NAME: "${UBUNTU_PRIOR3_NAME} - ${PKG}"
VM_IMAGE_NAME: ${UBUNTU_PRIOR3_IMAGE_NAME}
- env: &ubuntu-latest
BUILD_NAME: "${UBUNTU_LATEST_NAME} - ${PKG}"
VM_IMAGE_NAME: ${UBUNTU_LATEST_IMAGE_NAME}
- env: &ubuntu-latest-deb
PKG: "deb"
PROJECT: ${UBUNTU_PROJECT}
BUILD_NAME: "${UBUNTU_LATEST_NAME} - ${PKG}"
Expand Down Expand Up @@ -289,7 +287,8 @@ report_stagetwo_task:
- env: *centos9
- env: *fedora
- env: *ubuntu
- env: *ubuntu-latest
- env: *ubuntu-latest-snap
- env: *ubuntu-latest-deb
setup_script: *setup
install_pexpect_script: |
if [ $(command -v apt) ]; then
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
sosreport (4.8.1-2) oracular; urgency=medium

* Change series to oracular

-- Arif Ali <[email protected]> Sat, 26 Oct 2024 13:14:15 +0000

sosreport (4.8.1) noble; urgency=medium

* New upstream release
Expand Down
2 changes: 1 addition & 1 deletion sos/report/plugins/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def setup(self):
], cmd_as_tag=True)

if (isinstance(self.policy, UbuntuPolicy) and
self.policy.dist_version() >= 24.04):
self.policy.dist_version() >= 22.04):
self.cpu_kmods = ['msr']

cpupower_pred = SoSPredicate(self, kmods=self.cpu_kmods)
Expand Down

0 comments on commit 762e2da

Please sign in to comment.