Skip to content

[multiple] Add bootc CP job and wire EDPM image outputs#3952

Open
rabi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
rabi:bootc
Open

[multiple] Add bootc CP job and wire EDPM image outputs#3952
rabi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
rabi:bootc

Conversation

@rabi
Copy link
Copy Markdown
Contributor

@rabi rabi commented May 21, 2026

Add a bootc-specific content provider job alongside the existing UEFI content provider flow, and wire baremetal jobs to consume the returned EDPM OS container image outputs. Also gate EDPM image publishing on edpm-image-builder changes, with ci-framework overrides to validate the wiring here.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 21, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign bshewale for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/47e8091acdfd46a6854291281f75b0cd

openstack-k8s-operators-content-provider FAILURE in 21m 21s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 6m 03s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 10m 23s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 24s
cifmw-content-provider-build-images FAILURE in 26m 53s
✔️ cifmw-edpm-build-images SUCCESS in 18m 50s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 13m 22s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 5m 19s

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/de53818cbb0b48d4b26b8e967d1e2736

openstack-k8s-operators-content-provider FAILURE in 27m 19s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 5m 21s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 43s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 08s
cifmw-content-provider-build-images FAILURE in 28m 43s
✔️ cifmw-edpm-build-images SUCCESS in 21m 46s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 14m 00s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 5m 12s

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/5ae236b303324c519fa89f8177a3111d

openstack-k8s-operators-content-provider TIMED_OUT in 31m 24s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 5m 12s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 05s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 00s
cifmw-content-provider-build-images TIMED_OUT in 30m 51s
✔️ cifmw-edpm-build-images SUCCESS in 20m 02s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 12m 39s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 5m 22s

@rabi
Copy link
Copy Markdown
Contributor Author

rabi commented May 21, 2026

recheck

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/9871e09a4dc34cb88fc69eb11999b04f

openstack-k8s-operators-content-provider TIMED_OUT in 31m 24s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 5m 55s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 49s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 05s
cifmw-content-provider-build-images TIMED_OUT in 30m 47s
✔️ cifmw-edpm-build-images SUCCESS in 21m 33s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 14m 32s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 4m 54s

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/238ee37456b445329ebaa0d611f442c5

openstack-k8s-operators-content-provider TIMED_OUT in 31m 24s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 5m 03s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 47s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 00s
cifmw-content-provider-build-images TIMED_OUT in 30m 51s
✔️ cifmw-edpm-build-images SUCCESS in 18m 40s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 13m 06s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 5m 04s

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/8def2c88fa504be8a464f833c31a829f

openstack-k8s-operators-content-provider TIMED_OUT in 31m 24s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 4m 40s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 10s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 41s
cifmw-content-provider-build-images TIMED_OUT in 30m 53s
✔️ cifmw-edpm-build-images SUCCESS in 17m 47s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 12m 13s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 4m 52s

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/620781d618f3490f8c2718c2f5ce0019

openstack-k8s-operators-content-provider TIMED_OUT in 31m 26s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 5m 05s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 44s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 18s
cifmw-content-provider-build-images TIMED_OUT in 30m 52s
✔️ cifmw-edpm-build-images SUCCESS in 20m 18s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 12m 51s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 5m 18s

@rabi rabi force-pushed the bootc branch 2 times, most recently from e2eb0c4 to e786602 Compare May 22, 2026 03:08
@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/349c28ec6a0d49b983782e94d877f108

openstack-k8s-operators-content-provider FAILURE in 21m 07s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 6m 49s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 11m 46s
✔️ cifmw-pod-pre-commit SUCCESS in 11m 18s
cifmw-content-provider-build-images FAILURE in 28m 09s
✔️ cifmw-edpm-build-images SUCCESS in 21m 44s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 14m 39s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 6m 22s

@rabi rabi force-pushed the bootc branch 2 times, most recently from 8fc6ca8 to 7a0b6f4 Compare May 22, 2026 06:18
@rabi rabi force-pushed the bootc branch 4 times, most recently from 4287f7c to 9213830 Compare May 22, 2026 10:52
@centosinfra-prod-github-app
Copy link
Copy Markdown

