-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[ARM] az bicep: Reflecting bicep cli updates to az bicep command
#26781
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
Conversation
️✔️AzureCLI-FullTest
|
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| bicep build-params | cmd bicep build-params added |
||
| bicep decompile-params | cmd bicep decompile-params added |
||
| bicep generate-params | cmd bicep generate-params added parameter include_params |
||
| bicep generate-params | cmd bicep generate-params added parameter output_format |
|
BICEP |
az bicep command
|
@zhoxing-ms please could we have a review on this? |
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.
Changes look good to me, but you may need to fix the style and linter issues.
thanks for the approval @shenglol, I just updated the PR with linter/style fixes 👍 |
az bicep commandaz bicep: reflecting bicep cli updates to az bicep command
|
@polatengin Please resolve these CLI linter issues~ |
|
Please refer to the guideline to write the description of those PR changes in the |
|
Please note that we are launching the release for this sprint this week. Please resolve all comments by tomorrow, otherwise the release of this PR will have to be postponed to the next sprint (on 09-05) |
|
@polatengin The CI failed because there is no tests for the new commands: Can you add some tests in https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource_custom.py? |
You need to add some more specific descriptions for these new commands and parameters so that customers can understand these new features |
az bicep: reflecting bicep cli updates to az bicep commandaz bicep: Reflecting bicep cli updates to az bicep command
I added tests to the PR, all the pipelines are successfully run now 👍 I also updated the PR description Can you review this PR, please? /cc: @zhoxing-ms @yonzhan |
|
@polatengin Please note that the parameters do not need to be written in the second command signature section, but should be written in the following description section. And the bicep module belongs to
Should be
|
I just updated the description of this PR, can you check please @zhoxing-ms ? |
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
|
/azp run |
|
Commenter does not have sufficient privileges for PR 26781 in repo Azure/azure-cli |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
@zhoxing-ms , @yonzhan I see all the checks are passing 🥳 can you review, please? |
|
@polatengin Please note that we are launching the release for this sprint this week. Please resolve all comments by tomorrow, otherwise the release of this PR will have to be postponed to the next sprint (on 09-26) |
Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
hey @zhoxing-ms, I resolved all the comments. can you please check the PR and help me to merge it? |
|
This PR adds two On AMD64, it raises On ARM64, it raises Other tests which use bicep binary are live only. A quick fix is to change these tests to live only. AMD64 error logARM64 error log |


Related command
Following list of commands are added;
az bicep build-paramsaz bicep generate-paramsaz bicep decompile-paramsDescription
"bicep cli" got new command additions recently;
az bicep build-params: builds the given.bicepparamfile and creates '.parameters.json` fileaz bicep generate-params: generates a.bicepparamor.parameters.jsonfile, based on the--output-param {bicepparam, file}argument, from the given.bicepfileaz bicep decompile-params: generates a.bicepparamfile from the given.parameters.jsonfileHistory Notes
[ARM]
az bicep build-params: Support generatingparameters.jsonfile from the givenbicepparamfile with the--fileargument[ARM]
az bicep decompile-params: Support generatingparameters.bicepparamfile from the givenparameters.jsonfile with the--fileargument[ARM]
az bicep generate-params: Support generatingmain.parameters.jsonwith the parameters that doesn't have default values in the given.bicepfile[ARM]
az bicep generate-params: Add new parameter--output-formatto support generating parameter file inbicepparamandjsonformats[ARM]
az bicep generate-params: Add new parameter--include-paramsto support generating parameter file with all the parameters in the givenbicepfile, or with only parameters that doesn't have default values in the givenbicepfileThis 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.
azdev style resourcecommand output;azdev linter resourcecommand output;