← Back to Pull requests

ci: update image and code signing Jenkins pipelines #1707

Closed
unknown closed this pull request without merging on Nov 02, 2026 12:17 UTC
View on GitHub
unknown unknown commented on Nov 02, 2026 11:36 UTC
Author

Summary

Reworks the two signing Jenkins pipelines and moves them to hack/cicd/signature-pipelines/. Each pipeline now has separate Generate Signatures and Verify Signatures stages and a simpler parameter set.

Changes

Both pipelines


  • Moved jenkinsfile-image-signature-pipeline and jenkinsfile-code-signing-service from hack/cicd/ to hack/cicd/signature-pipelines/.

  • Added a separate Verify Signatures stage to each pipeline.
  • jenkinsfile-image-signature-pipeline

    Parameters

  • Removed ICR_REGISTRY. It is now an environment variable (icr.io/ai-services-cicd).

  • Removed the ICR_REGISTRY_PASSWORD override. The pipeline always uses the icr-iam-creds credential, now bound directly to ICR_PASSWORD. The redundant withEnv wrapper is gone.

  • Renamed ADDITIONAL_IMAGE to SIGNATURE_ONLY_IMAGES. It is now space-separated instead of comma-separated.

  • Renamed SKIP_IMAGE_LIST to EXCLUDED_IMAGES. It accepts spaces or newlines and excludes images from both building and signing.

  • Reworded the VERSION description.
  • Build stages

  • Image builds are grouped into parallel Build Base Images and Build Services stages.
  • Signing

  • Renamed the "Sign Images" stage to Generate Signatures.

  • Added a Verify Signatures stage. For every image in images.txt it runs:

  • ``sh
    cosign verify --key cosign.pub --insecure-ignore-tlog=true <image>

    jenkinsfile-code-signing-service


  • Split "Sign and Verify Binaries" into Generate Signatures (signBinaries()) and Verify Signatures (verifyBinaries()).

  • Removed the mcp binary build, and removed mcp/bin from the sign and verify steps, because MCP binaries are not built here.

  • Removed the default value for VERSION, so it must be entered on each run. Reworded its description.

  • uploadArtifacts() now archives a single release-<VERSION>-artifacts.tar.gz instead of the whole public-artifacts/` folder.
  • Diff: 244 lines (+183 / -61) across 3 files Reviewer: mkumatag Review duration: 40m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 244 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.329
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1707"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 38.8% (MEDIUM) · Higher = larger blast radius
    38.8%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 15.3% · Safe to merge
    15.3%