Updated Makefile to check and warn if az cli if unavailable in local#6177
Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom Mar 25, 2026
Merged
Conversation
Signed-off-by: Vishal Anarase <iamvishalanarase@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6177 +/- ##
=======================================
Coverage 43.66% 43.67%
=======================================
Files 289 289
Lines 25495 25495
=======================================
+ Hits 11132 11134 +2
+ Misses 13561 13559 -2
Partials 802 802 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
/assign |
Member
Author
|
/assign |
Contributor
|
LGTM label has been added. DetailsGit tree hash: 0985a513cf55ef5e2cee732b9d23787ecd2207ad |
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: willie-yao 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds a
check-az-cliMakefile target that detects whether azure-cli (az) is on PATH, prints a clear warning with install instructions when it is not, and runs automatically beforemake tilt-upso developers are told to install Azure CLI before Tilt hits az (e.g. VNet peering with an AKS management cluster). SupportsVERBOSE=1 make check-az-clito print the resolved az path when present.Removes the obsolete TODO in the Tiltfile now covered by the Makefile check. Updates the development guide and AGENTS.md to describe the behavior.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #5291
Special notes for your reviewer:
TODOs:
Release note: