[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 |
|
@openshift-cherrypick-robot: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This is an automated cherry-pick of #1804
/assign stuggi