Azure / Azure/ResourceModules

[PSRule] Integrate PSRule pre-flight checks with ADO module validation workflows

Open
#2,427 2 comments 0 reactions 0 assignees View on GitHub
[cat] azure devops [cat] needs further discussion [cat] pipelines [cat] testing blocked enhancement
Dominant language
PowerShell
Stars
737
Forks
436
Avg merge
10d 7h
Merged PRs (30d)
1

Description

This is the ADO version of issue #2426.

This is a separate issue wrt the GH one for the following reason:

As noticed during PoC (ref #2026) the PSRule ADO extension prerequisite may be a blocker to adopting the analyzer in ADO pipelines, since the current extension is not released with a Microsoft verified publisher.

A workaround to be discussed for CARML is to replace the action with custom script using PSRule module and cmdlets, getting rid of the extension prerequisite, but likely requiring more effort.

Alternatively, since a new ADO extension is planned to be released with a Microsoft verified publisher, we may want to block this issue until then. This is tracked by https://github.com/microsoft/PSRule/issues/3295,

A first implementation of this issue for, e.g., the KV module, is hosted by branch [hack/topic6](https://github.com/Azure/ResourceModules/tree/hack/topic6). The branch leverages the currently published extension.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.