Repository navigation
Fix pin-bundle-images.sh to filter openstack-operator before replace - #1803
Conversation
Move filtering from grep to jq to catch openstack-operator paths
before the replace directive substitutes them with local paths.
Issue: The replace directive transforms the path before grep filtering:
github.com/.../openstack-operator/api => ./api
grep -v openstack-operator doesn't match './api'
Fix: Filter in jq on .Path before applying .Replace:
select(.Path | contains("openstack-operator") | not)
This properly excludes openstack-operator and openstack-operator/api(s)
while keeping other operators' /api modules (nova-operator/api, etc).
Prevents CI error:
Invalid source name docker://EMPTY_SHA:null:https://quay.io/api/v1/repository/./api
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/bb1fb3e8b9d943e4a13cc81441571807 ❌ openstack-k8s-operators-content-provider NODE_FAILURE Node request 100-0008160436 failed in 0s |
|
will override the the tests as the script will not be triggered by them. |
|
/override ci/prow/functional |
|
@stuggi: Overrode contexts on behalf of stuggi: ci/prow/functional 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. |
|
/override rdoproject.org/github-check |
|
@stuggi: Overrode contexts on behalf of stuggi: rdoproject.org/github-check 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. |
|
[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 |
|
When I've seen EMPTY_SHA errors it has been because there was a missing bundle build for the API version getting pulled in (if I recall correctly). |
|
/override ci/prow/openstack-operator-build-deploy-kuttl-4-18 |
|
@stuggi: Overrode contexts on behalf of stuggi: ci/prow/openstack-operator-build-deploy-kuttl-4-18 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. |
3c0eba8
into
openstack-k8s-operators:main
|
@stuggi: The following tests 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. |
Move filtering from grep to jq to catch openstack-operator paths before the replace directive substitutes them with local paths.
Issue: The replace directive transforms the path before grep filtering:
github.com/.../openstack-operator/api => ./api
grep -v openstack-operator doesn't match './api'
Fix: Filter in jq on .Path before applying .Replace:
select(.Path | contains("openstack-operator") | not)
This properly excludes openstack-operator and openstack-operator/api(s) while keeping other operators' /api modules (nova-operator/api, etc).
Prevents CI error:
Invalid source name docker://EMPTY_SHA:null:https://quay.io/api/v1/repository/./api