Skip to content

Commit 016e3d6

Browse files
authored
[release/3.1] Move SDL validation to ringed release (#21153)
* Move SDL validation to ringed release * Remove unneeded stuff * Add back variables * fixup * Add missing param
1 parent de38479 commit 016e3d6

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
@@ -73,8 +73,6 @@ variables:
7373
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
7474
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
7575

76-
# used for post-build phases, internal builds only
77-
- group: DotNet-AspNet-SDLValidation-Params
7876
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
7977
- name: _BuildArgs
8078
value: ''
@@ -746,18 +744,3 @@ stages:
746744
# See https://github.com/dotnet/arcade/issues/2871
747745
enableSymbolValidation: false
748746
publishInstallersAndChecksums: true
749-
# This is to enable SDL runs part of Post-Build Validation Stage
750-
SDLValidationParameters:
751-
enable: false
752-
continueOnError: false
753-
params: ' -SourceToolsList @("policheck","credscan")
754-
-TsaInstanceURL $(_TsaInstanceURL)
755-
-TsaProjectName $(_TsaProjectName)
756-
-TsaNotificationEmail $(_TsaNotificationEmail)
757-
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
758-
-TsaBugAreaPath $(_TsaBugAreaPath)
759-
-TsaIterationPath $(_TsaIterationPath)
760-
-TsaRepositoryName "AspNetCore"
761-
-TsaCodebaseName "AspNetCore"
762-
-TsaPublish $True
763-
-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)