-
Notifications
You must be signed in to change notification settings - Fork 123
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 #7829 from dotnet/darc-master-0e2010c0-8299-42c7-a…
…298-cd724a96316e [master] Update dependencies from dotnet/arcade
- Loading branch information
Showing
12 changed files
with
346 additions
and
55 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
143 changes: 143 additions & 0 deletions
143
eng/common/templates/post-build/channels/general-testing.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,143 @@ | ||
parameters: | ||
artifactsPublishingAdditionalParameters: '' | ||
dependsOn: | ||
- Validate | ||
publishInstallersAndChecksums: false | ||
symbolPublishingAdditionalParameters: '' | ||
|
||
stages: | ||
- stage: General_Testing_Publish | ||
dependsOn: ${{ parameters.dependsOn }} | ||
variables: | ||
- template: ../common-variables.yml | ||
displayName: General Testing Publishing | ||
jobs: | ||
- template: ../setup-maestro-vars.yml | ||
|
||
- job: | ||
displayName: Symbol Publishing | ||
dependsOn: setupMaestroVars | ||
condition: contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.GeneralTesting_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 | ||
|
||
# This is necessary whenever we want to publish/restore to an AzDO private feed | ||
# Since sdk-task.ps1 tries to restore packages we need to do this authentication here | ||
# otherwise it'll complain about accessing a private feed. | ||
- task: NuGetAuthenticate@0 | ||
displayName: 'Authenticate to AzDO Feeds' | ||
|
||
- task: PowerShell@2 | ||
displayName: Enable cross-org publishing | ||
inputs: | ||
filePath: eng\common\enable-cross-org-publishing.ps1 | ||
arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) | ||
|
||
- 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: publish_assets | ||
displayName: Publish Assets | ||
dependsOn: setupMaestroVars | ||
variables: | ||
- 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.GeneralTesting_Channel_Id)) | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: DownloadBuildArtifacts@0 | ||
displayName: Download Package Artifacts | ||
inputs: | ||
buildType: current | ||
artifactName: PackageArtifacts | ||
continueOnError: true | ||
|
||
- task: DownloadBuildArtifacts@0 | ||
displayName: Download Blob Artifacts | ||
inputs: | ||
buildType: current | ||
artifactName: BlobArtifacts | ||
continueOnError: true | ||
|
||
- task: DownloadBuildArtifacts@0 | ||
displayName: Download Asset Manifests | ||
inputs: | ||
buildType: current | ||
artifactName: AssetManifests | ||
|
||
- task: NuGetToolInstaller@1 | ||
displayName: 'Install NuGet.exe' | ||
|
||
# This is necessary whenever we want to publish/restore to an AzDO private feed | ||
- task: NuGetAuthenticate@0 | ||
displayName: 'Authenticate to AzDO Feeds' | ||
|
||
- task: PowerShell@2 | ||
displayName: Enable cross-org publishing | ||
inputs: | ||
filePath: eng\common\enable-cross-org-publishing.ps1 | ||
arguments: -token $(dn-bot-dnceng-artifact-feeds-rw) | ||
|
||
- task: PowerShell@2 | ||
displayName: Publish Assets | ||
inputs: | ||
filePath: eng\common\sdk-task.ps1 | ||
arguments: -task PublishArtifactsInManifest -restore -msbuildEngine dotnet | ||
/p:ArtifactsCategory=$(_DotNetArtifactsCategory) | ||
/p:IsStableBuild=$(IsStableBuild) | ||
/p:IsInternalBuild=$(IsInternalBuild) | ||
/p:RepositoryName=$(Build.Repository.Name) | ||
/p:CommitSha=$(Build.SourceVersion) | ||
/p:NugetPath=$(NuGetExeToolPath) | ||
/p:AzdoTargetFeedPAT='$(dn-bot-dnceng-universal-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) | ||
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/general-testing/nuget/v3/index.json' | ||
/p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)' | ||
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/general-testing/nuget/v3/index.json' | ||
/p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)' | ||
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/general-testing-symbols/nuget/v3/index.json' | ||
/p:AzureDevOpsStaticSymbolsFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)' | ||
${{ parameters.artifactsPublishingAdditionalParameters }} | ||
|
||
- template: ../../steps/promote-build.yml | ||
parameters: | ||
ChannelId: ${{ variables.GeneralTesting_Channel_Id }} |
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
Oops, something went wrong.