Add TSA upload task
This commit is contained in:
Родитель
e0d8a29eb0
Коммит
b81a2d5026
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"codebaseName": "mod-sdk-for-go_master",
|
||||
"notificationAliases": [
|
||||
"akshcidev@microsoft.com"
|
||||
],
|
||||
"codebaseAdmins": [
|
||||
"REDMOND\\madhanm",
|
||||
"REDMOND\\dingov"
|
||||
],
|
||||
"instanceUrl": "https://microsoft.visualstudio.com/",
|
||||
"projectName": "OS",
|
||||
"areaPath": "OS\\Core\\STACK\\CoreNet\\MSK8S",
|
||||
"iterationPath": "OS\\Future",
|
||||
"allTools": true
|
||||
}
|
|
@ -30,6 +30,7 @@ jobs:
|
|||
displayName: 'Set up the Go workspace'
|
||||
|
||||
- script: |
|
||||
mkdir manifest
|
||||
make all
|
||||
workingDirectory: '$(System.DefaultWorkingDirectory)'
|
||||
displayName: 'Build'
|
||||
|
@ -37,4 +38,7 @@ jobs:
|
|||
- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
|
||||
displayName: 'SBOM Generation'
|
||||
inputs:
|
||||
BuildDropPath: $(System.DefaultWorkingDirectory)/bin
|
||||
BuildDropPath: $(System.DefaultWorkingDirectory)/manifest
|
||||
|
||||
- publish: $(System.DefaultWorkingDirectory)/manifest
|
||||
artifact: manifest
|
||||
|
|
|
@ -100,6 +100,13 @@ jobs:
|
|||
continueOnError: true
|
||||
condition: succeededOrFailed()
|
||||
|
||||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-uploadtotsa.TSAUpload@2
|
||||
displayName: 'TSA upload to Codebase: TSATest_1ES Stamp: TSA'
|
||||
inputs:
|
||||
GdnPublishTsaOnboard: true
|
||||
GdnPublishTsaConfigFile: '$(Build.sourcesDirectory)\.gdn\.gdntsa'
|
||||
continueOnError: true
|
||||
|
||||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2
|
||||
displayName: 'Post Analysis'
|
||||
inputs:
|
||||
|
|
Загрузка…
Ссылка в новой задаче