Browse Source

Use dotnet/arcade and Azure pipelines

pull/78/head
Ryan Nowak 7 years ago
parent
commit
64482e9c2c
  1. 47
      azure-pipelines.yml

47
azure-pipelines.yml

@ -12,6 +12,10 @@ variables:
- name: _BuildConfig - name: _BuildConfig
value: Release value: Release
# used for post-build phases, internal builds only
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- group: DotNet-AspNet-SDLValidation-Params
# CI and PR triggers # CI and PR triggers
trigger: trigger:
batch: true batch: true
@ -58,6 +62,7 @@ stages:
value: /p:DotNetSignType=$(_SignType) value: /p:DotNetSignType=$(_SignType)
/p:TeamName=$(_TeamName) /p:TeamName=$(_TeamName)
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines) /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
/p:OfficialBuildId=$(BUILD.BUILDNUMBER)
- name: _SignType - name: _SignType
value: real value: real
# else # else
@ -156,23 +161,25 @@ stages:
artifactType: Container artifactType: Container
parallel: true parallel: true
- template: eng\common\templates\post-build\post-build.yml - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
parameters: - template: eng\common\templates\post-build\post-build.yml
# Symbol validation isn't being very reliable lately. This should be enabled back parameters:
# once this issue is resolved: https://github.com/dotnet/arcade/issues/2871 # Symbol validation isn't being very reliable lately. This should be enabled back
enableSymbolValidation: false # once this issue is resolved: https://github.com/dotnet/arcade/issues/2871
enableSourceLinkValidation: true enableSymbolValidation: false
# This is to enable SDL runs part of Post-Build Validation Stage # It's a private repo in github so this won't pass until we create an internal mirror
SDLValidationParameters: enableSourceLinkValidation: false
enable: true # This is to enable SDL runs part of Post-Build Validation Stage
continueOnError: false SDLValidationParameters:
params: ' -SourceToolsList @("policheck","credscan") enable: true
-TsaInstanceURL $(_TsaInstanceURL) continueOnError: false
-TsaProjectName $(_TsaProjectName) params: ' -SourceToolsList @("policheck","credscan")
-TsaNotificationEmail $(_TsaNotificationEmail) -TsaInstanceURL $(_TsaInstanceURL)
-TsaCodebaseAdmin $(_TsaCodebaseAdmin) -TsaProjectName $(_TsaProjectName)
-TsaBugAreaPath $(_TsaBugAreaPath) -TsaNotificationEmail $(_TsaNotificationEmail)
-TsaIterationPath $(_TsaIterationPath) -TsaCodebaseAdmin $(_TsaCodebaseAdmin)
-TsaRepositoryName "Tye" -TsaBugAreaPath $(_TsaBugAreaPath)
-TsaCodebaseName "Tye" -TsaIterationPath $(_TsaIterationPath)
-TsaPublish $True' -TsaRepositoryName "Tye"
-TsaCodebaseName "Tye"
-TsaPublish $True'

Loading…
Cancel
Save