Feature a 'real-world' use of these rules against a large code base #2319
Rohan Cragg (rohancragg)
started this conversation in
Ideas
Replies: 2 comments 7 replies
|
In the following command-line: Invoke-PSRule -Format File -InputPath '*.tests.bicep' -Module 'PSRule.Rules.Azure' -Outcome Processed -As Summary
input:
pathIgnore:
# ignore all bicep files except the ones that have been created to test modules
- '**'
- '!**/*.tests.bicep' |
5 replies
|
Thanks for indulging me here. I now see that PsRule is already used in the ALZ-Bicep repo, added here in September last year: Azure/ALZ-Bicep@2120863 |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I wanted to see a more substantial example of the rules in action so I have forked a 'reference architecture' repo and tried to implement these checks against it.
Please see here: rohancragg/reliable-web-app-pattern-dotnet#1
It is a fork of Reliable web app pattern for .NET and I've tried to do the absolute minimum to get an analysis of the working. I added a
ps-rule.yamland a test of themain.bicepand ignored other bicep files otherwise there's lots of noise.I'd welcome feedback on my use of the tool here as I'm still learning!
All reactions