← Back to Pull requests

fix: allow plain HTTP pushes to the kind registry in e2e jobs #368

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

Since GitHub moved ubuntu-latest to ubuntu-26.04, the E2E Smoke Test and E2E Upgrade Test jobs fail on every PR (every CI run since Oct 27; the last green run was Oct 26 on ubuntu-24.04). Both fail at make docker-push, before any tests run:

docker push kind-registry:5000/kedacore/keda-olm-operator:main
failed to do request: Head "https://kind-registry:5000/v2/...": http: server gave HTTP response to HTTPS client

helm/kind-action runs the local registry over plain HTTP and maps kind-registry to 127.0.0.1 in /etc/hosts. On ubuntu-24.04, Docker treated that as an insecure registry because the name resolves to a loopback address. The Docker setup on ubuntu-26.04 (the build log now shows containerd image store unpacking steps) no longer does, so the push is attempted over HTTPS.

This adds a step to both E2E jobs, before the kind cluster is created, that adds kind-registry:5000 to insecure-registries in /etc/docker/daemon.json (merging with the runner's existing config) and restarts Docker. This works regardless of the runner image, unlike pinning runs-on: ubuntu-24.04.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Tests
    Updated the automated smoke-test and upgrade-test environments to accept connections to the local container registry. This change affects test setup only; it does not change application features or behavior visible to end users.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 212 lines (+159 / -53) across 2 files Reviewer: linkvt Review duration: 1136m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 212 lines diff across 2 files
    0.37
    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.321
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #368"
    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: 36.5% (MEDIUM) · Higher = larger blast radius
    36.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: 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: 14.4% · Safe to merge
    14.4%