content icon indicating copy to clipboard operation
content copied to clipboard

Introduce new CPE platform for bootable containers

Open jan-cerny opened this issue 1 year ago • 2 comments

This commit adds a new CPE platform bootc.

Matches:

  • bootc (RHEL Image Mode) containers and container images
  • running bootc (RHEL Image Mode) systems

Does not match:

  • classic containers and container images
  • normal bare-metal systems or VMs

The matching platforms and non-matching platforms can be easily distinguished by checking for presence of the kernel and rpm-ostree RPM packages. Bootable containers and running bootc systems both contain both these packages. Normal bare-metal systems usually don't have the rpm-ostree, normal containers don't contain kernel.

jan-cerny avatar Oct 18 '24 16:10 jan-cerny

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment Open in Gitpod

Oracle Linux 8 Environment Open in Gitpod

github-actions[bot] avatar Oct 18 '24 16:10 github-actions[bot]

I have rebased this PR on the top of the latest upstream master branch. I have extended the check to not match other immutable platforms and I have fixed the OVAL test IDs.

jan-cerny avatar Oct 23 '24 13:10 jan-cerny

Code Climate has analyzed commit 1849ef6b and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 60.9% (0.0% change).

View more on Code Climate.

qlty-cloud-legacy[bot] avatar Oct 24 '24 12:10 qlty-cloud-legacy[bot]