You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug Report]: Bicep compilation fails due to CLI version on ubuntu-agents #1471
With the latest CLI version (2.37.0) used by the ubuntu-20.04 agents, a bug was introduced that renders the output of the 'az bicep build --f (..) --stdout' command empty, unless an additional '--no-restore' flag is passed along with it.
This is very bad, as the function is used by all our Pester tests (alongside some other logic).
For the time being, we can either try to downgrade the CLI version in our pipeline (to e.g. 2.28.0), use the '--no-restore' flag (which may have side-effects) or wait until the PR is merged and the agents updated.
To reproduce
Run any template with the 'az bicep build --f (..) --stdout' command. The result will be empty.
Activity
thomas-aure commentedon Jun 3, 2022
Thanks for reporting this. This was the bug I was chasing. :-)