Overview
When using CircleCI to run Azure CLI and Bicep, you may run into some errors.
Solution
- You may be experiencing an issue with the image, if you are using a Third-Party, such as,
mcr.microsoft.com/azure-cli:x.xx.x
image.- To troubleshoot, you can add
--debug --verbose
to get more info and logging. - You can also convert to our CircleCI Azure image
cimg/azure:YYYY.MM.I
- To troubleshoot, you can add
- Before running
az bicep install
, add the following like so:-
az config set bicep.use_binary_from_path=False
az bicep install
-
Additional Resources
The Azure Image from CircleCI: https://circleci.com/developer/images/image/cimg/azure
The Azure CLI Orb from CircleCI: https://circleci.com/developer/orbs/orb/circleci/azure-cli
If you have any additional questions, feedback, or interest in accurate end time in the UI or API, please feel free to reach out for additional assistance at CircleCI Support.
Comments
Article is closed for comments.