Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
e05a2340
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e05a2340
编写于
7月 25, 2019
作者:
D
dotnet-maestro
提交者:
Andy Gocke
7月 30, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update dependencies from
https://github.com/dotnet/arcade
build 20190725.2
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19375.2
上级
b9d34146
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
70 addition
and
99 deletion
+70
-99
eng/Version.Details.xml
eng/Version.Details.xml
+2
-2
eng/common/init-tools-native.ps1
eng/common/init-tools-native.ps1
+1
-1
eng/common/post-build/darc-gather-drop.ps1
eng/common/post-build/darc-gather-drop.ps1
+36
-0
eng/common/templates/post-build/channels/internal-servicing.yml
...mmon/templates/post-build/channels/internal-servicing.yml
+0
-23
eng/common/templates/post-build/channels/public-dev-release.yml
...mmon/templates/post-build/channels/public-dev-release.yml
+3
-21
eng/common/templates/post-build/channels/public-release.yml
eng/common/templates/post-build/channels/public-release.yml
+0
-23
eng/common/templates/post-build/channels/public-validation-release.yml
...mplates/post-build/channels/public-validation-release.yml
+3
-23
eng/common/templates/post-build/darc-gather-drop.yml
eng/common/templates/post-build/darc-gather-drop.yml
+22
-0
eng/common/templates/post-build/post-build.yml
eng/common/templates/post-build/post-build.yml
+1
-4
eng/common/templates/post-build/trigger-subscription.yml
eng/common/templates/post-build/trigger-subscription.yml
+1
-1
global.json
global.json
+1
-1
未找到文件。
eng/Version.Details.xml
浏览文件 @
e05a2340
...
...
@@ -3,9 +3,9 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency
Name=
"Microsoft.DotNet.Arcade.Sdk"
Version=
"1.0.0-beta.1937
4
.2"
>
<Dependency
Name=
"Microsoft.DotNet.Arcade.Sdk"
Version=
"1.0.0-beta.1937
5
.2"
>
<Uri>
https://github.com/dotnet/arcade
</Uri>
<Sha>
3
fef0c38e33db4fe58a46c01e597655c2b666aa3
</Sha>
<Sha>
3
dfa62fddcde597959c323d17426f215384e773a
</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
eng/common/init-tools-native.ps1
浏览文件 @
e05a2340
...
...
@@ -98,7 +98,7 @@ try {
}
Write-Verbose
"Installing
$ToolName
version
$ToolVersion
"
Write-Verbose
"Executing '
$InstallerPath
$
(
$LocalInstallerArguments
.
Keys
.
ForEach
({
"-
$_
`"
$(
$LocalInstallerArguments
.
$_
)
`"
"
}
)
-join ' ')
'"
Write-Verbose
"Executing '
$InstallerPath
$
LocalInstallerArguments
'"
&
$InstallerPath
@
LocalInstallerArguments
if
(
$LASTEXITCODE
-Ne
"0"
)
{
$errMsg
=
"
$ToolName
installation failed"
...
...
eng/common/post-build/darc-gather-drop.ps1
0 → 100644
浏览文件 @
e05a2340
param
(
[
Parameter
(
Mandatory
=
$true
)][
string
]
$BarBuildId
,
# ID of the build which assets should be downloaded
[
Parameter
(
Mandatory
=
$true
)][
string
]
$MaestroAccessToken
,
# Token used to access Maestro API
[
Parameter
(
Mandatory
=
$true
)][
string
]
$DropLocation
# Where the assets should be downloaded to
)
$Error
ActionPreference
=
"Stop"
Set-StrictMode
-Version
2.0
.
$PSScriptRoot
\..\tools.ps1
try
{
Write-Host
"Installing DARC ..."
.
$PSScriptRoot
\..\darc-init.ps1
$exitCode
=
$LASTEXITCODE
if
(
$exitCode
-ne
0
)
{
Write-PipelineTaskError
"Something failed while running 'darc-init.ps1'. Check for errors above. Exiting now..."
ExitWithExitCode
$exitCode
}
darc
gather-drop
--non-shipping
`
--continue-on-error
`
--id
$BarBuildId
`
--output-dir
$DropLocation
`
--bar-uri
https://maestro-prod.westus2.cloudapp.azure.com/
`
--password
$MaestroAccessToken
`
--latest-location
}
catch
{
Write-Host
$_
Write-Host
$_
.
Exception
Write-Host
$_
.
ScriptStackTrace
ExitWithExitCode
1
}
eng/common/templates/post-build/channels/internal-servicing.yml
浏览文件 @
e05a2340
...
...
@@ -143,29 +143,6 @@ stages:
filePath
:
$(Build.SourcesDirectory)/eng/common/post-build/symbols-validation.ps1
arguments
:
-InputPath $(Build.ArtifactStagingDirectory)/PackageArtifacts/ -ExtractPath $(Agent.BuildDirectory)/Temp/ -DotnetSymbolVersion $(SymbolToolVersion)
-
job
:
displayName
:
Gather Drop
dependsOn
:
setupMaestroVars
variables
:
BARBuildId
:
$[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
condition
:
contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], variables.InternalServicing_30_Channel_Id)
pool
:
vmImage
:
'
windows-2019'
steps
:
-
task
:
PowerShell@2
displayName
:
Setup Darc CLI
inputs
:
targetType
:
filePath
filePath
:
'
$(Build.SourcesDirectory)/eng/common/darc-init.ps1'
-
task
:
PowerShell@2
displayName
:
Run Darc gather-drop
inputs
:
targetType
:
inline
script
:
|
darc gather-drop --non-shipping --continue-on-error --id $(BARBuildId) --output-dir $(Agent.BuildDirectory)/Temp/Drop/ --bar-uri https://maestro-prod.westus2.cloudapp.azure.com/ --password $(MaestroAccessToken) --latest-location
enabled
:
false
-
template
:
../promote-build.yml
parameters
:
ChannelId
:
${{ variables.InternalServicing_30_Channel_Id }}
eng/common/templates/post-build/channels/public-dev-release.yml
浏览文件 @
e05a2340
...
...
@@ -140,27 +140,9 @@ stages:
filePath
:
$(Build.SourcesDirectory)/eng/common/post-build/symbols-validation.ps1
arguments
:
-InputPath $(Build.ArtifactStagingDirectory)/PackageArtifacts/ -ExtractPath $(Agent.BuildDirectory)/Temp/ -DotnetSymbolVersion $(SymbolToolVersion)
-
job
:
displayName
:
Gather Drop
dependsOn
:
setupMaestroVars
variables
:
BARBuildId
:
$[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
condition
:
contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], variables.PublicDevRelease_30_Channel_Id)
pool
:
vmImage
:
'
windows-2019'
steps
:
-
task
:
PowerShell@2
displayName
:
Setup Darc CLI
inputs
:
targetType
:
filePath
filePath
:
'
$(Build.SourcesDirectory)/eng/common/darc-init.ps1'
-
task
:
PowerShell@2
displayName
:
Run Darc gather-drop
inputs
:
targetType
:
inline
script
:
|
darc gather-drop --non-shipping --continue-on-error --id $(BARBuildId) --output-dir $(Agent.BuildDirectory)/Temp/Drop/ --bar-uri https://maestro-prod.westus2.cloudapp.azure.com/ --password $(MaestroAccessToken) --latest-location
-
template
:
../darc-gather-drop.yml
parameters
:
ChannelId
:
${{ variables.PublicDevRelease_30_Channel_Id }}
-
template
:
../promote-build.yml
parameters
:
...
...
eng/common/templates/post-build/channels/public-release.yml
浏览文件 @
e05a2340
...
...
@@ -143,29 +143,6 @@ stages:
filePath
:
$(Build.SourcesDirectory)/eng/common/post-build/symbols-validation.ps1
arguments
:
-InputPath $(Build.ArtifactStagingDirectory)/PackageArtifacts/ -ExtractPath $(Agent.BuildDirectory)/Temp/ -DotnetSymbolVersion $(SymbolToolVersion)
-
job
:
displayName
:
Gather Drop
dependsOn
:
setupMaestroVars
variables
:
BARBuildId
:
$[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
condition
:
contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], variables.PublicRelease_30_Channel_Id)
pool
:
vmImage
:
'
windows-2019'
steps
:
-
task
:
PowerShell@2
displayName
:
Setup Darc CLI
inputs
:
targetType
:
filePath
filePath
:
'
$(Build.SourcesDirectory)/eng/common/darc-init.ps1'
-
task
:
PowerShell@2
displayName
:
Run Darc gather-drop
inputs
:
targetType
:
inline
script
:
|
darc gather-drop --non-shipping --continue-on-error --id $(BARBuildId) --output-dir $(Agent.BuildDirectory)/Temp/Drop/ --bar-uri https://maestro-prod.westus2.cloudapp.azure.com/ --password $(MaestroAccessToken) --latest-location
enabled
:
false
-
template
:
../promote-build.yml
parameters
:
ChannelId
:
${{ variables.PublicRelease_30_Channel_Id }}
eng/common/templates/post-build/channels/public-validation-release.yml
浏览文件 @
e05a2340
...
...
@@ -91,29 +91,9 @@ stages:
jobs
:
-
template
:
../setup-maestro-vars.yml
-
job
:
displayName
:
Gather Drop
dependsOn
:
setupMaestroVars
condition
:
contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], variables.PublicValidationRelease_30_Channel_Id)
variables
:
-
name
:
BARBuildId
value
:
$[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
-
group
:
Publish-Build-Assets
pool
:
vmImage
:
'
windows-2019'
steps
:
-
task
:
PowerShell@2
displayName
:
Setup Darc CLI
inputs
:
targetType
:
filePath
filePath
:
'
$(Build.SourcesDirectory)/eng/common/darc-init.ps1'
-
task
:
PowerShell@2
displayName
:
Run Darc gather-drop
inputs
:
targetType
:
inline
script
:
|
darc gather-drop --non-shipping --continue-on-error --id $(BARBuildId) --output-dir $(Agent.BuildDirectory)/Temp/Drop/ --bar-uri https://maestro-prod.westus2.cloudapp.azure.com --password $(MaestroAccessToken) --latest-location
-
template
:
../darc-gather-drop.yml
parameters
:
ChannelId
:
${{ variables.PublicValidationRelease_30_Channel_Id }}
-
template
:
../promote-build.yml
parameters
:
...
...
eng/common/templates/post-build/darc-gather-drop.yml
0 → 100644
浏览文件 @
e05a2340
parameters
:
ChannelId
:
0
jobs
:
-
job
:
gatherDrop
displayName
:
Gather Drop
dependsOn
:
setupMaestroVars
condition
:
contains(dependencies.setupMaestroVars.outputs['setReleaseVars.InitialChannels'], ${{ parameters.ChannelId }})
variables
:
-
group
:
Publish-Build-Assets
-
name
:
BARBuildId
value
:
$[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
pool
:
vmImage
:
'
windows-2019'
steps
:
-
task
:
PowerShell@2
displayName
:
Darc gather-drop
inputs
:
filePath
:
$(Build.SourcesDirectory)/eng/common/post-build/darc-gather-drop.ps1
arguments
:
-BarBuildId $(BARBuildId)
-DropLocation $(Agent.BuildDirectory)/Temp/Drop/
-MaestroAccessToken $(MaestroAccessToken)
eng/common/templates/post-build/post-build.yml
浏览文件 @
e05a2340
...
...
@@ -7,12 +7,9 @@ parameters:
enable
:
false
params
:
'
'
# Which stages should finish execution before post-build stages start
dependsOn
:
[
build
]
stages
:
-
stage
:
validate
dependsOn
:
${{ parameters.dependsOn }}
dependsOn
:
build
displayName
:
Validate
jobs
:
-
${{ if eq(parameters.enableNugetValidation, 'true') }}
:
...
...
eng/common/templates/post-build/trigger-subscription.yml
浏览文件 @
e05a2340
...
...
@@ -8,4 +8,4 @@ steps:
filePath
:
$(Build.SourcesDirectory)/eng/common/post-build/trigger-subscriptions.ps1
arguments
:
-SourceRepo $(Build.Repository.Uri)
-ChannelId ${{ parameters.ChannelId }}
-BarToken $(MaestroAccessTokenInt)
\ No newline at end of file
-BarToken $(MaestroAccessToken)
global.json
浏览文件 @
e05a2340
...
...
@@ -7,6 +7,6 @@
"xcopy-msbuild"
:
"16.0.0-alpha"
},
"msbuild-sdks"
:
{
"Microsoft.DotNet.Arcade.Sdk"
:
"1.0.0-beta.1937
4
.2"
"Microsoft.DotNet.Arcade.Sdk"
:
"1.0.0-beta.1937
5
.2"
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录