Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
runtime
提交
714b1439
R
runtime
项目概览
dotNET Platform
/
runtime
12 个月 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
runtime
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
714b1439
编写于
11月 20, 2019
作者:
E
Egor Chesakov
提交者:
GitHub
11月 20, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use git bundles (#132)
上级
a23534ec
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
18 addition
and
61 deletion
+18
-61
eng/pipelines/coreclr/templates/checkout-job.yml
eng/pipelines/coreclr/templates/checkout-job.yml
+9
-45
eng/pipelines/coreclr/templates/xplat-job.yml
eng/pipelines/coreclr/templates/xplat-job.yml
+9
-16
未找到文件。
eng/pipelines/coreclr/templates/checkout-job.yml
浏览文件 @
714b1439
...
...
@@ -5,60 +5,24 @@
### and OSX build clients don't have 7-zip installed) and simplify other details such
### as line endings.
jobs
:
-
job
:
'
checkout_windows'
displayName
:
'
Checkout
(Windows)'
-
job
:
checkout
displayName
:
Checkout
pool
:
# Public Windows Build Pool
${{ if eq(variables['System.TeamProject'], 'public') }}
:
vmImage
:
'
windows-latest'
name
:
Hosted MacOS
# Private Windows Build Pool
${{ if ne(variables['System.TeamProject'], 'public') }}
:
name
:
NetCoreInternal-Pool
queue
:
BuildPool.Windows.10.Amd64.VS2017
name
:
Hosted Mac Internal
steps
:
-
checkout
:
self
clean
:
true
fetchDepth
:
5
### Zip up downloaded repo and publish to Helix
-
template
:
/eng/pipelines/coreclr/templates/upload-artifact-step.yml
parameters
:
displayName
:
'
GIT
repository
(Windows)'
rootFolder
:
$(Build.SourcesDirectory)
includeRootFolder
:
false
archiveType
:
'
zip'
tarCompression
:
'
'
archiveExtension
:
'
.zip'
artifactName
:
repo_windows
-
script
:
git bundle create $(Build.StagingDirectory)/Checkout.bundle HEAD
displayName
:
Create Checkout.bundle
-
job
:
'
checkout_unix'
displayName
:
'
Checkout
(Unix)'
pool
:
# Public Linux Build Pool
${{ if eq(variables['System.TeamProject'], 'public') }}
:
vmImage
:
'
ubuntu-latest'
# Private Linux Build Pool
${{ if ne(variables['System.TeamProject'], 'public') }}
:
name
:
NetCoreInternal-Pool
queue
:
BuildPool.Ubuntu.1604.Amd64
steps
:
-
checkout
:
self
clean
:
true
fetchDepth
:
5
### Zip up downloaded repo and publish to Helix
-
template
:
/eng/pipelines/coreclr/templates/upload-artifact-step.yml
parameters
:
displayName
:
'
GIT
repository
(Unix)'
rootFolder
:
$(Build.SourcesDirectory)
includeRootFolder
:
false
archiveType
:
'
tar'
tarCompression
:
'
gz'
archiveExtension
:
'
.tar.gz'
artifactName
:
repo_unix
-
publish
:
$(Build.StagingDirectory)/Checkout.bundle
artifact
:
Checkout_bundle
displayName
:
Upload Checkout.bundle
eng/pipelines/coreclr/templates/xplat-job.yml
浏览文件 @
714b1439
...
...
@@ -31,10 +31,7 @@ jobs:
condition
:
${{ parameters.condition }}
dependsOn
:
-
${{ if ne(parameters.stagedBuild,
true
) }}
:
-
${{ if eq(parameters.osGroup, 'Windows_NT') }}
:
-
'
checkout_windows'
-
${{ if ne(parameters.osGroup, 'Windows_NT') }}
:
-
'
checkout_unix'
-
checkout
-
${{ if ne(parameters.dependsOn, '') }}
:
-
${{ parameters.dependsOn }}
...
...
@@ -158,17 +155,13 @@ jobs:
-
checkout
:
none
clean
:
true
# Download the GIT repository
-
template
:
/eng/pipelines/coreclr/templates/download-artifact-step.yml
parameters
:
displayName
:
'
GIT
repository'
cleanUnpackFolder
:
false
unpackFolder
:
$(Build.SourcesDirectory)
${{ if eq(parameters.osGroup, 'Windows_NT') }}
:
artifactFileName
:
repo_windows.zip
artifactName
:
repo_windows
${{ if ne(parameters.osGroup, 'Windows_NT') }}
:
artifactFileName
:
repo_unix.tar.gz
artifactName
:
repo_unix
-
download
:
current
artifact
:
Checkout_bundle
displayName
:
Download Checkout.bundle
-
script
:
|
git clone $(Pipeline.Workspace)/Checkout_bundle/Checkout.bundle .
git remote set-url origin $(Build.Repository.Uri)
displayName
:
Clone the repository from Checkout.bundle
-
${{ parameters.steps }}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录