-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[ARM] Fix #26256: az bicep publish/restore/generate-params: Fix version checks without bicep installed
#26374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
zhoxing-ms
merged 3 commits into
Azure:dev
from
PramodValavala-MSFT:prvalav/fix-bicep-version-checks
May 11, 2023
Merged
[ARM] Fix #26256: az bicep publish/restore/generate-params: Fix version checks without bicep installed
#26374
zhoxing-ms
merged 3 commits into
Azure:dev
from
PramodValavala-MSFT:prvalav/fix-bicep-version-checks
May 11, 2023
Conversation
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
️✔️AzureCLI-FullTest
|
Collaborator
|
Bicep |
This was referenced May 8, 2023
bebound
reviewed
May 9, 2023
src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py
Outdated
Show resolved
Hide resolved
az bicep publish/restore/generate-params: Fix version checks without bicep installedaz bicep publish/restore/generate-params: Fix version checks without bicep installed
shenglol
previously approved these changes
May 10, 2023
Contributor
shenglol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for fixing this!
Contributor
|
@PramodValavala-MSFT Could you please resolve this conflict? |
Contributor
Author
Done 👍 |
zhoxing-ms
approved these changes
May 11, 2023
az bicep publish/restore/generate-params: Fix version checks without bicep installedaz bicep publish/restore/generate-params: Fix version checks without bicep installed
yash-nisar
pushed a commit
to yash-nisar/azure-cli
that referenced
this pull request
May 16, 2023
…x version checks without bicep installed (Azure#26374)
avgale
pushed a commit
to avgale/azure-cli
that referenced
this pull request
Aug 24, 2023
…x version checks without bicep installed (Azure#26374)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ARM
az resource/group/lock/tag/deployment/policy/managementapp/account management-group
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
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.
Related command
Description
Some commands require a specific version of
bicepto function and when trying to check the current version ofbicepinstalled, if thebicepCLI is not present, the commands fail.The workaround is to ensure the
bicepCLI is already installed. This PR ensures it is installed if it is already not before running the checks.Additionally, to improve test coverage, this extends the
random_config_dirproperty introduced in #25796 forLiveScenarioTests as well. @bebound FYIresolves #26256
Testing Guide
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.