Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
fsharp
提交
08598514
F
fsharp
项目概览
dotNET Platform
/
fsharp
11 个月 前同步成功
通知
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,发现更多精彩内容 >>
未验证
提交
08598514
编写于
11月 08, 2019
作者:
B
Brett V. Forsgren
提交者:
GitHub
11月 08, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #7829 from dotnet/darc-master-0e2010c0-8299-42c7-a298-cd724a96316e
[master] Update dependencies from dotnet/arcade
上级
7a02f41f
f137da88
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
346 addition
and
55 deletion
+346
-55
eng/Version.Details.xml
eng/Version.Details.xml
+2
-2
eng/common/cross/toolchain.cmake
eng/common/cross/toolchain.cmake
+15
-34
eng/common/templates/post-build/channels/general-testing.yml
eng/common/templates/post-build/channels/general-testing.yml
+143
-0
eng/common/templates/post-build/channels/netcore-3-eng-validation.yml
...emplates/post-build/channels/netcore-3-eng-validation.yml
+3
-3
eng/common/templates/post-build/channels/netcore-3-eng.yml
eng/common/templates/post-build/channels/netcore-3-eng.yml
+3
-3
eng/common/templates/post-build/channels/netcore-blazor-31-features.yml
...plates/post-build/channels/netcore-blazor-31-features.yml
+143
-0
eng/common/templates/post-build/channels/netcore-eng-latest.yml
...mmon/templates/post-build/channels/netcore-eng-latest.yml
+3
-3
eng/common/templates/post-build/channels/netcore-eng-validation.yml
.../templates/post-build/channels/netcore-eng-validation.yml
+3
-3
eng/common/templates/post-build/channels/netcore-internal-30.yml
...mon/templates/post-build/channels/netcore-internal-30.yml
+1
-0
eng/common/templates/post-build/common-variables.yml
eng/common/templates/post-build/common-variables.yml
+8
-0
eng/common/templates/post-build/post-build.yml
eng/common/templates/post-build/post-build.yml
+21
-6
global.json
global.json
+1
-1
未找到文件。
eng/Version.Details.xml
浏览文件 @
08598514
...
...
@@ -3,9 +3,9 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency
Name=
"Microsoft.DotNet.Arcade.Sdk"
Version=
"5.0.0-beta.1955
5.7
"
>
<Dependency
Name=
"Microsoft.DotNet.Arcade.Sdk"
Version=
"5.0.0-beta.1955
7.20
"
>
<Uri>
https://github.com/dotnet/arcade
</Uri>
<Sha>
82c69e4d687077689fae4826e755ff5bf296c9c3
</Sha>
<Sha>
b62f1617f2c453497fd55697c04dd8021a38dc17
</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
eng/common/cross/toolchain.cmake
浏览文件 @
08598514
...
...
@@ -31,6 +31,10 @@ else()
message
(
FATAL_ERROR
"Arch is
${
TARGET_ARCH_NAME
}
. Only armel, arm, arm64 and x86 are supported!"
)
endif
()
if
(
DEFINED ENV{TOOLCHAIN}
)
set
(
TOOLCHAIN $ENV{TOOLCHAIN}
)
endif
()
# Specify include paths
if
(
TARGET_ARCH_NAME STREQUAL
"armel"
)
if
(
DEFINED TIZEN_TOOLCHAIN
)
...
...
@@ -39,48 +43,25 @@ if(TARGET_ARCH_NAME STREQUAL "armel")
endif
()
endif
()
# add_compile_param - adds only new options without duplicates.
# arg0 - list with result options, arg1 - list with new options.
# arg2 - optional argument, quick summary string for optional using CACHE FORCE mode.
macro
(
add_compile_param
)
if
(
NOT
${
ARGC
}
MATCHES
"^(2|3)$"
)
message
(
FATAL_ERROR
"Wrong using add_compile_param! Two or three parameters must be given! See add_compile_param description."
)
endif
()
foreach
(
OPTION
${
ARGV1
}
)
if
(
NOT
${
ARGV0
}
MATCHES
"
${
OPTION
}
($| )"
)
set
(
${
ARGV0
}
"
${${
ARGV0
}}
${
OPTION
}
"
)
if
(
${
ARGC
}
EQUAL
"3"
)
# CACHE FORCE mode
set
(
${
ARGV0
}
"
${${
ARGV0
}}
"
CACHE STRING
"
${
ARGV2
}
"
FORCE
)
endif
()
endif
()
endforeach
()
endmacro
()
set
(
CMAKE_SYSROOT
"
${
CROSS_ROOTFS
}
"
)
set
(
CMAKE_C_COMPILER_EXTERNAL_TOOLCHAIN
"
${
CROSS_ROOTFS
}
/usr"
)
set
(
CMAKE_CXX_COMPILER_EXTERNAL_TOOLCHAIN
"
${
CROSS_ROOTFS
}
/usr"
)
set
(
CMAKE_ASM_COMPILER_EXTERNAL_TOOLCHAIN
"
${
CROSS_ROOTFS
}
/usr"
)
# Specify link flags
add_compile_param
(
CROSS_LINK_FLAGS
"--sysroot=
${
CROSS_ROOTFS
}
"
)
add_compile_param
(
CROSS_LINK_FLAGS
"--gcc-toolchain=
${
CROSS_ROOTFS
}
/usr"
)
add_compile_param
(
CROSS_LINK_FLAGS
"--target=
${
TOOLCHAIN
}
"
)
add_compile_param
(
CROSS_LINK_FLAGS
"-fuse-ld=gold"
)
if
(
TARGET_ARCH_NAME STREQUAL
"armel"
)
if
(
DEFINED TIZEN_TOOLCHAIN
)
# For Tizen only
add_
compile_param
(
CROSS_LINK_FLAGS
"-B
${
CROSS_ROOTFS
}
/usr/lib/gcc/
${
TIZEN_TOOLCHAIN
}
"
)
add_
compile_param
(
CROSS_LINK_FLAGS
"-L
${
CROSS_ROOTFS
}
/lib"
)
add_
compile_param
(
CROSS_LINK_FLAGS
"-L
${
CROSS_ROOTFS
}
/usr/lib"
)
add_
compile_param
(
CROSS_LINK_FLAGS
"-L
${
CROSS_ROOTFS
}
/usr/lib/gcc/
${
TIZEN_TOOLCHAIN
}
"
)
add_
link_options
(
"-B
${
CROSS_ROOTFS
}
/usr/lib/gcc/
${
TIZEN_TOOLCHAIN
}
"
)
add_
link_options
(
"-L
${
CROSS_ROOTFS
}
/lib"
)
add_
link_options
(
"-L
${
CROSS_ROOTFS
}
/usr/lib"
)
add_
link_options
(
"-L
${
CROSS_ROOTFS
}
/usr/lib/gcc/
${
TIZEN_TOOLCHAIN
}
"
)
endif
()
elseif
(
TARGET_ARCH_NAME STREQUAL
"x86"
)
add_
compile_param
(
CROSS_LINK_FLAGS
"-m32"
)
add_
link_options
(
-m32
)
endif
()
add_compile_param
(
CMAKE_EXE_LINKER_FLAGS
"
${
CROSS_LINK_FLAGS
}
"
"TOOLCHAIN_EXE_LINKER_FLAGS"
)
add_compile_param
(
CMAKE_SHARED_LINKER_FLAGS
"
${
CROSS_LINK_FLAGS
}
"
"TOOLCHAIN_EXE_LINKER_FLAGS"
)
add_compile_param
(
CMAKE_MODULE_LINKER_FLAGS
"
${
CROSS_LINK_FLAGS
}
"
"TOOLCHAIN_EXE_LINKER_FLAGS"
)
# Specify compile options
add_compile_options
(
"--sysroot=
${
CROSS_ROOTFS
}
"
)
add_compile_options
(
"--target=
${
TOOLCHAIN
}
"
)
add_compile_options
(
"--gcc-toolchain=
${
CROSS_ROOTFS
}
/usr"
)
if
(
TARGET_ARCH_NAME MATCHES
"^(arm|armel|arm64)$"
)
set
(
CMAKE_C_COMPILER_TARGET
${
TOOLCHAIN
}
)
...
...
@@ -103,7 +84,7 @@ elseif(TARGET_ARCH_NAME STREQUAL "x86")
add_compile_options
(
-Wno-error=unused-command-line-argument
)
endif
()
# Set LLDB include and library paths
# Set LLDB include and library paths
for builds that need lldb.
if
(
TARGET_ARCH_NAME MATCHES
"^(arm|armel|x86)$"
)
if
(
TARGET_ARCH_NAME STREQUAL
"x86"
)
set
(
LLVM_CROSS_DIR
"$ENV{LLVM_CROSS_HOME}"
)
...
...
@@ -131,7 +112,7 @@ if(TARGET_ARCH_NAME MATCHES "^(arm|armel|x86)$")
endif
()
endif
()
set
(
CMAKE_FIND_ROOT_PATH
"
${
CROSS_ROOTFS
}
"
)
set
(
CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER
)
set
(
CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY
)
set
(
CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY
)
...
...
eng/common/templates/post-build/channels/general-testing.yml
0 → 100644
浏览文件 @
08598514
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 }}
eng/common/templates/post-build/channels/netcore-3-
tools
-validation.yml
→
eng/common/templates/post-build/channels/netcore-3-
eng
-validation.yml
浏览文件 @
08598514
...
...
@@ -83,11 +83,11 @@ stages:
/p:InstallersAzureAccountKey=$(dotnetcli-storage-key)
/p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl)
/p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key)
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
-symbols/nuget/v3/index.json'
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
-symbols/nuget/v3/index.json'
/p:AzureDevOpsStaticSymbolsFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
${{ parameters.artifactsPublishingAdditionalParameters }}
...
...
eng/common/templates/post-build/channels/netcore-3-
tools
.yml
→
eng/common/templates/post-build/channels/netcore-3-
eng
.yml
浏览文件 @
08598514
...
...
@@ -130,11 +130,11 @@ stages:
/p:InstallersAzureAccountKey=$(dotnetcli-storage-key)
/p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl)
/p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key)
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
-symbols/nuget/v3/index.json'
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
-symbols/nuget/v3/index.json'
/p:AzureDevOpsStaticSymbolsFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
${{ parameters.artifactsPublishingAdditionalParameters }}
...
...
eng/common/templates/post-build/channels/netcore-blazor-31-features.yml
0 → 100644
浏览文件 @
08598514
parameters
:
artifactsPublishingAdditionalParameters
:
'
'
dependsOn
:
-
Validate
publishInstallersAndChecksums
:
false
symbolPublishingAdditionalParameters
:
'
'
stages
:
-
stage
:
NetCore_Blazor31_Features_Publish
dependsOn
:
${{ parameters.dependsOn }}
variables
:
-
template
:
../common-variables.yml
displayName
:
.NET Core 3.1 Blazor Features Publishing
jobs
:
-
template
:
../setup-maestro-vars.yml
-
job
:
displayName
:
Symbol Publishing
dependsOn
:
setupMaestroVars
condition
:
contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], format('[{0}]', variables.NetCore_31_Blazor_Features))
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.NetCore_31_Blazor_Features))
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/dotnet3.1-blazor/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-blazor/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-blazor-symbols/nuget/v3/index.json'
/p:AzureDevOpsStaticSymbolsFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
${{ parameters.artifactsPublishingAdditionalParameters }}
-
template
:
../../steps/promote-build.yml
parameters
:
ChannelId
:
${{ variables.NetCore_31_Blazor_Features }}
eng/common/templates/post-build/channels/netcore-
tools
-latest.yml
→
eng/common/templates/post-build/channels/netcore-
eng
-latest.yml
浏览文件 @
08598514
...
...
@@ -130,11 +130,11 @@ stages:
/p:InstallersAzureAccountKey=$(dotnetcli-storage-key)
/p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl)
/p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key)
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
-symbols/nuget/v3/index.json'
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
-symbols/nuget/v3/index.json'
/p:AzureDevOpsStaticSymbolsFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
${{ parameters.artifactsPublishingAdditionalParameters }}
...
...
eng/common/templates/post-build/channels/netcore-
tools
-validation.yml
→
eng/common/templates/post-build/channels/netcore-
eng
-validation.yml
浏览文件 @
08598514
...
...
@@ -85,11 +85,11 @@ stages:
/p:InstallersAzureAccountKey=$(dotnetcli-storage-key)
/p:ChecksumsTargetStaticFeed=$(ChecksumsBlobFeedUrl)
/p:ChecksumsAzureAccountKey=$(dotnetclichecksums-storage-key)
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
/nuget/v3/index.json'
/p:AzureDevOpsStaticShippingFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
/nuget/v3/index.json'
/p:AzureDevOpsStaticTransportFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
tools
-symbols/nuget/v3/index.json'
/p:AzureDevOpsStaticSymbolsFeed='https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-
eng
-symbols/nuget/v3/index.json'
/p:AzureDevOpsStaticSymbolsFeedKey='$(dn-bot-dnceng-artifact-feeds-rw)'
${{ parameters.artifactsPublishingAdditionalParameters }}
...
...
eng/common/templates/post-build/channels/netcore-internal-30.yml
浏览文件 @
08598514
...
...
@@ -2,6 +2,7 @@ parameters:
artifactsPublishingAdditionalParameters
:
'
'
dependsOn
:
-
Validate
publishInstallersAndChecksums
:
false
symbolPublishingAdditionalParameters
:
'
'
stages
:
...
...
eng/common/templates/post-build/common-variables.yml
浏览文件 @
08598514
...
...
@@ -41,6 +41,14 @@ variables:
-
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
value
:
531
# Whether the build is internal or not
-
name
:
IsInternalBuild
value
:
${{ and(ne(variables['System.TeamProject'], 'public'), contains(variables['Build.SourceBranch'], 'internal')) }}
...
...
eng/common/templates/post-build/post-build.yml
浏览文件 @
08598514
...
...
@@ -117,7 +117,8 @@ stages:
artifactsPublishingAdditionalParameters
:
${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn
:
${{ parameters.publishDependsOn }}
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
-
template
:
\eng\common\templates\post-build\channels\netcore-dev-31.yml
parameters
:
artifactsPublishingAdditionalParameters
:
${{ parameters.artifactsPublishingAdditionalParameters }}
...
...
@@ -125,27 +126,26 @@ stages:
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
-
template
:
\eng\common\templates\post-build\channels\netcore-
tools
-latest.yml
-
template
:
\eng\common\templates\post-build\channels\netcore-
eng
-latest.yml
parameters
:
artifactsPublishingAdditionalParameters
:
${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn
:
${{ parameters.publishDependsOn }}
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
-
template
:
\eng\common\templates\post-build\channels\netcore-
tools
-validation.yml
-
template
:
\eng\common\templates\post-build\channels\netcore-
eng
-validation.yml
parameters
:
artifactsPublishingAdditionalParameters
:
${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn
:
${{ parameters.publishDependsOn }}
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
-
template
:
\eng\common\templates\post-build\channels\netcore-3-
tools
-validation.yml
-
template
:
\eng\common\templates\post-build\channels\netcore-3-
eng
-validation.yml
parameters
:
artifactsPublishingAdditionalParameters
:
${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn
:
${{ parameters.publishDependsOn }}
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
-
template
:
\eng\common\templates\post-build\channels\netcore-3-
tools
.yml
-
template
:
\eng\common\templates\post-build\channels\netcore-3-
eng
.yml
parameters
:
dependsOn
:
${{ parameters.publishDependsOn }}
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
...
...
@@ -166,8 +166,23 @@ stages:
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
-
template
:
\eng\common\templates\post-build\channels\netcore-blazor-31-features.yml
parameters
:
artifactsPublishingAdditionalParameters
:
${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn
:
${{ parameters.publishDependsOn }}
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
-
template
:
\eng\common\templates\post-build\channels\netcore-internal-30.yml
parameters
:
artifactsPublishingAdditionalParameters
:
${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn
:
${{ parameters.publishDependsOn }}
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
-
template
:
\eng\common\templates\post-build\channels\general-testing.yml
parameters
:
artifactsPublishingAdditionalParameters
:
${{ parameters.artifactsPublishingAdditionalParameters }}
dependsOn
:
${{ parameters.publishDependsOn }}
publishInstallersAndChecksums
:
${{ parameters.publishInstallersAndChecksums }}
symbolPublishingAdditionalParameters
:
${{ parameters.symbolPublishingAdditionalParameters }}
global.json
浏览文件 @
08598514
...
...
@@ -10,7 +10,7 @@
}
},
"msbuild-sdks"
:
{
"Microsoft.DotNet.Arcade.Sdk"
:
"5.0.0-beta.1955
5.7
"
,
"Microsoft.DotNet.Arcade.Sdk"
:
"5.0.0-beta.1955
7.20
"
,
"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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录