Skip to content

Commit 98d5b1b

Browse files
authored
Move SDL validation to ringed release (#21545)
* Move SDL validation to ringed release * Remove unneeded stuff * Add back variables * fixup * Add missing param
1 parent c836a3a commit 98d5b1b

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

.azure/pipelines/ci.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ variables:
7878
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
7979
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
8080

81-
# used for post-build phases, internal builds only
82-
- group: DotNet-AspNet-SDLValidation-Params
8381
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
8482
- name: _BuildArgs
8583
value: ''
@@ -781,18 +779,3 @@ stages:
781779
# See https://github.com/dotnet/arcade/issues/2871
782780
enableSymbolValidation: false
783781
publishInstallersAndChecksums: true
784-
# This is to enable SDL runs part of Post-Build Validation Stage
785-
SDLValidationParameters:
786-
enable: false
787-
continueOnError: false
788-
params: ' -SourceToolsList @("policheck","credscan")
789-
-TsaInstanceURL $(_TsaInstanceURL)
790-
-TsaProjectName $(_TsaProjectName)
791-
-TsaNotificationEmail $(_TsaNotificationEmail)
792-
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
793-
-TsaBugAreaPath $(_TsaBugAreaPath)
794-
-TsaIterationPath $(_TsaIterationPath)
795-
-TsaRepositoryName "AspNetCore"
796-
-TsaCodebaseName "AspNetCore"
797-
-TsaPublish $True
798-
-PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)/eng/PoliCheckExclusions.xml")'

eng/sdl-tsa-vars.config

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-SourceToolsList @("policheck","credscan")
2+
-TsaInstanceURL https://devdiv.visualstudio.com/
3+
-TsaProjectName DEVDIV
4+
-TsaNotificationEmail [email protected]
5+
-TsaCodebaseAdmin REDMOND\kevinpi
6+
-TsaBugAreaPath "DevDiv\ASP.NET Core"
7+
-TsaIterationPath DevDiv
8+
-TsaRepositoryName AspNetCore
9+
-TsaCodebaseName AspNetCore
10+
-TsaOnboard $True
11+
-TsaPublish $True
12+
-PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)/eng/PoliCheckExclusions.xml")

0 commit comments

Comments
 (0)