Skip to content
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

Bicep compilation failed for Bicep Linter Configuration info message #266

Closed
asears opened this issue Dec 7, 2021 · 2 comments
Closed
Assignees
Labels
bug Something isn't working upstream An issue for upstream tracking of PSRule repositories waiting-feedback An issue or PR that needs author feedback.

Comments

@asears
Copy link

asears commented Dec 7, 2021

Description of the issue

In Azure Devops pipeline, getting an error about configuration file found which should be treated as informational.
Could this be converted to info level in the extension?

It's currently failing the task out.

##[error]Bicep (0.4.1008) compilation of '/home/vsts/work/1/s/adfrowpe.bicep' failed with: /home/vsts/work/1/s/adfrowpe.bicep(1,1) : Info Bicep Linter Configuration: Custom bicepconfig.json file found (/home/vsts/work/1/s/bicepconfig.json).

Module in use and version:

Using PSRule v1.10.0-B2111024+8dc57907efe733ededf307d1c87a5af5253dea93
Using PSRule.Rules.Azure v1.11.0-B2111014

See Azure/bicep#4851

@BernieWhite
Copy link
Member

@asears Thanks for reporting this one.

Could be wrong but normally it is only reported as an error if other errors are reported by bicep. Is that your experience?

or

Are you getting this errors without any other bicep issues reported?

If so, do you see any reported errors if you do a bicep build manually?

@BernieWhite BernieWhite added the bug Something isn't working label Dec 16, 2021
@BernieWhite BernieWhite added the upstream An issue for upstream tracking of PSRule repositories label Dec 16, 2021
@BernieWhite BernieWhite self-assigned this Dec 27, 2021
@BernieWhite
Copy link
Member

@asears This is probably closed by the mentioned upstream issue above. If not please let us know.

@BernieWhite BernieWhite added the waiting-feedback An issue or PR that needs author feedback. label Dec 27, 2021
@asears asears closed this as completed Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream An issue for upstream tracking of PSRule repositories waiting-feedback An issue or PR that needs author feedback.
Projects
None yet
Development

No branches or pull requests

2 participants