azure / psrule.rules.azure-quickstart Goto Github PK
View Code? Open in Web Editor NEWSample code you can use to quickly start using PSRule for Azure.
Home Page: https://azure.github.io/PSRule.Rules.Azure/
License: MIT License
Sample code you can use to quickly start using PSRule for Azure.
Home Page: https://azure.github.io/PSRule.Rules.Azure/
License: MIT License
I've just cloned this repo into my Azure DevOps org, added a pipeline based on .pipelines/azure-analyze.yaml
, made one small change (see screenshot below) to generate a fail, and ran the pipeline.
The pipeline runs, but fails—is it meant to fail given I've literally just cloned the repo and made a small modification? In short, I'm unsure of what the expected output should be. I'm not sure if everything is working as expected or there is indeed something broken within this repo or the pipeline has changed its behaviour.
I've included the screenshots of the pipeline job so I'd appreciate it if you/I/we can work through it together.
So the below screenshot shows an error against AZR-000355 which I'm expecting given the modification I made. That's fine. I'm guessing the next line, "One or more assertions failed" is also fine since that is true.
This next screenshot shows the warnings.
The next screenshot shows the Extensions tab.
This looks fine to me.
Finally, there are no artifacts produced (under the Scans tab) as the pipeline never got to that task.
From what I've seen in the YT videos and my expectations given the minimal modifications, the job should complete with a status of Warning as opposed to Failed so that one can view the prettyfied output under Scans?
Edit: ok so I just re-read some of the documentation and have configured the pipeline to continue on error. Now I can see the Scans output which is great. But if this is set to true just so I can get some pretty outputs, then wouldn't it be more suited to permanently leave this to true?
Thank you and I appreciate your time!
Most customers with interest in PSRule for Azure are moving to Bicep from ARM templates. We should:
archive/with-arm-templates
.deployments/
and modules/
paths that focus on Bicep.A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.