Skip to content

Enable RAG content image builds in Prow CI (replaces #76834)#77611

Open
malingatembo wants to merge 9 commits intoopenshift:mainfrom
malingatembo:feat/27421-rag-content-prow-ci-clean
Open

Enable RAG content image builds in Prow CI (replaces #76834)#77611
malingatembo wants to merge 9 commits intoopenshift:mainfrom
malingatembo:feat/27421-rag-content-prow-ci-clean

Conversation

@malingatembo
Copy link
Copy Markdown
Contributor

@malingatembo malingatembo commented Apr 9, 2026

Title: Enable RAG content image builds in Prow CI (replaces #76834)

description:

Replaces

Closes #76834 (clean rebase without 17k file merge conflicts)

Summary

Enable building OpenStack Lightspeed RAG content vector database images in Prow CI, replacing GitHub Actions (6-hour timeout limitation).

Changes

  • Image build: Add configuration with images.items schema for rag-content-openstack
  • Build arguments: Configure FAISS vector DB with 2025.2 docs (CPU flavor)
  • Credentials: Add Vault secrets (rag-content-quay-push) for Quay.io authentication
  • Test structure: Use steps: format with nested test for credential support
  • Timeout: Set to 4 hours (reduced from 8h per reviewer feedback)
  • Container: Use src container (has podman/build tools)
  • Security: Password handling via --password-stdin file redirection
  • Docs build: Disabled upstream/operators docs (waiting for pre-rendered repos)
  • DEBUG: 1-hour sleep for pod inspection (temporary, for troubleshooting Quay push)
  • Workaround: Limited to Nova docs only (Neutron memcache issue)

Reviewer Feedback Implemented

All suggestions from PR #76834 addressed:

  • Reduced timeout from 8h to 4h (@umago)
  • Disabled BUILD_UPSTREAM_DOCS and BUILD_OPERATORS_DOCS (@umago)
  • Secure password handling with file redirection (@lpiwowar)
  • Converted to steps: format for credentials support
  • Changed container from rag-content-openstack to src
  • CPU-first approach (GPU consideration deferred)

Testing

Manual Quay.io push validation. Use /pj-rehearse to trigger test build.

JIRA

OSPRH-27421

This pr enables building of openstack-lightspeed
RAG content vector database in Prow, replacing
github actions which has a time limit of 6hours.

- add images: container file references
- configures build arguments for vector db generation
- updates test to a message indicating successful build
- Manual promotion to Quay (no auto-push yet)
…ci pipeline. we had issues with neutron memcache
@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 9, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 9, 2026

Hi @malingatembo. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 9, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: malingatembo
Once this PR has been reviewed and has the lgtm label, please assign umago for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@malingatembo
Copy link
Copy Markdown
Contributor Author

Hi @umago @lpiwowar

I've created this clean PR to replace #76834.

Why a new PR:
The original PR accumulated 17,297 files (168k+ lines) from merge conflicts after multiple upstream/main syncs. The noise made it impossible to review the actual 2-file change. Starting fresh with cherry-picked commits, cleaner..

All your feedback implemented:

  • Timeout reduced to 4h
  • BUILD_UPSTREAM_DOCS and BUILD_OPERATORS_DOCS disabled
  • Secure password handling (file redirection)
  • Steps format for credentials
  • ***Container changed to src

Two new additions since last review:

  1. DEBUG sleep (1 hour) - Added to allow pod exec for troubleshooting Quay push issues. Temporary, will remove once verified working.
  2. OS_PROJECTS: nova - Temporarily limiting to Nova docs only due to Neutron memcache errors during build. Workaround for testing the full CI pipeline.

Only 2 files changed (177 lines). Ready for review. Thanks!

@lpiwowar
Copy link
Copy Markdown
Contributor

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 10, 2026
@lpiwowar
Copy link
Copy Markdown
Contributor

/pj-rehearse

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@lpiwowar: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@malingatembo malingatembo force-pushed the feat/27421-rag-content-prow-ci-clean branch from 5282306 to 985d74b Compare April 10, 2026 11:23
@malingatembo
Copy link
Copy Markdown
Contributor Author

/retest

@malingatembo
Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@malingatembo: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@malingatembo malingatembo marked this pull request as ready for review April 10, 2026 13:59
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 10, 2026
@openshift-ci openshift-ci bot requested review from Akrog and umago April 10, 2026 13:59
@malingatembo
Copy link
Copy Markdown
Contributor Author

/retest

@malingatembo
Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@malingatembo: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@malingatembo
Copy link
Copy Markdown
Contributor Author

Switching approach: manual podman push doesn't work due to container capability restrictions. Moving to Prow's promotion mechanism instead, like volsync: https://github.com/openshift/release/blob/main/ci-operator/config/backube/volsync/backube-volsync-main.yaml#L71C1-L71C10

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@malingatembo: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openstack-lightspeed-rag-content-main-build-rag-content-image openstack-lightspeed/rag-content presubmit Presubmit changed
pull-ci-openstack-lightspeed-rag-content-main-images openstack-lightspeed/rag-content presubmit Presubmit changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@malingatembo
Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@malingatembo: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 10, 2026

@malingatembo: all tests passed!

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

Labels

ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants