[main] Update dependencies from dotnet/arcade (#13104)
* Update dependencies from https://github.com/dotnet/arcade build 20220121.6 Microsoft.DotNet.CMake.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk From Version 7.0.0-beta.22068.3 -> To Version 7.0.0-beta.22071.6 Dependency coherency updates Microsoft.DotNet.XliffTasks From Version 1.0.0-beta.22065.1 -> To Version 1.0.0-beta.22069.1 (parent: Microsoft.DotNet.Arcade.Sdk * Update dependencies from https://github.com/dotnet/arcade build 20220124.13 Microsoft.DotNet.CMake.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk From Version 7.0.0-beta.22068.3 -> To Version 7.0.0-beta.22074.13 Dependency coherency updates Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks From Version 1.2.0-beta-22056-02 -> To Version 1.2.0-beta-22071-02 (parent: Microsoft.DotNet.Arcade.Sdk Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
This commit is contained in:
parent
c0b278fbbd
commit
1a828392f7
10 changed files with 168 additions and 209 deletions
|
@ -177,33 +177,33 @@
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ProductDependencies>
|
</ProductDependencies>
|
||||||
<ToolsetDependencies>
|
<ToolsetDependencies>
|
||||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.22068.3">
|
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.22074.13">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>9ffc76ac9f5799de9b28ee59f9bfbe0f8844d0d7</Sha>
|
<Sha>b6483cac5832aa5207692517f9a49ce1741a3041</Sha>
|
||||||
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.CMake.Sdk" Version="7.0.0-beta.22068.3">
|
<Dependency Name="Microsoft.DotNet.CMake.Sdk" Version="7.0.0-beta.22074.13">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>9ffc76ac9f5799de9b28ee59f9bfbe0f8844d0d7</Sha>
|
<Sha>b6483cac5832aa5207692517f9a49ce1741a3041</Sha>
|
||||||
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="7.0.0-beta.22068.3">
|
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="7.0.0-beta.22074.13">
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>9ffc76ac9f5799de9b28ee59f9bfbe0f8844d0d7</Sha>
|
<Sha>b6483cac5832aa5207692517f9a49ce1741a3041</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="7.0.0-alpha.1.22055.1">
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="7.0.0-alpha.1.22055.1">
|
||||||
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||||
<Sha>130938590ba0d472860b8aa7e9885473dee42ac7</Sha>
|
<Sha>130938590ba0d472860b8aa7e9885473dee42ac7</Sha>
|
||||||
<SourceBuildTarball RepoName="source-build-reference-packages" ManagedOnly="true" />
|
<SourceBuildTarball RepoName="source-build-reference-packages" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.2.0-beta-22056-02" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.2.0-beta-22071-02" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
||||||
<Sha>04c1b6d4da38e8e47593f4f98c3a620715e375ea</Sha>
|
<Sha>192fa29996b63bd32b0b112e7757e2ca1c2bfbbb</Sha>
|
||||||
<SourceBuild RepoName="sourcelink" ManagedOnly="true" />
|
<SourceBuild RepoName="sourcelink" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.22065.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.22072.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
|
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
|
||||||
<Sha>59c4d4a3a4e9a375387686727d6f96df6f7ef471</Sha>
|
<Sha>9291d7c5bc7ff23d9b79f44fb4a1968b269c5bb2</Sha>
|
||||||
<SourceBuild RepoName="xliff-tasks" ManagedOnly="true" />
|
<SourceBuild RepoName="xliff-tasks" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
</ToolsetDependencies>
|
</ToolsetDependencies>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/arcade -->
|
<!-- Dependency from https://github.com/dotnet/arcade -->
|
||||||
<MicrosoftDotNetBuildTasksInstallersPackageVersion>7.0.0-beta.22068.3</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
<MicrosoftDotNetBuildTasksInstallersPackageVersion>7.0.0-beta.22074.13</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/winforms -->
|
<!-- Dependency from https://github.com/dotnet/winforms -->
|
||||||
|
|
7
eng/common/internal/NuGet.config
Normal file
7
eng/common/internal/NuGet.config
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<clear />
|
||||||
|
<add key="dotnet-core-internal" value="https://pkgs.dev.azure.com/devdiv/_packaging/dotnet-core-internal/nuget/v3/index.json" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
|
@ -29,14 +29,6 @@ parameters:
|
||||||
# Optional: download a list of pipeline artifacts. 'downloadArtifacts' controls build artifacts,
|
# Optional: download a list of pipeline artifacts. 'downloadArtifacts' controls build artifacts,
|
||||||
# not pipeline artifacts, so doesn't affect the use of this parameter.
|
# not pipeline artifacts, so doesn't affect the use of this parameter.
|
||||||
pipelineArtifactNames: []
|
pipelineArtifactNames: []
|
||||||
# Optional: location and ID of the AzDO build that the build/pipeline artifacts should be
|
|
||||||
# downloaded from. By default, uses runtime expressions to decide based on the variables set by
|
|
||||||
# the 'setupMaestroVars' dependency. Overriding this parameter is necessary if SDL tasks are
|
|
||||||
# running without Maestro++/BAR involved, or to download artifacts from a specific existing build
|
|
||||||
# to iterate quickly on SDL changes.
|
|
||||||
AzDOProjectName: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOProjectName'] ]
|
|
||||||
AzDOPipelineId: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOPipelineId'] ]
|
|
||||||
AzDOBuildId: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.AzDOBuildId'] ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: Run_SDL
|
- job: Run_SDL
|
||||||
|
@ -55,11 +47,20 @@ jobs:
|
||||||
- name: GuardianVersion
|
- name: GuardianVersion
|
||||||
value: ${{ coalesce(parameters.overrideGuardianVersion, '$(DefaultGuardianVersion)') }}
|
value: ${{ coalesce(parameters.overrideGuardianVersion, '$(DefaultGuardianVersion)') }}
|
||||||
pool:
|
pool:
|
||||||
vmImage: windows-2019
|
# We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: VSEngSS-MicroBuild2022-1ES
|
||||||
|
demands: Cmd
|
||||||
|
# If it's not devdiv, it's dnceng
|
||||||
|
${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: NetCore1ESPool-Internal
|
||||||
|
demands: ImageOverride -equals Build.Server.Amd64.VS2019
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
|
|
||||||
|
- template: /eng/common/templates/post-build/setup-maestro-vars.yml
|
||||||
|
|
||||||
- ${{ if ne(parameters.downloadArtifacts, 'false')}}:
|
- ${{ if ne(parameters.downloadArtifacts, 'false')}}:
|
||||||
- ${{ if ne(parameters.artifactNames, '') }}:
|
- ${{ if ne(parameters.artifactNames, '') }}:
|
||||||
- ${{ each artifactName in parameters.artifactNames }}:
|
- ${{ each artifactName in parameters.artifactNames }}:
|
||||||
|
|
|
@ -3,8 +3,7 @@ parameters:
|
||||||
dependsOn: ''
|
dependsOn: ''
|
||||||
|
|
||||||
# Optional: A defined YAML pool - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#pool
|
# Optional: A defined YAML pool - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#pool
|
||||||
pool:
|
pool: ''
|
||||||
vmImage: 'windows-2019'
|
|
||||||
|
|
||||||
CeapexPat: $(dn-bot-ceapex-package-r) # PAT for the loc AzDO instance https://dev.azure.com/ceapex
|
CeapexPat: $(dn-bot-ceapex-package-r) # PAT for the loc AzDO instance https://dev.azure.com/ceapex
|
||||||
GithubPat: $(BotAccount-dotnet-bot-repo-PAT)
|
GithubPat: $(BotAccount-dotnet-bot-repo-PAT)
|
||||||
|
@ -31,7 +30,18 @@ jobs:
|
||||||
|
|
||||||
displayName: OneLocBuild
|
displayName: OneLocBuild
|
||||||
|
|
||||||
|
${{ if ne(parameters.pool, '') }}:
|
||||||
pool: ${{ parameters.pool }}
|
pool: ${{ parameters.pool }}
|
||||||
|
${{ if eq(parameters.pool, '') }}:
|
||||||
|
pool:
|
||||||
|
# We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: VSEngSS-MicroBuild2022-1ES
|
||||||
|
demands: Cmd
|
||||||
|
# If it's not devdiv, it's dnceng
|
||||||
|
${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: NetCore1ESPool-Internal
|
||||||
|
demands: ImageOverride -equals Build.Server.Amd64.VS2019
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- group: OneLocBuildVariables # Contains the CeapexPat and GithubPat
|
- group: OneLocBuildVariables # Contains the CeapexPat and GithubPat
|
||||||
|
|
|
@ -83,7 +83,15 @@ jobs:
|
||||||
- ${{ if eq(parameters.enableSourceBuild, true) }}:
|
- ${{ if eq(parameters.enableSourceBuild, true) }}:
|
||||||
- Source_Build_Complete
|
- Source_Build_Complete
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'windows-2019'
|
# We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: VSEngSS-MicroBuild2022-1ES
|
||||||
|
demands: Cmd
|
||||||
|
# If it's not devdiv, it's dnceng
|
||||||
|
${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: NetCore1ESPool-Internal
|
||||||
|
demands: ImageOverride -equals Build.Server.Amd64.VS2019
|
||||||
|
|
||||||
runAsPublic: ${{ parameters.runAsPublic }}
|
runAsPublic: ${{ parameters.runAsPublic }}
|
||||||
publishUsingPipelines: ${{ parameters.enablePublishUsingPipelines }}
|
publishUsingPipelines: ${{ parameters.enablePublishUsingPipelines }}
|
||||||
enablePublishBuildArtifacts: ${{ parameters.enablePublishBuildArtifacts }}
|
enablePublishBuildArtifacts: ${{ parameters.enablePublishBuildArtifacts }}
|
||||||
|
|
|
@ -5,54 +5,6 @@ variables:
|
||||||
- group: DotNet-MSRC-Storage
|
- group: DotNet-MSRC-Storage
|
||||||
- group: Publish-Build-Assets
|
- group: Publish-Build-Assets
|
||||||
|
|
||||||
# .NET Core 3.1 Dev
|
|
||||||
- name: PublicDevRelease_31_Channel_Id
|
|
||||||
value: 128
|
|
||||||
|
|
||||||
# .NET 5 Dev
|
|
||||||
- name: Net_5_Dev_Channel_Id
|
|
||||||
value: 131
|
|
||||||
|
|
||||||
# .NET Eng - Validation
|
|
||||||
- name: Net_Eng_Validation_Channel_Id
|
|
||||||
value: 9
|
|
||||||
|
|
||||||
# .NET Eng - Latest
|
|
||||||
- name: Net_Eng_Latest_Channel_Id
|
|
||||||
value: 2
|
|
||||||
|
|
||||||
# .NET 3 Eng - Validation
|
|
||||||
- name: NET_3_Eng_Validation_Channel_Id
|
|
||||||
value: 390
|
|
||||||
|
|
||||||
# .NET 3 Eng
|
|
||||||
- name: NetCore_3_Tools_Channel_Id
|
|
||||||
value: 344
|
|
||||||
|
|
||||||
# .NET Core 3.0 Internal Servicing
|
|
||||||
- name: InternalServicing_30_Channel_Id
|
|
||||||
value: 184
|
|
||||||
|
|
||||||
# .NET Core 3.0 Release
|
|
||||||
- name: PublicRelease_30_Channel_Id
|
|
||||||
value: 19
|
|
||||||
|
|
||||||
# .NET Core 3.1 Release
|
|
||||||
- name: PublicRelease_31_Channel_Id
|
|
||||||
value: 129
|
|
||||||
|
|
||||||
# General Testing
|
|
||||||
- name: GeneralTesting_Channel_Id
|
|
||||||
value: 529
|
|
||||||
|
|
||||||
# .NET Core 3.1 Blazor Features
|
|
||||||
- name: NetCore_31_Blazor_Features_Channel_Id
|
|
||||||
value: 531
|
|
||||||
|
|
||||||
# .NET Core Experimental
|
|
||||||
- name: NetCore_Experimental_Channel_Id
|
|
||||||
value: 562
|
|
||||||
|
|
||||||
# Whether the build is internal or not
|
# Whether the build is internal or not
|
||||||
- name: IsInternalBuild
|
- name: IsInternalBuild
|
||||||
value: ${{ and(ne(variables['System.TeamProject'], 'public'), contains(variables['Build.SourceBranch'], 'internal')) }}
|
value: ${{ and(ne(variables['System.TeamProject'], 'public'), contains(variables['Build.SourceBranch'], 'internal')) }}
|
||||||
|
@ -70,27 +22,6 @@ variables:
|
||||||
- name: SymbolToolVersion
|
- name: SymbolToolVersion
|
||||||
value: 1.0.1
|
value: 1.0.1
|
||||||
|
|
||||||
# Feed Configurations
|
|
||||||
# These should include the suffix "/index.json"
|
|
||||||
|
|
||||||
# Default locations for Installers and checksums
|
|
||||||
# Public Locations
|
|
||||||
- name: ChecksumsBlobFeedUrl
|
|
||||||
value: https://dotnetclichecksums.blob.core.windows.net/dotnet/index.json
|
|
||||||
- name: InstallersBlobFeedUrl
|
|
||||||
value: https://dotnetcli.blob.core.windows.net/dotnet/index.json
|
|
||||||
|
|
||||||
# Private Locations
|
|
||||||
- name: InternalChecksumsBlobFeedUrl
|
|
||||||
value: https://dotnetclichecksumsmsrc.blob.core.windows.net/dotnet/index.json
|
|
||||||
- name: InternalChecksumsBlobFeedKey
|
|
||||||
value: $(dotnetclichecksumsmsrc-storage-key)
|
|
||||||
|
|
||||||
- name: InternalInstallersBlobFeedUrl
|
|
||||||
value: https://dotnetclimsrc.blob.core.windows.net/dotnet/index.json
|
|
||||||
- name: InternalInstallersBlobFeedKey
|
|
||||||
value: $(dotnetclimsrc-access-key)
|
|
||||||
|
|
||||||
# Skip component governance and codesign validation for SDL. These jobs
|
# Skip component governance and codesign validation for SDL. These jobs
|
||||||
# create no content.
|
# create no content.
|
||||||
- name: skipComponentGovernanceDetection
|
- name: skipComponentGovernanceDetection
|
||||||
|
|
|
@ -90,25 +90,25 @@ stages:
|
||||||
variables:
|
variables:
|
||||||
- template: common-variables.yml
|
- template: common-variables.yml
|
||||||
jobs:
|
jobs:
|
||||||
|
- job:
|
||||||
|
displayName: NuGet Validation
|
||||||
|
condition: eq( ${{ parameters.enableNugetValidation }}, 'true')
|
||||||
|
pool:
|
||||||
|
# We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: VSEngSS-MicroBuild2022-1ES
|
||||||
|
demands: Cmd
|
||||||
|
# If it's not devdiv, it's dnceng
|
||||||
|
${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: NetCore1ESPool-Internal
|
||||||
|
demands: ImageOverride -equals Build.Server.Amd64.VS2019
|
||||||
|
|
||||||
|
steps:
|
||||||
- template: setup-maestro-vars.yml
|
- template: setup-maestro-vars.yml
|
||||||
parameters:
|
parameters:
|
||||||
BARBuildId: ${{ parameters.BARBuildId }}
|
BARBuildId: ${{ parameters.BARBuildId }}
|
||||||
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}
|
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}
|
||||||
|
|
||||||
- job:
|
|
||||||
displayName: NuGet Validation
|
|
||||||
dependsOn: setupMaestroVars
|
|
||||||
condition: eq( ${{ parameters.enableNugetValidation }}, 'true')
|
|
||||||
pool:
|
|
||||||
vmImage: 'windows-2019'
|
|
||||||
variables:
|
|
||||||
- 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:
|
|
||||||
- task: DownloadBuildArtifacts@0
|
- task: DownloadBuildArtifacts@0
|
||||||
displayName: Download Package Artifacts
|
displayName: Download Package Artifacts
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -129,19 +129,22 @@ 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'
|
# We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: VSEngSS-MicroBuild2022-1ES
|
||||||
|
demands: Cmd
|
||||||
|
# If it's not devdiv, it's dnceng
|
||||||
|
${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
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 +189,22 @@ 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'
|
# We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: VSEngSS-MicroBuild2022-1ES
|
||||||
|
demands: Cmd
|
||||||
|
# If it's not devdiv, it's dnceng
|
||||||
|
${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
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 +230,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 +244,26 @@ stages:
|
||||||
variables:
|
variables:
|
||||||
- template: common-variables.yml
|
- template: common-variables.yml
|
||||||
jobs:
|
jobs:
|
||||||
|
- job:
|
||||||
|
displayName: Publish Using Darc
|
||||||
|
timeoutInMinutes: 120
|
||||||
|
pool:
|
||||||
|
# We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: VSEngSS-MicroBuild2022-1ES
|
||||||
|
demands: Cmd
|
||||||
|
# If it's not devdiv, it's dnceng
|
||||||
|
${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:
|
||||||
|
name: NetCore1ESPool-Internal
|
||||||
|
demands: ImageOverride -equals Build.Server.Amd64.VS2019
|
||||||
|
steps:
|
||||||
- template: setup-maestro-vars.yml
|
- template: setup-maestro-vars.yml
|
||||||
parameters:
|
parameters:
|
||||||
BARBuildId: ${{ parameters.BARBuildId }}
|
BARBuildId: ${{ parameters.BARBuildId }}
|
||||||
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}
|
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}
|
||||||
|
|
||||||
- job:
|
- task: NuGetAuthenticate@0
|
||||||
displayName: Publish Using Darc
|
|
||||||
dependsOn: setupMaestroVars
|
|
||||||
timeoutInMinutes: 120
|
|
||||||
variables:
|
|
||||||
- name: BARBuildId
|
|
||||||
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
|
|
||||||
pool:
|
|
||||||
vmImage: 'windows-2019'
|
|
||||||
steps:
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: Publish Using Darc
|
displayName: Publish Using Darc
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
@ -2,16 +2,7 @@ parameters:
|
||||||
BARBuildId: ''
|
BARBuildId: ''
|
||||||
PromoteToChannelIds: ''
|
PromoteToChannelIds: ''
|
||||||
|
|
||||||
jobs:
|
steps:
|
||||||
- job: setupMaestroVars
|
|
||||||
displayName: Setup Maestro Vars
|
|
||||||
variables:
|
|
||||||
- template: common-variables.yml
|
|
||||||
pool:
|
|
||||||
vmImage: 'windows-2019'
|
|
||||||
steps:
|
|
||||||
- checkout: none
|
|
||||||
|
|
||||||
- ${{ if eq(coalesce(parameters.PromoteToChannelIds, 0), 0) }}:
|
- ${{ if eq(coalesce(parameters.PromoteToChannelIds, 0), 0) }}:
|
||||||
- task: DownloadBuildArtifacts@0
|
- task: DownloadBuildArtifacts@0
|
||||||
displayName: Download Release Configs
|
displayName: Download Release Configs
|
||||||
|
@ -25,6 +16,7 @@ jobs:
|
||||||
displayName: Set Release Configs Vars
|
displayName: Set Release Configs Vars
|
||||||
inputs:
|
inputs:
|
||||||
targetType: inline
|
targetType: inline
|
||||||
|
pwsh: true
|
||||||
script: |
|
script: |
|
||||||
try {
|
try {
|
||||||
if (!$Env:PromoteToMaestroChannels -or $Env:PromoteToMaestroChannels.Trim() -eq '') {
|
if (!$Env:PromoteToMaestroChannels -or $Env:PromoteToMaestroChannels.Trim() -eq '') {
|
||||||
|
@ -58,13 +50,13 @@ jobs:
|
||||||
$AzureDevOpsBuildId = $buildInfo.azureDevOpsBuildId
|
$AzureDevOpsBuildId = $buildInfo.azureDevOpsBuildId
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "##vso[task.setvariable variable=BARBuildId;isOutput=true]$BarId"
|
Write-Host "##vso[task.setvariable variable=BARBuildId]$BarId"
|
||||||
Write-Host "##vso[task.setvariable variable=TargetChannels;isOutput=true]$Channels"
|
Write-Host "##vso[task.setvariable variable=TargetChannels]$Channels"
|
||||||
Write-Host "##vso[task.setvariable variable=IsStableBuild;isOutput=true]$IsStableBuild"
|
Write-Host "##vso[task.setvariable variable=IsStableBuild]$IsStableBuild"
|
||||||
|
|
||||||
Write-Host "##vso[task.setvariable variable=AzDOProjectName;isOutput=true]$AzureDevOpsProject"
|
Write-Host "##vso[task.setvariable variable=AzDOProjectName]$AzureDevOpsProject"
|
||||||
Write-Host "##vso[task.setvariable variable=AzDOPipelineId;isOutput=true]$AzureDevOpsBuildDefinitionId"
|
Write-Host "##vso[task.setvariable variable=AzDOPipelineId]$AzureDevOpsBuildDefinitionId"
|
||||||
Write-Host "##vso[task.setvariable variable=AzDOBuildId;isOutput=true]$AzureDevOpsBuildId"
|
Write-Host "##vso[task.setvariable variable=AzDOBuildId]$AzureDevOpsBuildId"
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host $_
|
Write-Host $_
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"cmake": "3.16.4"
|
"cmake": "3.16.4"
|
||||||
},
|
},
|
||||||
"msbuild-sdks": {
|
"msbuild-sdks": {
|
||||||
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22068.3",
|
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22074.13",
|
||||||
"Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.22068.3"
|
"Microsoft.DotNet.CMake.Sdk": "7.0.0-beta.22074.13"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue