fix(e2e): fix local minikube scripts and switch CLI health checks to /status - #393
Conversation
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds ChangesHelm Pull Policy Override and Local Build Delegation
Readiness Probe Endpoint Change to /status
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
crookedstorm
left a comment
There was a problem hiding this comment.
Looks good to me, for what it's worth.
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
…ld-story-is-broken-for-nemo-platform Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Summary
Two fixes:
1. CLI and e2e health checks:
/health/ready→/statusThe
nemoCLI (services start,setup,quickstart) and e2e test harness were polling/health/readyto check if the platform is up. This endpoint is not exposed through ingress — by design,/healthis for K8s pod probes, not external access. Switched to/status, which is already in the ingress allowlist and returns richer application-level health info.Changed files: CLI source (
packages/nemo_platform_ext/.../quickstart/cli.py,services/cli.py,setup.py), vendored SDK copies,e2e/conftest.py,e2e/k8s/scripts/run_auth_e2e.sh2. Fix
local_build_and_upgrade.shThe script was broken in several ways:
e2e/k8s/values/local.yamlapi.image.repositoryorpullPolicy— pods tried to pull fromnvcr.ioinstead of using local imageslocalhost:30080didn't workinstall_helm_e2e.shNow delegates to
install_helm_e2e.shfor the Helm install, uses the CPU setup script with port mapping, and supports configurable registry viaNMP_REGISTRYenv var. Also addedNMP_E2E_PULL_POLICYtoinstall_helm_e2e.shso local builds can setpullPolicy=Never.Test plan
minikube delete→bash e2e/k8s/scripts/local_build_and_upgrade.shsucceeds end-to-endcurl localhost:30080/statusreturns 200Closes AIRCORE-786
Closes AIRCORE-791
🤖 Generated with Claude Code