Improve error logging in pin-bundle-images.sh for EMPTY_SHA#1804
Improve error logging in pin-bundle-images.sh for EMPTY_SHA#1804stuggi wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
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>
|
/retest |
1 similar comment
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abays, stuggi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test functional |
|
/cherry-pick 18.0-fr5 |
|
@stuggi: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
Instructions 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. |
|
/test openstack-operator-build-deploy-kuttl-4-18 |
|
@stuggi: 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. |
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: