Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
fsharp
提交
570bd57f
F
fsharp
项目概览
dotNET Platform
/
fsharp
12 个月 前同步成功
通知
0
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
fsharp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
570bd57f
编写于
9月 06, 2019
作者:
D
dotnet-maestro[bot]
提交者:
Kevin Ransom (msft)
9月 06, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update dependencies from
https://github.com/dotnet/arcade
build 20190905.21 (#7507)
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19455.21
上级
e64a8122
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
247 addition
and
297 deletion
+247
-297
eng/Version.Details.xml
eng/Version.Details.xml
+2
-2
eng/common/templates/job/job.yml
eng/common/templates/job/job.yml
+4
-1
eng/common/templates/job/publish-build-assets.yml
eng/common/templates/job/publish-build-assets.yml
+7
-0
eng/common/templates/post-build/channels/netcore-dev-30.yml
eng/common/templates/post-build/channels/netcore-dev-30.yml
+27
-38
eng/common/templates/post-build/channels/netcore-dev-31.yml
eng/common/templates/post-build/channels/netcore-dev-31.yml
+17
-28
eng/common/templates/post-build/channels/netcore-dev-5.yml
eng/common/templates/post-build/channels/netcore-dev-5.yml
+33
-38
eng/common/templates/post-build/channels/netcore-internal-30.yml
...mon/templates/post-build/channels/netcore-internal-30.yml
+26
-34
eng/common/templates/post-build/channels/netcore-release-30.yml
...mmon/templates/post-build/channels/netcore-release-30.yml
+26
-35
eng/common/templates/post-build/channels/netcore-release-31.yml
...mmon/templates/post-build/channels/netcore-release-31.yml
+26
-30
eng/common/templates/post-build/channels/netcore-tools-latest.yml
...on/templates/post-build/channels/netcore-tools-latest.yml
+31
-43
eng/common/templates/post-build/channels/public-validation-release.yml
...mplates/post-build/channels/public-validation-release.yml
+25
-42
eng/common/templates/post-build/common-variables.yml
eng/common/templates/post-build/common-variables.yml
+21
-5
eng/common/templates/post-build/post-build.yml
eng/common/templates/post-build/post-build.yml
+1
-0
global.json
global.json
+1
-1
未找到文件。
eng/Version.Details.xml
浏览文件 @
570bd57f
...
...
@@ -3,9 +3,9 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency
Name=
"Microsoft.DotNet.Arcade.Sdk"
Version=
"1.0.0-beta.1945
4.3
1"
>
<Dependency
Name=
"Microsoft.DotNet.Arcade.Sdk"
Version=
"1.0.0-beta.1945
5.2
1"
>
<Uri>
https://github.com/dotnet/arcade
</Uri>
<Sha>
00d8aa82b488f321204a0e69a81399af9df276a1
</Sha>
<Sha>
e99f81b0e3289cfd851be0d927c1fcffa43af6b5
</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
eng/common/templates/job/job.yml
浏览文件 @
570bd57f
...
...
@@ -24,7 +24,7 @@ parameters:
workspace
:
'
'
# Job base template specific parameters
# Job base template specific parameters
# Optional: Enable installing Microbuild plugin
# if 'true', these "variables" must be specified in the variables object or as part of the queue matrix
# _TeamName - the name of your team
...
...
@@ -151,6 +151,9 @@ jobs:
continueOnError
:
${{ parameters.continueOnError }}
condition
:
and(succeeded(), in(variables['_SignType'], 'real', 'test'), eq(variables['Agent.Os'], 'Windows_NT'))
-
${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
-
task
:
NuGetAuthenticate@0
-
${{ each step in parameters.steps }}
:
-
${{ step }}
...
...
eng/common/templates/job/publish-build-assets.yml
浏览文件 @
570bd57f
...
...
@@ -47,6 +47,10 @@ jobs:
downloadPath
:
'
$(Build.StagingDirectory)/Download'
condition
:
${{ parameters.condition }}
continueOnError
:
${{ parameters.continueOnError }}
-
${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}
:
-
task
:
NuGetAuthenticate@0
-
task
:
PowerShell@2
displayName
:
Publish Build Assets
inputs
:
...
...
@@ -59,6 +63,7 @@ jobs:
/p:Configuration=$(_BuildConfig)
condition
:
${{ parameters.condition }}
continueOnError
:
${{ parameters.continueOnError }}
-
task
:
powershell@2
displayName
:
Create ReleaseConfigs Artifact
inputs
:
...
...
@@ -67,12 +72,14 @@ jobs:
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(BARBuildId)
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value "$(DefaultChannels)"
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(IsStableBuild)
-
task
:
PublishBuildArtifacts@1
displayName
:
Publish ReleaseConfigs Artifact
inputs
:
PathtoPublish
:
'
$(Build.StagingDirectory)/ReleaseConfigs.txt'
PublishLocation
:
Container
ArtifactName
:
ReleaseConfigs
-
${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}
:
-
task
:
PublishBuildArtifacts@1
displayName
:
Publish Logs to VSTS
...
...
eng/common/templates/post-build/channels/netcore-dev-30.yml
浏览文件 @
570bd57f
...
...
@@ -47,7 +47,7 @@ stages:
/p:Configuration=Release
${{ parameters.symbolPublishingAdditionalParameters }}
-
job
:
-
job
:
publish_assets
displayName
:
Publish Assets
dependsOn
:
setupMaestroVars
variables
:
...
...
@@ -79,30 +79,41 @@ stages:
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
:
Add Assets Location
displayName
:
Publish Assets
env
:
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
vi
ersal-packages-rw)
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
iv
ersal-packages-rw)
inputs
:
filePath
:
eng\common\sdk-task.ps1
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:ChannelId=$(PublicDevRelease_30_Channel_Id)
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=$(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: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)
...
...
@@ -110,24 +121,6 @@ stages:
/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_Dev30_Publish_Validation
displayName
:
.NET Core 3.0 Dev Publish Validation
...
...
@@ -156,10 +149,6 @@ stages:
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_30_Channel_Id }}
-
template
:
../promote-build.yml
parameters
:
ChannelId
:
${{ variables.PublicDevRelease_30_Channel_Id }}
eng/common/templates/post-build/channels/netcore-dev-31.yml
浏览文件 @
570bd57f
...
...
@@ -79,22 +79,33 @@ stages:
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
:
Add Assets Location
displayName
:
Publish Assets
env
:
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
vi
ersal-packages-rw)
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
iv
ersal-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: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)'
...
...
@@ -110,24 +121,6 @@ stages:
/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
...
...
@@ -156,10 +149,6 @@ stages:
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 }}
eng/common/templates/post-build/channels/netcore-dev-5.yml
浏览文件 @
570bd57f
...
...
@@ -3,6 +3,7 @@ parameters:
symbolPublishingAdditionalParameters
:
'
'
artifactsPublishingAdditionalParameters
:
'
'
publishInstallersAndChecksums
:
false
publishToAzureDevOpsFeeds
:
true
stages
:
-
stage
:
NetCore_Dev5_Publish
...
...
@@ -47,7 +48,7 @@ stages:
/p:Configuration=Release
${{ parameters.symbolPublishingAdditionalParameters }}
-
job
:
-
job
:
publish_assets
displayName
:
Publish Assets
dependsOn
:
setupMaestroVars
variables
:
...
...
@@ -79,55 +80,53 @@ stages:
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
:
Add Assets Location
displayName
:
Publish Assets
env
:
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
vi
ersal-packages-rw)
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
iv
ersal-packages-rw)
inputs
:
filePath
:
eng\common\sdk-task.ps1
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:ChannelId=$(NetCore_5_Dev_Channel_Id)
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=$(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: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:PublishInstallersAndChecksums=${{ parameters.publishInstallersAndChecksums }}
/p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl)
/p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key)
/p:PublishToAzureDevOpsNuGetFeeds=${{ parameters.publishToAzureDevOpsFeeds }}
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)
${{ 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_Dev5_Publish_Validation
displayName
:
.NET Core 5 Dev Publish Validation
...
...
@@ -156,10 +155,6 @@ stages:
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.NetCore_5_Dev_Channel_Id }}
-
template
:
../promote-build.yml
parameters
:
ChannelId
:
${{ variables.NetCore_5_Dev_Channel_Id }}
eng/common/templates/post-build/channels/netcore-internal-30.yml
浏览文件 @
570bd57f
...
...
@@ -78,50 +78,42 @@ stages:
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
:
Add Assets Location
displayName
:
Publish Assets
env
:
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
vi
ersal-packages-rw)
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
iv
ersal-packages-rw)
inputs
:
filePath
:
eng\common\sdk-task.ps1
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:ChannelId=$(InternalServicing_30_Channel_Id)
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:IsStableBuild=$(IsStableBuild)
/p:IsInternalBuild=$(IsInternalBuild)
/p:RepositoryName=$(Build.Repository.Name)
/p:CommitSha=$(Build.SourceVersion)
/p:AzureStorageAccountName=$(ProxyBackedFeedsAccountName)
/p:AzureStorageAccountKey=$(dotnetfeed-storage-access-key-1)
/p:AzureDevOpsFeedsBaseUrl=$(dotnetfeed-internal-private-feed-url)
/p:StaticInternalFeed=$(dotnetfeed-internal-nonstable-feed-url)
/p:NugetPath=$(Agent.BuildDirectory)\Nuget\NuGet.exe
/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: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
${{ 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
-
template
:
../trigger-subscription.yml
parameters
:
ChannelId
:
${{ variables.InternalServicing_30_Channel_Id }}
...
...
eng/common/templates/post-build/channels/netcore-release-30.yml
浏览文件 @
570bd57f
...
...
@@ -78,51 +78,42 @@ stages:
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
displayName
:
Publish
Assets
env
:
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
vi
ersal-packages-rw)
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
iv
ersal-packages-rw)
inputs
:
filePath
:
eng\common\sdk-task.ps1
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:ChannelId=$(PublicRelease_30_Channel_Id)
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:IsStableBuild=$(IsStableBuild)
/p:IsInternalBuild=$(IsInternalBuild)
/p:RepositoryName=$(Build.Repository.Name)
/p:CommitSha=$(Build.SourceVersion)
/p:AzureStorageTargetFeedPAT='$(dotnetfeed-storage-access-key-1)'
/p:AzureStorageAccountName=$(ProxyBackedFeedsAccountName)
/p:AzureStorageAccountKey=$(dotnetfeed-storage-access-key-1)
/p:AzureDevOpsFeedsBaseUrl=$(dotnetfeed-internal-private-feed-url)
/p:StaticInternalFeed=$(dotnetfeed-internal-nonstable-feed-url)
/p:NugetPath=$(Agent.BuildDirectory)\Nuget\NuGet.exe
/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: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
${{ 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
-
template
:
../trigger-subscription.yml
parameters
:
ChannelId
:
${{ variables.PublicRelease_30_Channel_Id }}
...
...
eng/common/templates/post-build/channels/netcore-release-31.yml
浏览文件 @
570bd57f
...
...
@@ -78,51 +78,48 @@ stages:
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
displayName
:
Publish
Assets
env
:
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
vi
ersal-packages-rw)
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
iv
ersal-packages-rw)
inputs
:
filePath
:
eng\common\sdk-task.ps1
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:
ChannelId=$(PublicRelease_31_Channel_Id
)
/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:AzureStorageAccountName=$(ProxyBackedFeedsAccountName)
/p:AzureStorageAccountKey=$(dotnetfeed-storage-access-key-1)
/p:AzureDevOpsFeedsBaseUrl=$(dotnetfeed-internal-private-feed-url)
/p:StaticInternalFeed=$(dotnetfeed-internal-nonstable-feed-url)
/p:NugetPath=$(Agent.BuildDirectory)\Nuget\NuGet.exe
/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: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
-
template
:
../trigger-subscription.yml
parameters
:
ChannelId
:
${{ variables.PublicRelease_31_Channel_Id }}
...
...
@@ -138,8 +135,7 @@ stages:
-
job
:
displayName
:
Symbol Availability
dependsOn
:
setupMaestroVars
condition
:
or(contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.PublicRelease_31_Channel_Id)),
contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.PublicRelease_31_Channel_Id)))
condition
:
contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.PublicRelease_31_Channel_Id))
pool
:
vmImage
:
'
windows-2019'
steps
:
...
...
eng/common/templates/post-build/channels/netcore-tools-latest.yml
浏览文件 @
570bd57f
...
...
@@ -3,8 +3,7 @@ parameters:
symbolPublishingAdditionalParameters
:
'
'
artifactsPublishingAdditionalParameters
:
'
'
publishInstallersAndChecksums
:
false
publishToAzureDevOpsFeeds
:
false
azureDevOpsToolsFeed
:
'
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json'
publishToAzureDevOpsFeeds
:
true
stages
:
-
stage
:
NetCore_Tools_Latest_Publish
...
...
@@ -49,7 +48,7 @@ stages:
/p:Configuration=Release
${{ parameters.symbolPublishingAdditionalParameters }}
-
job
:
-
job
:
publish_assets
displayName
:
Publish Assets
dependsOn
:
setupMaestroVars
variables
:
...
...
@@ -81,60 +80,53 @@ stages:
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
:
Add Assets Location
displayName
:
Publish Assets
env
:
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
vi
ersal-packages-rw)
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
iv
ersal-packages-rw)
inputs
:
filePath
:
eng\common\sdk-task.ps1
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:ChannelId=$(NetCore_Tools_Latest_Channel_Id)
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=$(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: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:InstallersTargetStaticFeed=$(InstallersBlobFeedUrl)
/p:PublishInstallersAndChecksums=${{ parameters.publishInstallersAndChecksums }}
/p:InstallersTargetStaticFeed=$(InstallersBlobFeedUrl)
/p:InstallersAzureAccountKey=$(dotnetcli-storage-key)
/p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl)
/p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key)
/p:PublishToAzureDevOpsNuGetFeeds=${{ parameters.publishToAzureDevOpsFeeds }}
/p:AzureDevOpsStaticShippingFeed=
${{ parameters.azureDevOpsToolsFeed }}
/p:AzureDevOpsStaticShippingFeed=
'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticTransportFeed=
${{ parameters.azureDevOpsToolsFeed }}
/p:AzureDevOpsStaticTransportFeed=
'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)
${{ 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_Tools_Latest_PublishValidation
displayName
:
.NET Tools - Latest Publish Validation
...
...
@@ -163,10 +155,6 @@ stages:
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.NetCore_Tools_Latest_Channel_Id }}
-
template
:
../promote-build.yml
parameters
:
ChannelId
:
${{ variables.NetCore_Tools_Latest_Channel_Id }}
eng/common/templates/post-build/channels/public-validation-release.yml
浏览文件 @
570bd57f
parameters
:
artifactsPublishingAdditionalParameters
:
'
'
publishInstallersAndChecksums
:
false
publishToAzureDevOpsFeeds
:
false
azureDevOpsToolsFeed
:
'
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json'
publishToAzureDevOpsFeeds
:
true
stages
:
-
stage
:
PVR_Publish
...
...
@@ -13,7 +12,7 @@ stages:
jobs
:
-
template
:
../setup-maestro-vars.yml
-
job
:
-
job
:
publish_assets
displayName
:
Publish Assets
dependsOn
:
setupMaestroVars
variables
:
...
...
@@ -45,60 +44,48 @@ stages:
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
:
Add Assets Location
displayName
:
Publish Assets
env
:
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
vi
ersal-packages-rw)
AZURE_DEVOPS_EXT_PAT
:
$(dn-bot-dnceng-un
iv
ersal-packages-rw)
inputs
:
filePath
:
eng\common\sdk-task.ps1
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:ChannelId=$(PublicValidationRelease_30_Channel_Id)
arguments
:
-task PublishArtifactsInManifest -restore -msbuildEngine dotnet
/p:ArtifactsCategory=$(_DotNetValidationArtifactsCategory)
/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-un
viersal-packages-rw)'
/p:TargetFeedPAT='$(dn-bot-dnceng-un
viersal-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:NugetPath=$(
NuGetExeToolPath)
/p:AzdoTargetFeedPAT='$(dn-bot-dnceng-un
iversal-packages-rw)'
/p:TargetFeedPAT='$(dn-bot-dnceng-un
iversal-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:PublishInstallersAndChecksums=${{ parameters.publishInstallersAndChecksums }}
/p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl)
/p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key)
/p:PublishToAzureDevOpsNuGetFeeds=${{ parameters.publishToAzureDevOpsFeeds }}
/p:AzureDevOpsStaticShippingFeed=
${{ parameters.azureDevOpsToolsFeed }}
/p:AzureDevOpsStaticShippingFeed=
'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticTransportFeed=
${{ parameters.azureDevOpsToolsFeed }}
/p:AzureDevOpsStaticTransportFeed=
'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
${{ 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
:
PVR_PublishValidation
displayName
:
.NET Tools - Validation Publish Validation
...
...
@@ -107,10 +94,6 @@ stages:
jobs
:
-
template
:
../setup-maestro-vars.yml
-
template
:
../darc-gather-drop.yml
parameters
:
ChannelId
:
${{ variables.PublicValidationRelease_30_Channel_Id }}
-
template
:
../promote-build.yml
parameters
:
ChannelId
:
${{ variables.PublicValidationRelease_30_Channel_Id }}
eng/common/templates/post-build/common-variables.yml
浏览文件 @
570bd57f
variables
:
-
group
:
Publish-Build-Assets
-
group
:
DotNet-DotNetCli-Storage
-
group
:
DotNet-MSRC-Storage
# .NET Core 3 Dev
-
name
:
PublicDevRelease_30_Channel_Id
...
...
@@ -8,7 +9,7 @@ variables:
# .NET Core 3.1 Dev
-
name
:
PublicDevRelease_31_Channel_Id
value
:
260
value
:
128
# .NET Core 5 Dev
-
name
:
NetCore_5_Dev_Channel_Id
...
...
@@ -38,10 +39,6 @@ variables:
-
name
:
IsInternalBuild
value
:
${{ and(ne(variables['System.TeamProject'], 'public'), contains(variables['Build.SourceBranch'], 'internal')) }}
# Storage account name for proxy-backed feeds
-
name
:
ProxyBackedFeedsAccountName
value
:
dotnetfeed
# Default Maestro++ API Endpoint and API Version
-
name
:
MaestroApiEndPoint
value
:
"
https://maestro-prod.westus2.cloudapp.azure.com"
...
...
@@ -55,8 +52,27 @@ variables:
-
name
:
SymbolToolVersion
value
:
1.0.1
# Feed Configurations
# These should include the suffix "/index.json"
# Configuration for the feed where packages from internal non-stable builds will be published to
-
name
:
StaticInternalFeed
value
:
'
https://dnceng.pkgs.visualstudio.com/_packaging/dotnet-core-internal/nuget/v3/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)
eng/common/templates/post-build/post-build.yml
浏览文件 @
570bd57f
...
...
@@ -102,6 +102,7 @@ stages:
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
artifactsPublishingAdditionalParameters
:
${{ parameters.artifactsPublishingAdditionalParameters }}
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
enableAzDONuGetFeeds
:
${{ parameters.enableAzDONuGetFeeds }}
-
template
:
\eng\common\templates\post-build\channels\netcore-dev-30.yml
parameters
:
...
...
global.json
浏览文件 @
570bd57f
...
...
@@ -10,7 +10,7 @@
}
},
"msbuild-sdks"
:
{
"Microsoft.DotNet.Arcade.Sdk"
:
"1.0.0-beta.1945
4.3
1"
,
"Microsoft.DotNet.Arcade.Sdk"
:
"1.0.0-beta.1945
5.2
1"
,
"Microsoft.DotNet.Helix.Sdk"
:
"2.0.0-beta.19069.2"
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录