-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2120 from microsoft/bilong-1espipelines
Update pipelines for 1ES compliance
- Loading branch information
Showing
3 changed files
with
191 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,49 @@ | ||
pool: | ||
vmImage: 'windows-latest' | ||
|
||
steps: | ||
- pwsh: | | ||
cd .\.build | ||
.\docs.ps1 | ||
displayName: "Docs Check" | ||
|
||
- pwsh: .\.build\SpellCheck.ps1 | ||
displayName: "Spell Check" | ||
|
||
- pwsh: | | ||
cd .\.build | ||
.\CodeFormatter.ps1 -Branch $env:TargetBranchName | ||
displayName: "Code Formatting Script" | ||
condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/release')) | ||
env: | ||
TargetBranchName: $(System.PullRequest.TargetBranch) | ||
|
||
- pwsh: | | ||
cd .\.build | ||
.\Build.ps1 | ||
displayName: "Build Script" | ||
|
||
- pwsh: | | ||
cd .\.build | ||
.\Pester.ps1 -NoProgress -Branch $env:TargetBranchName | ||
displayName: "Running Invoke-Pester" | ||
env: | ||
TargetBranchName: $(System.PullRequest.TargetBranch) | ||
|
||
- pwsh: | | ||
cd .\.build | ||
.\ValidateMerge.ps1 -Branch $env:TargetBranchName | ||
displayName: "Validate commit times" | ||
env: | ||
TargetBranchName: $(System.PullRequest.TargetBranch) | ||
resources: | ||
repositories: | ||
- repository: 1ESPipelineTemplates | ||
type: git | ||
name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
ref: refs/tags/release | ||
extends: | ||
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates | ||
parameters: | ||
pool: | ||
name: MSSecurity-1ES-Build-Agents-Pool | ||
image: MSSecurity-1ES-Windows-2022 | ||
os: windows | ||
customBuildTags: | ||
- ES365AIMigrationTooling | ||
stages: | ||
- stage: stage | ||
jobs: | ||
- job: job | ||
steps: | ||
- pwsh: | | ||
cd .\.build | ||
.\docs.ps1 | ||
displayName: "Docs Check" | ||
- pwsh: .\.build\SpellCheck.ps1 | ||
displayName: "Spell Check" | ||
- pwsh: | | ||
cd .\.build | ||
.\CodeFormatter.ps1 -Branch $env:TargetBranchName | ||
displayName: "Code Formatting Script" | ||
condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/release')) | ||
env: | ||
TargetBranchName: $(System.PullRequest.TargetBranch) | ||
- pwsh: | | ||
cd .\.build | ||
.\Build.ps1 | ||
displayName: "Build Script" | ||
- pwsh: | | ||
cd .\.build | ||
.\Pester.ps1 -NoProgress -Branch $env:TargetBranchName | ||
displayName: "Running Invoke-Pester" | ||
env: | ||
TargetBranchName: $(System.PullRequest.TargetBranch) | ||
- pwsh: | | ||
cd .\.build | ||
.\ValidateMerge.ps1 -Branch $env:TargetBranchName | ||
displayName: "Validate commit times" | ||
env: | ||
TargetBranchName: $(System.PullRequest.TargetBranch) |
Oops, something went wrong.