-
Notifications
You must be signed in to change notification settings - Fork 517
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
chore: bicepconfig.json linter update #318
chore: bicepconfig.json linter update #318
Conversation
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
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 great, will merge once checks pass.
Thanks
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.
Hey @DaFitRobsta,
So, it did look good but the validation tests picked up an error based on the new linting rules for management groups at least which I think is a bicep bug so have raised here: Azure/bicep#8410
This then got me thinking why did ADO find it but not the GitHub Action. Investigation shows that the bicep version on the GitHub Action runner was 0.9.1 and not the latest. So have added some steps to the workflow .github/workflows/bicep-build-to-validate.yml
in your branch (so just do a git pull to update your local clone of it) to now include a step to tell us the version and also install the latest version of bicep so we dont get hit by this again 👍
Now for you to investigate and work through these linter issues being highlighted as well as the upstream issue I created (I suspect we will get an answer from PG today/tomorrow - hopefully)
Any questions, ping me
Hello @jtracey93, |
Onto the next failure. Might be worth changing the action to continue on error instead of throw straight out. And capture all failure in a variable and then display them all at the end. Might make the process a bit better. |
Hey @jtracey93, |
/azp run validateazcloud |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
E2Es failed due to FW and VWAN trying to be deployed at same time due to condition check error on ADO E2E (bug has been logged for this to be fixed) Will merge PR |
Overview/Summary
As part of Bicep release v0.10.13 new linter rules have been added. Azure/bicep: Bicep is a declarative language for describing and deploying Azure resources (github.com)
We need to update the bicepconfig.json and Contribution Guide Wiki example of the bicepconfig.json file in ALZ-Bicep to ensure our tests utilize these new rules.
This PR fixes/adds/changes/removes
Breaking Changes
None
Testing Evidence
Automated testing will suffice.
As part of this Pull Request I have
.bicep
file/s I am adding/editing are using the latest API version possiblemain
branch