Zuul encountered a syntax error while parsing its
configuration in the repo openstack-k8s-operators/edpm-ansible on branch main. The
problem was:

The project template "podified-multinode-edpm-baremetal-bootc-
pipeline" was not found.

The problem appears in the "openstack-k8s-operators/edpm-ansible" project stanza:

project:
name: openstack-k8s-operators/edpm-ansible
templates:
- podified-multinode-edpm-baremetal-pipeline
- podified-multinode-edpm-baremetal-bootc-pipeline
github-check:
jobs:
- noop
- edpm-ansible-tempest-multinode
...

in "openstack-k8s-operators/edpm-ansible/zuul.d/projects.yaml@main", line 2

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/71d9bbf3d79341a0a793fb199e321eb2

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 39m 32s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 28m 54s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 32m 50s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 04m 45s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 01s
✔️ openstack-k8s-operators-content-provider-bootc SUCCESS in 2h 06m 03s
cifmw-crc-podified-edpm-baremetal-bootc RETRY_LIMIT Host unreachable in 1h 24m 43s
✔️ adoption-standalone-to-crc-ceph-provider SUCCESS in 3h 09m 40s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 41s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 16s
✔️ cifmw-content-provider-build-images SUCCESS in 42m 00s
✔️ cifmw-edpm-build-images SUCCESS in 17m 51s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 13m 08s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 4m 48s
✔️ cifmw-molecule-edpm_prepare SUCCESS in 4m 58s

@rabi rabi force-pushed the bootc branch 2 times, most recently from bc0dcda to 0180318 Compare May 25, 2026 05:00
@rabi rabi force-pushed the bootc branch 3 times, most recently from f2e9390 to 90494c0 Compare May 25, 2026 10:56
@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/aa6f0b75c09446db8a683f6d6dd61c7a

openstack-k8s-operators-content-provider TIMED_OUT in 31m 23s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 6m 12s
✔️ openstack-k8s-operators-content-provider-bootc SUCCESS in 1h 47m 06s
cifmw-crc-podified-edpm-baremetal-bootc RETRY_LIMIT Host unreachable in 1h 05m 59s
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 29s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 29s
✔️ cifmw-content-provider-build-images SUCCESS in 39m 53s
✔️ cifmw-edpm-build-images SUCCESS in 18m 48s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 16m 24s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 5m 16s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 5m 03s
✔️ cifmw-molecule-edpm_prepare SUCCESS in 5m 35s

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/7ba5701fd344480f8a0e6ff81c1768fe

✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 20m 06s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 23m 45s
cifmw-crc-podified-edpm-baremetal RETRY_LIMIT Host unreachable in 1h 15m 40s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 2h 02m 37s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 27s
✔️ openstack-k8s-operators-content-provider-bootc SUCCESS in 3h 05m 29s
cifmw-crc-podified-edpm-baremetal-bootc FAILURE in 1h 54m 26s
✔️ adoption-standalone-to-crc-ceph-provider SUCCESS in 3h 09m 11s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 45s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 14s
✔️ cifmw-content-provider-build-images SUCCESS in 34m 06s
✔️ cifmw-edpm-build-images SUCCESS in 17m 54s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 15m 12s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 6m 03s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 6m 21s
✔️ cifmw-molecule-edpm_prepare SUCCESS in 5m 15s

@centosinfra-prod-github-app
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/0eec1b2cae7844d6952aeac248a3bc2d

openstack-k8s-operators-content-provider FAILURE in 20m 21s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ cifmw-pod-zuul-files SUCCESS in 4m 40s
openstack-k8s-operators-content-provider-bootc FAILURE in 29m 32s
⚠️ cifmw-crc-podified-edpm-baremetal-bootc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider-bootc
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 59s
✔️ cifmw-pod-pre-commit SUCCESS in 9m 42s
cifmw-content-provider-build-images FAILURE in 35m 00s
✔️ cifmw-edpm-build-images SUCCESS in 22m 31s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 12m 52s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 5m 08s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 5m 07s
✔️ cifmw-molecule-edpm_prepare SUCCESS in 5m 17s

Add a bootc-specific content provider job and wire the bootc baremetal
pipeline to it. Also change cifmw-content-provider-build-imagesto build
and push both bootc and non-bootc images.

Change-Id: I2ef6b0d00640a663596e29034c885a70adcd051c
Signed-off-by: rabi <ramishra@redhat.com>
@rabi rabi changed the title [edpm_build_images] Build/publish bootc images in the content provider [multiple] Add bootc CP job and wire EDPM image outputs May 27, 2026
Copy link
Copy Markdown
Contributor

@evallesp evallesp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've done a quick review. Please answer the threads and I'll continue.

Question: is it possible to split the code here in more than one commit and/or MRs? I see this is grouping a single functionality, but makes the review process much more slower.

> {{ cifmw_edpm_build_images_basedir }}/logs/edpm_images/edpm_bootc_qcow2_build.log
2> {{ cifmw_edpm_build_images_basedir }}/logs/edpm_images/edpm_bootc_qcow2_build_err.log

- name: Rename generated bootc qcow2 image
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(blocking) suggestion: Let's move to use copy module.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why? This is a large image and we should not duplicate it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definetely sorry because my comment was too short.
I mean about the pipelines to the normal exit and the error exit.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh you mean use copy for the logs, not the qcow2. register + copy would work but adds 4 tasks and buffers all build output in memory. Keeping > / 2>: we already get separate stdout/stderr log files streamed to disk, Ansible still fails on non-zero exit, and the error log is written even when the build fails. I did not see the pattern of register+copy elsewhere in the repo for logs.

--volume {{ _cifmw_edpm_build_images_bootc_smoke_dir.path }}:/target:Z
localhost/edpm-bootc:{{ cifmw_edpm_build_images_tag }}-qcow2

- name: List files extracted from bootc qcow2 image
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(blocking) question: Is this a leftover?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll remove it in the next update. added for debugging.

- (cifmw_edpm_build_images_hardened_uefi | bool) or (cifmw_edpm_build_images_all | bool)
- cifmw_edpm_build_images_hardened_uefi_package | bool
ansible.builtin.command:
cmd: >-
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(blocking) suggestion: I think these need to be move to use podman module.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was using podman_image for both uefi and bootc, noticed false positives at times with podman_image, hence switched to podman command.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If so I'd like to see a docstring about the reason, so it's clear for the future if we want to remove them.

Did you find a way to reproduce that?

environment:
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
PATH: "{{ cifmw_path }}"
ansible.builtin.command:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(blocking) suggestion: Let's move to use k8s_info

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've kept it consistent with what we had before like in L229. Only reads can use k8s_info though, we can probably change all oc get to use k8s_info in a followup.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather go to update them now. And in following let's fix the rest.

Comment thread roles/edpm_build_images/tasks/post.yaml
Comment thread roles/edpm_build_images/defaults/main.yml
@Valkyrie00
Copy link
Copy Markdown
Contributor

I've done a quick review. Please answer the threads and I'll continue.

Question: is it possible to split the code here in more than one commit and/or MRs? I see this is grouping a single functionality, but makes the review process much more slower.

Hey @rabi, thanks for the PR! Before moving on to the analysis and code review, I definitely want to highlight @evallesp's comments about splitting this implementation into multiple PRs.
Given the scope (18 files), I'd suggest splitting this into 2-3 smaller PRs or something similar, to speed up review:

  • Refactor edpm_build_images push logic + content provider tasks.
  • Add bootc image build + baremetal wiring, all that role part.
  • Zuul job definitions + pipeline wiring like new content-provider-bootc job, project-templates, project wiring ecc

Of course, this is just a suggestion, not necessarily what I expect you to do.

@rabi
Copy link
Copy Markdown
Contributor Author

rabi commented May 27, 2026

comments about splitting this implementation into multiple PRs.

Single PR is intentional: bootc build/push, content-provider wiring, and Zuul/deploy changes belong together and are only fully tested by the new bootc pipeline jobs. Splitting would not add review or CI value, because intermediate PRs would land with incomplete, untested functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants