|
|
@ -90,25 +90,19 @@ stages: |
|
|
variables: |
|
|
variables: |
|
|
- template: common-variables.yml |
|
|
- template: common-variables.yml |
|
|
jobs: |
|
|
jobs: |
|
|
- template: setup-maestro-vars.yml |
|
|
|
|
|
parameters: |
|
|
|
|
|
BARBuildId: ${{ parameters.BARBuildId }} |
|
|
|
|
|
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }} |
|
|
|
|
|
|
|
|
|
|
|
- job: |
|
|
- job: |
|
|
displayName: NuGet Validation |
|
|
displayName: NuGet Validation |
|
|
dependsOn: setupMaestroVars |
|
|
|
|
|
condition: eq( ${{ parameters.enableNugetValidation }}, 'true') |
|
|
condition: eq( ${{ parameters.enableNugetValidation }}, 'true') |
|
|
pool: |
|
|
pool: |
|
|
vmImage: 'windows-2019' |
|
|
name: NetCore1ESPool-Internal |
|
|
variables: |
|
|
demands: ImageOverride -equals Build.Server.Amd64.VS2019 |
|
|
- name: AzDOProjectName |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOProjectName'] ] |
|
|
|
|
|
- name: AzDOPipelineId |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOPipelineId'] ] |
|
|
|
|
|
- name: AzDOBuildId |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOBuildId'] ] |
|
|
|
|
|
steps: |
|
|
steps: |
|
|
|
|
|
- template: setup-maestro-vars.yml |
|
|
|
|
|
parameters: |
|
|
|
|
|
BARBuildId: ${{ parameters.BARBuildId }} |
|
|
|
|
|
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }} |
|
|
|
|
|
|
|
|
- task: DownloadBuildArtifacts@0 |
|
|
- task: DownloadBuildArtifacts@0 |
|
|
displayName: Download Package Artifacts |
|
|
displayName: Download Package Artifacts |
|
|
inputs: |
|
|
inputs: |
|
|
@ -129,19 +123,16 @@ stages: |
|
|
|
|
|
|
|
|
- job: |
|
|
- job: |
|
|
displayName: Signing Validation |
|
|
displayName: Signing Validation |
|
|
dependsOn: setupMaestroVars |
|
|
|
|
|
condition: and( eq( ${{ parameters.enableSigningValidation }}, 'true'), ne( variables['PostBuildSign'], 'true')) |
|
|
condition: and( eq( ${{ parameters.enableSigningValidation }}, 'true'), ne( variables['PostBuildSign'], 'true')) |
|
|
variables: |
|
|
|
|
|
- template: common-variables.yml |
|
|
|
|
|
- name: AzDOProjectName |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOProjectName'] ] |
|
|
|
|
|
- name: AzDOPipelineId |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOPipelineId'] ] |
|
|
|
|
|
- name: AzDOBuildId |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOBuildId'] ] |
|
|
|
|
|
pool: |
|
|
pool: |
|
|
vmImage: 'windows-2019' |
|
|
name: NetCore1ESPool-Internal |
|
|
|
|
|
demands: ImageOverride -equals Build.Server.Amd64.VS2019 |
|
|
steps: |
|
|
steps: |
|
|
|
|
|
- template: setup-maestro-vars.yml |
|
|
|
|
|
parameters: |
|
|
|
|
|
BARBuildId: ${{ parameters.BARBuildId }} |
|
|
|
|
|
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }} |
|
|
|
|
|
|
|
|
- task: DownloadBuildArtifacts@0 |
|
|
- task: DownloadBuildArtifacts@0 |
|
|
displayName: Download Package Artifacts |
|
|
displayName: Download Package Artifacts |
|
|
inputs: |
|
|
inputs: |
|
|
@ -186,19 +177,16 @@ stages: |
|
|
|
|
|
|
|
|
- job: |
|
|
- job: |
|
|
displayName: SourceLink Validation |
|
|
displayName: SourceLink Validation |
|
|
dependsOn: setupMaestroVars |
|
|
|
|
|
condition: eq( ${{ parameters.enableSourceLinkValidation }}, 'true') |
|
|
condition: eq( ${{ parameters.enableSourceLinkValidation }}, 'true') |
|
|
variables: |
|
|
|
|
|
- template: common-variables.yml |
|
|
|
|
|
- name: AzDOProjectName |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOProjectName'] ] |
|
|
|
|
|
- name: AzDOPipelineId |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOPipelineId'] ] |
|
|
|
|
|
- name: AzDOBuildId |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOBuildId'] ] |
|
|
|
|
|
pool: |
|
|
pool: |
|
|
vmImage: 'windows-2019' |
|
|
name: NetCore1ESPool-Internal |
|
|
|
|
|
demands: ImageOverride -equals Build.Server.Amd64.VS2019 |
|
|
steps: |
|
|
steps: |
|
|
|
|
|
- template: setup-maestro-vars.yml |
|
|
|
|
|
parameters: |
|
|
|
|
|
BARBuildId: ${{ parameters.BARBuildId }} |
|
|
|
|
|
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }} |
|
|
|
|
|
|
|
|
- task: DownloadBuildArtifacts@0 |
|
|
- task: DownloadBuildArtifacts@0 |
|
|
displayName: Download Blob Artifacts |
|
|
displayName: Download Blob Artifacts |
|
|
inputs: |
|
|
inputs: |
|
|
@ -224,7 +212,6 @@ stages: |
|
|
- template: /eng/common/templates/job/execute-sdl.yml |
|
|
- template: /eng/common/templates/job/execute-sdl.yml |
|
|
parameters: |
|
|
parameters: |
|
|
enable: ${{ parameters.SDLValidationParameters.enable }} |
|
|
enable: ${{ parameters.SDLValidationParameters.enable }} |
|
|
dependsOn: setupMaestroVars |
|
|
|
|
|
additionalParameters: ${{ parameters.SDLValidationParameters.params }} |
|
|
additionalParameters: ${{ parameters.SDLValidationParameters.params }} |
|
|
continueOnError: ${{ parameters.SDLValidationParameters.continueOnError }} |
|
|
continueOnError: ${{ parameters.SDLValidationParameters.continueOnError }} |
|
|
artifactNames: ${{ parameters.SDLValidationParameters.artifactNames }} |
|
|
artifactNames: ${{ parameters.SDLValidationParameters.artifactNames }} |
|
|
@ -239,21 +226,18 @@ stages: |
|
|
variables: |
|
|
variables: |
|
|
- template: common-variables.yml |
|
|
- template: common-variables.yml |
|
|
jobs: |
|
|
jobs: |
|
|
- template: setup-maestro-vars.yml |
|
|
|
|
|
parameters: |
|
|
|
|
|
BARBuildId: ${{ parameters.BARBuildId }} |
|
|
|
|
|
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }} |
|
|
|
|
|
|
|
|
|
|
|
- job: |
|
|
- job: |
|
|
displayName: Publish Using Darc |
|
|
displayName: Publish Using Darc |
|
|
dependsOn: setupMaestroVars |
|
|
|
|
|
timeoutInMinutes: 120 |
|
|
timeoutInMinutes: 120 |
|
|
variables: |
|
|
|
|
|
- name: BARBuildId |
|
|
|
|
|
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ] |
|
|
|
|
|
pool: |
|
|
pool: |
|
|
vmImage: 'windows-2019' |
|
|
name: NetCore1ESPool-Internal |
|
|
|
|
|
demands: ImageOverride -equals Build.Server.Amd64.VS2019 |
|
|
steps: |
|
|
steps: |
|
|
|
|
|
- template: setup-maestro-vars.yml |
|
|
|
|
|
parameters: |
|
|
|
|
|
BARBuildId: ${{ parameters.BARBuildId }} |
|
|
|
|
|
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }} |
|
|
|
|
|
|
|
|
- task: PowerShell@2 |
|
|
- task: PowerShell@2 |
|
|
displayName: Publish Using Darc |
|
|
displayName: Publish Using Darc |
|
|
inputs: |
|
|
inputs: |
|
|
|