← Back to Pull requests

build: choose UBI 9 or UBI 10 with BASE_DISTRO #2316

Merged
baum merged 7 files (236 lines) on Nov 30, 2026 13:03 UTC
View on GitHub
baum baum commented on Nov 29, 2026 10:09 UTC
Author

Summary


  • Add BASE_DISTRO so image builds can select UBI 10 (default, Rocky Linux 10) or UBI 9 (CentOS Stream 9 build, UBI 9 runtime, Shaman centos/9).

  • The UBI 9 gateway stays on system Python 3.9 so the distro python3-rados and python3-rbd modules import.

  • Add a ubi9-sanity CI job that builds the UBI 9 images and runs the unsecured bdevperf I/O path. The default build stays on UBI 10.
  • Building with UBI 9

    BASE_DISTRO=ubi10 in .env keeps the Rocky Linux 10 / UBI 10 images. Set BASE_DISTRO=ubi9 in .env, or pass it on the make command line. A command-line value overrides .env.

    ubi9 builds SPDK and the Ceph test cluster on CentOS Stream 9, runs SPDK and the CLI on UBI 9, and uses the centos/9 Shaman repo. The gateway stays on the image's Python 3.9 so python3-rados and python3-rbd import.

    Build the images in the same order as the ubi9-sanity job, then start them. The gateway image is FROM $CONTAINER_REGISTRY/spdk:$SPDK_VERSION, so the local SPDK image has to be tagged before the gateway build starts.

    make BASE_DISTRO=ubi9 build SVC=spdk
    make BASE_DISTRO=ubi9 build SVC=bdevperf
    make BASE_DISTRO=ubi9 build SVC=ceph
    make BASE_DISTRO=ubi9 build SVC=nvmeof
    make BASE_DISTRO=ubi9 build SVC=nvmeof-cli
    make BASE_DISTRO=ubi9 up
    

    Diff: 236 lines (+208 / -28) across 7 files Reviewer: caroav Review duration: 1613m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.45) × (1 − Review Confidence (0.67)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 236 lines diff across 7 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.32 · 1 substantive comment(s)
    0.32
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    67%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.327
    Shallow Review Depth shallow_review_depth
    0.238
    Real PR Conversation Timeline
    13 items
    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 29, 2026 10:09 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 29, 2026 10:22 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 29, 2026 10:44 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 29, 2026 10:57 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 29, 2026 11:16 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 30, 2026 09:04 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 30, 2026 09:27 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 30, 2026 09:39 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 30, 2026 09:49 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 30, 2026 10:11 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Nov 30, 2026 12:16 UTC
    Reviewer

    Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

    An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

    caroav caroav approved these changes on Nov 30, 2026 12:56 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    baum baum
    Labels
    risk: low confidence: 67.4% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 44.5% (MEDIUM) · Higher = larger blast radius
    44.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 67.4% · Lower = rushed or shallow review
    67.4%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.5% · Safe to merge
    14.5%