A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
We should add retries for failure conditions in the deployment script, and timeout after 3-5 minutes.
We should investigate if sqlcmd is logging errors to standard out or standard error, and if there's something we can change here. The logs from sqlcmd are not showing up in the github action logs, which are first parsed by Microsoft.Resources/deploymentScripts service. There should be a way to get the logs to show up and avoid the extra step of troubleshooting for the user.
Problem
sqlcmd (relevant code here) often fails to connect to the newly provisioned database when
azd provision
runs, with error:"Database '<>' is not currently available. Please retry this connection later."
Example failures:
Fix
sqlcmd
is logging errors to standard out or standard error, and if there's something we can change here. The logs from sqlcmd are not showing up in the github action logs, which are first parsed by Microsoft.Resources/deploymentScripts service. There should be a way to get the logs to show up and avoid the extra step of troubleshooting for the user.