Commit d682ea7
Improve error logging in pin-bundle-images.sh for EMPTY_SHA
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>1 parent 15fdbf6 commit d682ea7
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
107 | 114 | | |
108 | 115 | | |
109 | 116 | | |
| |||
0 commit comments