-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 #38618 from dotnet/dev/jorobich/update-arcade-temp…
…lates Update Arcade and postbuild templates to fix signed build
- Loading branch information
Showing
17 changed files
with
821 additions
and
200 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
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
125 changes: 125 additions & 0 deletions
125
eng/common/templates/post-build/channels/netcore-dev-30.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,125 @@ | ||
parameters: | ||
symbolPublishingAdditionalParameters: '' | ||
artifactsPublishingAdditionalParameters: '' | ||
publishInstallersAndChecksums: false | ||
|
||
stages: | ||
- stage: NetCore_Dev30_Publish | ||
dependsOn: validate | ||
variables: | ||
- template: ../common-variables.yml | ||
displayName: .NET Core 3.0 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_30_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: publish_assets | ||
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_30_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: 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: Publish Assets | ||
env: | ||
AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) | ||
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:StaticInternalFeed=$(StaticInternalFeed) | ||
/p:InternalChecksumsTargetStaticFeed=$(InternalChecksumsBlobFeedUrl) | ||
/p:InternalChecksumsTargetStaticFeedKey=$(InternalChecksumsBlobFeedKey) | ||
/p:InternalInstallersTargetStaticFeed=$(InternalInstallersBlobFeedUrl) | ||
/p:InternalInstallersTargetStaticFeedKey=$(InternalInstallersBlobFeedKey) | ||
/p:NugetPath=$(NuGetExeToolPath) | ||
/p:AzdoTargetFeedPAT='$(dn-bot-dnceng-universal-packages-rw)' | ||
/p:TargetFeedPAT='$(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) | ||
${{ parameters.artifactsPublishingAdditionalParameters }} | ||
|
||
- template: ../../steps/promote-build.yml | ||
parameters: | ||
ChannelId: ${{ variables.PublicDevRelease_30_Channel_Id }} |
125 changes: 125 additions & 0 deletions
125
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,125 @@ | ||
parameters: | ||
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: 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: Publish Assets | ||
env: | ||
AZURE_DEVOPS_EXT_PAT: $(dn-bot-dnceng-universal-packages-rw) | ||
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:StaticInternalFeed=$(StaticInternalFeed) | ||
/p:InternalChecksumsTargetStaticFeed=$(InternalChecksumsBlobFeedUrl) | ||
/p:InternalChecksumsTargetStaticFeedKey=$(InternalChecksumsBlobFeedKey) | ||
/p:InternalInstallersTargetStaticFeed=$(InternalInstallersBlobFeedUrl) | ||
/p:InternalInstallersTargetStaticFeedKey=$(InternalInstallersBlobFeedKey) | ||
/p:NugetPath=$(NuGetExeToolPath) | ||
/p:AzdoTargetFeedPAT='$(dn-bot-dnceng-universal-packages-rw)' | ||
/p:TargetFeedPAT='$(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) | ||
${{ parameters.artifactsPublishingAdditionalParameters }} | ||
|
||
- template: ../../steps/promote-build.yml | ||
parameters: | ||
ChannelId: ${{ variables.PublicDevRelease_31_Channel_Id }} |
Oops, something went wrong.