[18.0-fr5] Improve error logging in pin-bundle-images.sh for EMPTY_SHA#1827
Conversation
Add detailed error output when SHA cannot be found for a bundle image.
This helps debug issues like local path replacements being processed
as bundles.
Error output now includes:
- MOD_PATH: The go module path being processed
- BASE: The extracted operator base name
- REF: The git reference/version
- REPO_URL: The repository URL being queried
- REPO_CURL_URL: The API URL used for queries
- Bundle: The full bundle image reference attempted
Example output when failing:
ERROR: Failed to find bundle image SHA for:
MOD_PATH: ./api
BASE: api
REF: 00010101000000-000000000000
REPO_URL: quay.io/openstack-k8s-operators
REPO_CURL_URL: https://quay.io/api/v1/repository/./api
Bundle: quay.io/openstack-k8s-operators/api-operator-bundle:...
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: openshift-cherrypick-robot The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test functional |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/015f8603134f4411acf319f80886176e ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 58m 01s |
|
/retest |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/36dac710269e45f2872a23dd8e7c0cc8 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 36m 09s |
|
/test openstack-operator-build-deploy-kuttl-4-18 |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/a5384cc5d74448f583102eb43c978e0d ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 03m 58s |
|
/test openstack-operator-build-deploy-kuttl-4-18 |
|
recheck |
|
/retest |
This is an automated cherry-pick of #1804
/assign stuggi