Skip to content

Fix pin-bundle-images.sh to filter openstack-operator before replace - #1803

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
stuggi:fix_pin_script
Feb 10, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
stuggi:fix_pin_script

Conversation

@stuggi

@stuggi stuggi commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

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

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>
@openshift-ci
openshift-ci Bot requested review from rabi and slagle February 10, 2026 11:40
@stuggi
stuggi requested review from abays and dprince and removed request for rabi and slagle February 10, 2026 11:40
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/bb1fb3e8b9d943e4a13cc81441571807

❌ openstack-k8s-operators-content-provider NODE_FAILURE Node request 100-0008160436 failed in 0s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@stuggi

stuggi commented Feb 10, 2026

Copy link
Copy Markdown
Contributor Author

will override the the tests as the script will not be triggered by them.

@stuggi

stuggi commented Feb 10, 2026

Copy link
Copy Markdown
Contributor Author

/override ci/prow/functional

@openshift-ci

openshift-ci Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

@stuggi: Overrode contexts on behalf of stuggi: ci/prow/functional

Details

In response to this:

/override ci/prow/functional

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.

@stuggi

stuggi commented Feb 10, 2026

Copy link
Copy Markdown
Contributor Author

/override rdoproject.org/github-check

@openshift-ci

openshift-ci Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

@stuggi: Overrode contexts on behalf of stuggi: rdoproject.org/github-check

Details

In response to this:

/override rdoproject.org/github-check

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.

@abays abays left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci

openshift-ci Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dprince

dprince commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

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).

@stuggi

stuggi commented Feb 10, 2026

Copy link
Copy Markdown
Contributor Author

/override ci/prow/openstack-operator-build-deploy-kuttl-4-18

@openshift-ci

openshift-ci Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

@stuggi: Overrode contexts on behalf of stuggi: ci/prow/openstack-operator-build-deploy-kuttl-4-18

Details

In response to this:

/override ci/prow/openstack-operator-build-deploy-kuttl-4-18

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.

@openshift-merge-bot
openshift-merge-bot Bot merged commit 3c0eba8 into openstack-k8s-operators:main Feb 10, 2026
1 check passed
@openshift-ci

openshift-ci Bot commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

@stuggi: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/functional 36f59a9 link unknown /test functional
ci/prow/openstack-operator-build-deploy-kuttl-4-18 36f59a9 link unknown /test openstack-operator-build-deploy-kuttl-4-18

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants