зеркало из https://github.com/microsoft/PSRule.git
Minor updates and cleanup to repo settings (#905)
This commit is contained in:
Родитель
e6b3b053ee
Коммит
ccaeb98c41
|
@ -25,6 +25,15 @@
|
|||
"/docs/scenarios/*/*.Rule.yaml"
|
||||
]
|
||||
},
|
||||
"json.schemas": [
|
||||
{
|
||||
"fileMatch": [
|
||||
"/tests/PSRule.Tests/**.Rule.jsonc",
|
||||
"/tests/PSRule.Tests/**/**.Rule.jsonc",
|
||||
],
|
||||
"url": "./schemas/PSRule-resources.schema.json"
|
||||
}
|
||||
],
|
||||
"[yaml]": {
|
||||
"editor.tabSize": 2
|
||||
},
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"label": "Test",
|
||||
"detail": "Build and run unit tests.",
|
||||
"type": "shell",
|
||||
"command": "Invoke-Build Test -AssertStyle Client",
|
||||
"command": "Invoke-Build Test -AssertStyle Detect",
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": true
|
||||
|
@ -24,7 +24,7 @@
|
|||
"label": "Run Pester test group",
|
||||
"detail": "Runs a specific group for Pester tests.",
|
||||
"type": "shell",
|
||||
"command": "Invoke-Build Test -AssertStyle Client -TestGroup '${input:pesterTestGroup}'",
|
||||
"command": "Invoke-Build Test -AssertStyle Detect -TestGroup '${input:pesterTestGroup}'",
|
||||
"group": "test",
|
||||
"problemMatcher": [
|
||||
"$pester"
|
||||
|
@ -38,7 +38,7 @@
|
|||
"label": "Analyze repository",
|
||||
"detail": "Run repository analysis.",
|
||||
"type": "shell",
|
||||
"command": "Invoke-Build AnalyzeRepository -AssertStyle Client",
|
||||
"command": "Invoke-Build AnalyzeRepository -AssertStyle Detect",
|
||||
"problemMatcher": [],
|
||||
"presentation": {
|
||||
"clear": true,
|
||||
|
|
|
@ -1,79 +0,0 @@
|
|||
|
||||
- name: Commands
|
||||
href: PSRule.md
|
||||
topicHref: PSRule.md
|
||||
items:
|
||||
- name: Assert-PSRule
|
||||
href: Assert-PSRule.md
|
||||
topicHref: Assert-PSRule.md
|
||||
- name: Export-PSRuleBaseline
|
||||
href: Export-PSRuleBaseline.md
|
||||
topicHref: Export-PSRuleBaseline.md
|
||||
- name: Get-PSRule
|
||||
href: Get-PSRule.md
|
||||
topicHref: Get-PSRule.md
|
||||
- name: Get-PSRuleBaseline
|
||||
href: Get-PSRuleBaseline.md
|
||||
topicHref: Get-PSRuleBaseline.md
|
||||
- name: Get-PSRuleHelp
|
||||
href: Get-PSRuleHelp.md
|
||||
topicHref: Get-PSRuleHelp.md
|
||||
- name: Get-PSRuleTarget
|
||||
href: Get-PSRuleTarget.md
|
||||
topicHref: Get-PSRuleTarget.md
|
||||
- name: Invoke-PSRule
|
||||
href: Invoke-PSRule.md
|
||||
topicHref: Invoke-PSRule.md
|
||||
- name: New-PSRuleOption
|
||||
href: New-PSRuleOption.md
|
||||
topicHref: New-PSRuleOption.md
|
||||
- name: Set-PSRuleOption
|
||||
href: Set-PSRuleOption.md
|
||||
topicHref: Set-PSRuleOption.md
|
||||
- name: Test-PSRuleTarget
|
||||
href: Test-PSRuleTarget.md
|
||||
topicHref: Test-PSRuleTarget.md
|
||||
|
||||
- name: Assert
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Assert.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Assert.md
|
||||
|
||||
- name: Baseline
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Baseline.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Baseline.md
|
||||
|
||||
- name: Badges
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Badges.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Badges.md
|
||||
|
||||
- name: Conventions
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Conventions.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Conventions.md
|
||||
|
||||
- name: Documentation
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Docs.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Docs.md
|
||||
|
||||
- name: Expressions
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Expressions.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Expressions.md
|
||||
|
||||
- name: Keywords
|
||||
href: ../../../keywords/PSRule/en-US/about_PSRule_Keywords.md
|
||||
topicHref: ../../../keywords/PSRule/en-US/about_PSRule_Keywords.md
|
||||
|
||||
- name: Options
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Options.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Options.md
|
||||
|
||||
- name: Rules
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Rules.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Rules.md
|
||||
|
||||
- name: Selectors
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Selectors.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Selectors.md
|
||||
|
||||
- name: Variables
|
||||
href: ../../../concepts/PSRule/en-US/about_PSRule_Variables.md
|
||||
topicHref: ../../../concepts/PSRule/en-US/about_PSRule_Variables.md
|
|
@ -1,27 +0,0 @@
|
|||
|
||||
- name: Getting started
|
||||
href: index.md
|
||||
topicHref: index.md
|
||||
- name: Features
|
||||
href: ../features.md
|
||||
topicHref: ../features.md
|
||||
- name: Scenarios
|
||||
items:
|
||||
- name: Validate Azure resource configuration
|
||||
href: azure-resources/azure-resources.md
|
||||
topicHref: azure-resources/azure-resources.md
|
||||
- name: Validate Azure resources tags
|
||||
href: azure-tags/azure-tags.md
|
||||
topicHref: azure-tags/azure-tags.md
|
||||
- name: Validate Kubernetes resources
|
||||
href: kubernetes-resources/kubernetes-resources.md
|
||||
topicHref: kubernetes-resources/kubernetes-resources.md
|
||||
- name: Using within continuous integration
|
||||
href: validation-pipeline/validation-pipeline.md
|
||||
topicHref: validation-pipeline/validation-pipeline.md
|
||||
- name: Packaging rules in a module
|
||||
href: rule-module/rule-module.md
|
||||
topicHref: rule-module/rule-module.md
|
||||
- name: Writing rule help
|
||||
href: rule-docs/rule-docs.md
|
||||
topicHref: rule-docs/rule-docs.md
|
18
ps-rule.yaml
18
ps-rule.yaml
|
@ -11,10 +11,24 @@ output:
|
|||
|
||||
input:
|
||||
pathIgnore:
|
||||
- '*.Designer.cs'
|
||||
- '.vscode/'
|
||||
- '.github/workflows/'
|
||||
- '.azure-pipelines/**/*.yaml'
|
||||
- '*.md'
|
||||
- '*.Designer.cs'
|
||||
- '*.resx'
|
||||
- '*.sln'
|
||||
- 'docs/**/toc.yml'
|
||||
- '*.txt'
|
||||
- '*.html'
|
||||
- '*.ico'
|
||||
- '*.png'
|
||||
- 'ps-docs.yaml'
|
||||
- 'ps-project.yaml'
|
||||
- 'ps-rule.yaml'
|
||||
- 'mkdocs.yml'
|
||||
- '**/.editorconfig'
|
||||
- '.markdownlint.json'
|
||||
- '.github/dependabot.yml'
|
||||
|
||||
include:
|
||||
path: []
|
||||
|
|
Загрузка…
Ссылка в новой задаче