Add odh-dashboard-operator to OpenShift CI image builds#80855
Add odh-dashboard-operator to OpenShift CI image builds#80855lucferbux wants to merge 2 commits into
Conversation
|
@lucferbux: GitHub didn't allow me to request PR reviews from the following users: opendatahub-io/odh-dashboard. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (2)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThe CI operator config for Changesdashboard-operator image build and mirror registration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@lucferbux: |
Generated via `make ci-operator-prowgen` to include: - New presubmit job for odh-dashboard-operator-pr-image-mirror - New postsubmit job for odh-dashboard-operator-image-mirror - Updated sparse_checkout_files across all existing jobs
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lucferbux 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 |
|
/pj-rehearse |
|
@lucferbux: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@lucferbux: 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. |
Summary
Add the
dashboard-operatorcomponent fromopendatahub-io/odh-dashboardto the CI image build and Quay mirror configuration.Changes
odh-dashboard-operator-imagebuilt from./dashboard-operator/Dockerfileodh-dashboard-operator-pr-image-mirror— mirrors toquay.io/opendatahub/odh-dashboard-operatoron PRsodh-dashboard-operator-image-mirror— mirrors toquay.io/opendatahub/odh-dashboard-operatoron merge to mainContext
The
dashboard-operatoris a Go controller-runtime operator (Go 1.25, UBI9-minimal runtime) that lives alongside the main dashboard frontend in theopendatahub-io/odh-dashboardmonorepo. It already has:dashboard-operator/Dockerfile.tekton/This PR adds the OpenShift CI configuration to build and mirror the operator image, following the same pattern as the existing modular-architecture package images.
Prerequisites
opendatahub+openshift_ciQuay robot account needs push permission onquay.io/opendatahub/odh-dashboard-operatorNote
The prowgen-generated job files (
presubmits.yaml/postsubmits.yaml) will need to be regenerated. Please runmake jobsor let CI handle the regeneration./cc @opendatahub-io/odh-dashboard
Summary by CodeRabbit
This PR integrates the
dashboard-operatorcomponent into the OpenShift CI infrastructure for theopendatahub-io/odh-dashboardrepository by extending the CI configuration inopendatahub-io-odh-dashboard-main.yaml.Changes Made
Image Build Configuration:
odh-dashboard-operator-imagethat sources from./dashboard-operator/DockerfileMirror Test Workflows:
odh-dashboard-operator-pr-image-mirror): Runs on pull requests and mirrors built images toquay.io/opendatahub/odh-dashboard-operatorodh-dashboard-operator-image-mirror): Runs on merge to main and mirrors images to the same Quay repository withRELEASE_VERSION: maintagBoth mirror tests use the existing
opendatahub-io-ci-image-mirrorworkflow, following the established pattern for other modular architecture components (model-registry, gen-ai, maas, mlflow, eval-hub, automl, autorag, agent-ops) already configured in the same file.Impact
This enables automated CI/CD for the dashboard-operator component: images are built during pull requests for testing and automatically published to Quay upon merge to the main branch. The Prow job files (
presubmits.yamlandpostsubmits.yaml) will be regenerated from this configuration, either locally viamake jobsor through CI automation.