Skip to content

[build_containers] Fix podman_image push dest for FQDN image names#3923

Open
danpawlik wants to merge 1 commit into
openstack-k8s-operators:mainfrom
danpawlik:do-not-use-item
Open

[build_containers] Fix podman_image push dest for FQDN image names#3923
danpawlik wants to merge 1 commit into
openstack-k8s-operators:mainfrom
danpawlik:do-not-use-item

Conversation

@danpawlik
Copy link
Copy Markdown
Contributor

@danpawlik danpawlik commented May 11, 2026

The containers-built.log contains a list of images as registry/namespace/repository.
The containers.podman.podman_image module treats a two-part dest (host/namespace)
as a prefix and appends the entire local image name, which produced nested
repo names on quay.rdoproject.org.
Pass a complete dest (registry, namespace, repository basename, and tag)
so Podman pushes to the intended repository.

Commit also include a changes that remove calling {{ item }} when
loop is used and reduce using cat command with grep - we can directly
call grep without cat.
One more change also done in this commit was to rename tasks that
contains wrong script name, that makes confusion.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 11, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 11, 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 nemarjan 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

@danpawlik danpawlik force-pushed the do-not-use-item branch 8 times, most recently from d4fabff to 07453e7 Compare May 11, 2026 15:37
@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/ef9dbc41e4bd46258280171bf5aedf3e

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 12m 44s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 25m 32s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 29m 32s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 1h 57m 21s
✔️ cifmw-pod-zuul-files SUCCESS in 7m 55s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 11m 41s
cifmw-pod-pre-commit FAILURE in 10m 46s
✔️ cifmw-tcib SUCCESS in 46m 05s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 13m 13s
✔️ cifmw-molecule-build_containers SUCCESS in 10m 47s

@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/388eb139eac14131bfb67cb561551527

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 27m 31s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 28m 05s
cifmw-crc-podified-edpm-baremetal FAILURE in 34m 29s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 06m 26s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 52s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 30s
cifmw-pod-pre-commit FAILURE in 8m 46s
✔️ cifmw-tcib SUCCESS in 42m 19s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 14m 03s
✔️ cifmw-molecule-build_containers SUCCESS in 10m 53s

@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/c7c95c159928471ca519a8dfb15d4a1a

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 15m 30s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 27m 39s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 31m 47s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 01m 45s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 12s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 27s
cifmw-pod-pre-commit FAILURE in 8m 23s
✔️ cifmw-tcib SUCCESS in 39m 15s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 12m 46s
✔️ cifmw-molecule-build_containers SUCCESS in 8m 36s

@danpawlik danpawlik force-pushed the do-not-use-item branch 3 times, most recently from beb56d5 to 8784cac Compare May 12, 2026 10:09
@danpawlik danpawlik changed the title [build_containers] Use loop_var instead of item var [build_containers] Fix podman_image push dest for FQDN image names May 12, 2026
@danpawlik danpawlik marked this pull request as ready for review May 12, 2026 10:10
@danpawlik danpawlik requested a review from rlandy May 12, 2026 10:10
The containers-built.log contains a list of images as registry/namespace/repository.
The containers.podman.podman_image module treats a two-part dest (host/namespace)
as a prefix and appends the entire local image name, which produced nested
repo names on quay.rdoproject.org.
Pass a complete dest (registry, namespace, repository basename, and tag)
so Podman pushes to the intended repository.

Commit also include a changes that remove calling {{ item }} when
loop is used and reduce using `cat` command with `grep` - we can directly
call `grep` without `cat`.
One more change also done in this commit was to rename tasks that
contains wrong script name, that makes confusion.

Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
@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/742725d074a84974acf1382400f11591

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 11m 02s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 23m 49s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 37m 11s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 1h 52m 09s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 21s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 48s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 55s
✔️ cifmw-tcib SUCCESS in 41m 18s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 12m 35s
✔️ cifmw-molecule-build_containers SUCCESS in 8m 34s

Copy link
Copy Markdown
Contributor

@amoralej amoralej left a comment

Choose a reason for hiding this comment

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

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.

2 participants