-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1229 from dotnet-maestro-bot/merge/release/6.4-to…
…-master [automated] Merge branch 'release/6.4' => 'master'
- Loading branch information
Showing
13 changed files
with
491 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
165 changes: 165 additions & 0 deletions
165
eng/common/templates/post-build/channels/netcore-dev-31.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
parameters: | ||
enableSymbolValidation: true | ||
symbolPublishingAdditionalParameters: '' | ||
artifactsPublishingAdditionalParameters: '' | ||
publishInstallersAndChecksums: false | ||
|
||
stages: | ||
- stage: NetCore_Dev31_Publish | ||
dependsOn: validate | ||
variables: | ||
- template: ../common-variables.yml | ||
displayName: .NET Core 3.1 Dev Publishing | ||
jobs: | ||
- template: ../setup-maestro-vars.yml | ||
|
||
- job: | ||
displayName: Symbol Publishing | ||
dependsOn: setupMaestroVars | ||
condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.PublicDevRelease_31_Channel_Id)) | ||
variables: | ||
- group: DotNet-Symbol-Server-Pats | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: DownloadBuildArtifacts@0 | ||
displayName: Download Blob Artifacts | ||
inputs: | ||
artifactName: 'BlobArtifacts' | ||
continueOnError: true | ||
|
||
- task: DownloadBuildArtifacts@0 | ||
displayName: Download PDB Artifacts | ||
inputs: | ||
artifactName: 'PDBArtifacts' | ||
continueOnError: true | ||
|
||
- task: PowerShell@2 | ||
displayName: Publish | ||
inputs: | ||
filePath: eng\common\sdk-task.ps1 | ||
arguments: -task PublishToSymbolServers -restore -msbuildEngine dotnet | ||
/p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat) | ||
/p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat) | ||
/p:PDBArtifactsDirectory='$(Build.ArtifactStagingDirectory)/PDBArtifacts/' | ||
/p:BlobBasePath='$(Build.ArtifactStagingDirectory)/BlobArtifacts/' | ||
/p:SymbolPublishingExclusionsFile='$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt' | ||
/p:Configuration=Release | ||
${{ parameters.symbolPublishingAdditionalParameters }} | ||
|
||
- job: | ||
displayName: Publish Assets | ||
dependsOn: setupMaestroVars | ||
variables: | ||
- group: DotNet-Blob-Feed | ||
- group: AzureDevOps-Artifact-Feeds-Pats | ||
- name: BARBuildId | ||
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ] | ||
- name: IsStableBuild | ||
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.IsStableBuild'] ] | ||
condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.PublicDevRelease_31_Channel_Id)) | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: DownloadBuildArtifacts@0 | ||
displayName: Download Package Artifacts | ||
inputs: | ||
buildType: current | ||
artifactName: PackageArtifacts | ||
|
||
- task: DownloadBuildArtifacts@0 | ||
displayName: Download Blob Artifacts | ||
inputs: | ||
buildType: current | ||
artifactName: BlobArtifacts | ||
|
||
- task: DownloadBuildArtifacts@0 | ||
displayName: Download Asset Manifests | ||
inputs: | ||
buildType: current | ||
artifactName: AssetManifests | ||
|
||
- task: PowerShell@2 | ||
displayName: Add Assets Location | ||
env: | ||
AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-unviersal-packages-rw) | ||
inputs: | ||
filePath: eng\common\sdk-task.ps1 | ||
arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet | ||
/p:ChannelId=$(PublicDevRelease_31_Channel_Id) | ||
/p:ArtifactsCategory=$(_DotNetArtifactsCategory) | ||
/p:IsStableBuild=$(IsStableBuild) | ||
/p:IsInternalBuild=$(IsInternalBuild) | ||
/p:RepositoryName=$(Build.Repository.Name) | ||
/p:CommitSha=$(Build.SourceVersion) | ||
/p:NugetPath=$(Agent.BuildDirectory)\Nuget\NuGet.exe | ||
/p:AzdoTargetFeedPAT='$(dn-bot-dnceng-unviersal-packages-rw)' | ||
/p:TargetFeedPAT='$(dn-bot-dnceng-unviersal-packages-rw)' | ||
/p:AzureStorageTargetFeedPAT='$(dotnetfeed-storage-access-key-1)' | ||
/p:BARBuildId=$(BARBuildId) | ||
/p:MaestroApiEndpoint='$(MaestroApiEndPoint)' | ||
/p:BuildAssetRegistryToken='$(MaestroApiAccessToken)' | ||
/p:ManifestsBasePath='$(Build.ArtifactStagingDirectory)/AssetManifests/' | ||
/p:BlobBasePath='$(Build.ArtifactStagingDirectory)/BlobArtifacts/' | ||
/p:PackageBasePath='$(Build.ArtifactStagingDirectory)/PackageArtifacts/' | ||
/p:Configuration=Release | ||
/p:PublishInstallersAndChecksums=${{ parameters.publishInstallersAndChecksums }} | ||
/p:InstallersTargetStaticFeed=$(InstallersBlobFeedUrl) | ||
/p:InstallersAzureAccountKey=$(dotnetcli-storage-key) | ||
/p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl) | ||
/p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key) | ||
${{ parameters.artifactsPublishingAdditionalParameters }} | ||
|
||
- task: NuGetCommand@2 | ||
displayName: Publish Packages to AzDO Feed | ||
condition: contains(variables['TargetAzDOFeed'], 'pkgs.visualstudio.com') | ||
inputs: | ||
command: push | ||
vstsFeed: $(AzDoFeedName) | ||
packagesToPush: $(Build.ArtifactStagingDirectory)\PackageArtifacts\*.nupkg | ||
publishVstsFeed: $(AzDoFeedName) | ||
|
||
- task: PowerShell@2 | ||
displayName: Publish Blobs to AzDO Feed | ||
inputs: | ||
filePath: $(Build.SourcesDirectory)/eng/common/post-build/publish-blobs-to-azdo.ps1 | ||
arguments: -FeedName $(AzDoFeedName) | ||
-SourceFolderCollection $(Build.ArtifactStagingDirectory)/BlobArtifacts/ | ||
-PersonalAccessToken $(dn-bot-dnceng-unviersal-packages-rw) | ||
enabled: false | ||
|
||
|
||
- stage: NetCore_Dev31_Publish_Validation | ||
displayName: .NET Core 3.1 Dev Publish Validation | ||
variables: | ||
- template: ../common-variables.yml | ||
jobs: | ||
- template: ../setup-maestro-vars.yml | ||
|
||
- ${{ if eq(parameters.enableSymbolValidation, 'true') }}: | ||
- job: | ||
displayName: Symbol Availability | ||
dependsOn: setupMaestroVars | ||
condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.PublicDevRelease_31_Channel_Id)) | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: DownloadBuildArtifacts@0 | ||
displayName: Download Package Artifacts | ||
inputs: | ||
buildType: current | ||
artifactName: PackageArtifacts | ||
|
||
- task: PowerShell@2 | ||
displayName: Check Symbol Availability | ||
inputs: | ||
filePath: $(Build.SourcesDirectory)/eng/common/post-build/symbols-validation.ps1 | ||
arguments: -InputPath $(Build.ArtifactStagingDirectory)/PackageArtifacts/ -ExtractPath $(Agent.BuildDirectory)/Temp/ -DotnetSymbolVersion $(SymbolToolVersion) | ||
|
||
- template: ../darc-gather-drop.yml | ||
parameters: | ||
ChannelId: ${{ variables.PublicDevRelease_31_Channel_Id }} | ||
|
||
- template: ../promote-build.yml | ||
parameters: | ||
ChannelId: ${{ variables.PublicDevRelease_31_Channel_Id }} |
Oops, something went wrong.