Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
ab3297dd
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
ab3297dd
编写于
1月 07, 2021
作者:
J
João Moreno
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
only run terrapin on cache miss
上级
11b79ba7
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
45 addition
and
44 deletion
+45
-44
build/.cachesalt
build/.cachesalt
+1
-1
build/azure-pipelines/darwin/product-build-darwin.yml
build/azure-pipelines/darwin/product-build-darwin.yml
+7
-6
build/azure-pipelines/linux/product-build-alpine.yml
build/azure-pipelines/linux/product-build-alpine.yml
+6
-6
build/azure-pipelines/linux/product-build-linux.yml
build/azure-pipelines/linux/product-build-linux.yml
+7
-7
build/azure-pipelines/product-compile.yml
build/azure-pipelines/product-compile.yml
+6
-6
build/azure-pipelines/product-hygiene.yml
build/azure-pipelines/product-hygiene.yml
+6
-6
build/azure-pipelines/web/product-build-web.yml
build/azure-pipelines/web/product-build-web.yml
+6
-6
build/azure-pipelines/win32/product-build-win32.yml
build/azure-pipelines/win32/product-build-win32.yml
+6
-6
未找到文件。
build/.cachesalt
浏览文件 @
ab3297dd
202
0-12-24T14:06:35
Z
202
1-01-07T09:53:10.404
Z
build/azure-pipelines/darwin/product-build-darwin.yml
浏览文件 @
ab3297dd
...
...
@@ -47,12 +47,6 @@ steps:
git pull --no-rebase https://github.com/$(VSCODE_MIXIN_REPO).git $(node -p "require('./package.json').distro")
displayName
:
Merge distro
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
displayName
:
Switch to Terrapin packages
timeoutInMinutes
:
5
condition
:
and(succeeded(), eq(variables['ENABLE_TERRAPIN'], 'true'))
-
script
:
|
mkdir -p .build
node build/azure-pipelines/common/computeNodeModulesCacheKey.js $VSCODE_ARCH $ENABLE_TERRAPIN > .build/yarnlockhash
...
...
@@ -76,6 +70,13 @@ steps:
npm install -g node-gyp@latest
node-gyp --version
displayName
:
Update node-gyp
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'))
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
timeoutInMinutes
:
5
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
displayName
:
Switch to Terrapin packages
-
script
:
|
set -e
...
...
build/azure-pipelines/linux/product-build-alpine.yml
浏览文件 @
ab3297dd
...
...
@@ -50,12 +50,6 @@ steps:
git pull --no-rebase https://github.com/$(VSCODE_MIXIN_REPO).git $(node -p "require('./package.json').distro")
displayName
:
Merge distro
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
displayName
:
Switch to Terrapin packages
timeoutInMinutes
:
5
condition
:
and(succeeded(), eq(variables['ENABLE_TERRAPIN'], 'true'))
-
script
:
|
mkdir -p .build
node build/azure-pipelines/common/computeNodeModulesCacheKey.js "alpine" $ENABLE_TERRAPIN > .build/yarnlockhash
...
...
@@ -74,6 +68,12 @@ steps:
condition
:
and(succeeded(), eq(variables.NODE_MODULES_RESTORED, 'true'))
displayName
:
Extract node_modules archive
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
timeoutInMinutes
:
5
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
displayName
:
Switch to Terrapin packages
-
script
:
|
set -e
for i in {1..3}; do # try 3 times, for Terrapin
...
...
build/azure-pipelines/linux/product-build-linux.yml
浏览文件 @
ab3297dd
...
...
@@ -41,12 +41,6 @@ steps:
git pull --no-rebase https://github.com/$(VSCODE_MIXIN_REPO).git $(node -p "require('./package.json').distro")
displayName
:
Merge distro
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
displayName
:
Switch to Terrapin packages
timeoutInMinutes
:
5
condition
:
and(succeeded(), eq(variables['ENABLE_TERRAPIN'], 'true'))
-
script
:
|
mkdir -p .build
node build/azure-pipelines/common/computeNodeModulesCacheKey.js $VSCODE_ARCH $ENABLE_TERRAPIN > .build/yarnlockhash
...
...
@@ -70,7 +64,13 @@ steps:
npm install -g node-gyp@latest
node-gyp --version
displayName
:
Update node-gyp
condition
:
and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'))
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true', eq(variables['VSCODE_ARCH'], 'x64'))
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
timeoutInMinutes
:
5
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
displayName
:
Switch to Terrapin packages
-
script
:
|
set -e
...
...
build/azure-pipelines/product-compile.yml
浏览文件 @
ab3297dd
...
...
@@ -30,12 +30,6 @@ steps:
git pull --no-rebase https://github.com/$(VSCODE_MIXIN_REPO).git $(node -p "require('./package.json').distro")
displayName
:
Merge distro
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
displayName
:
Switch to Terrapin packages
timeoutInMinutes
:
5
condition
:
and(succeeded(), eq(variables['ENABLE_TERRAPIN'], 'true'))
-
script
:
|
mkdir -p .build
node build/azure-pipelines/common/computeNodeModulesCacheKey.js $VSCODE_ARCH $ENABLE_TERRAPIN > .build/yarnlockhash
...
...
@@ -62,6 +56,12 @@ steps:
displayName
:
Install build tools
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'))
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
timeoutInMinutes
:
5
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
displayName
:
Switch to Terrapin packages
-
script
:
|
set -e
for i in {1..3}; do # try 3 times, for Terrapin
...
...
build/azure-pipelines/product-hygiene.yml
浏览文件 @
ab3297dd
...
...
@@ -30,12 +30,6 @@ steps:
git pull --no-rebase https://github.com/$(VSCODE_MIXIN_REPO).git $(node -p "require('./package.json').distro")
displayName
:
Merge distro
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
displayName
:
Switch to Terrapin packages
timeoutInMinutes
:
5
condition
:
and(succeeded(), eq(variables['ENABLE_TERRAPIN'], 'true'))
-
script
:
|
mkdir -p .build
node build/azure-pipelines/common/computeNodeModulesCacheKey.js $VSCODE_ARCH $ENABLE_TERRAPIN > .build/yarnlockhash
...
...
@@ -62,6 +56,12 @@ steps:
displayName
:
Install build tools
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'))
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
timeoutInMinutes
:
5
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
displayName
:
Switch to Terrapin packages
-
script
:
|
set -e
for i in {1..3}; do # try 3 times, for Terrapin
...
...
build/azure-pipelines/web/product-build-web.yml
浏览文件 @
ab3297dd
...
...
@@ -41,12 +41,6 @@ steps:
git pull --no-rebase https://github.com/$(VSCODE_MIXIN_REPO).git $(node -p "require('./package.json').distro")
displayName
:
Merge distro
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
displayName
:
Switch to Terrapin packages
timeoutInMinutes
:
5
condition
:
and(succeeded(), eq(variables['ENABLE_TERRAPIN'], 'true'))
-
script
:
|
mkdir -p .build
node build/azure-pipelines/common/computeNodeModulesCacheKey.js "web" $ENABLE_TERRAPIN > .build/yarnlockhash
...
...
@@ -65,6 +59,12 @@ steps:
condition
:
and(succeeded(), eq(variables.NODE_MODULES_RESTORED, 'true'))
displayName
:
Extract node_modules archive
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
timeoutInMinutes
:
5
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
displayName
:
Switch to Terrapin packages
-
script
:
|
set -e
for i in {1..3}; do # try 3 times, for Terrapin
...
...
build/azure-pipelines/win32/product-build-win32.yml
浏览文件 @
ab3297dd
...
...
@@ -45,12 +45,6 @@ steps:
exec { git pull --no-rebase https://github.com/$(VSCODE_MIXIN_REPO).git $(node -p "require('./package.json').distro") }
displayName
:
Merge distro
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
displayName
:
Switch to Terrapin packages
timeoutInMinutes
:
7
condition
:
and(succeeded(), eq(variables['ENABLE_TERRAPIN'], 'true'))
-
powershell
:
|
"$(VSCODE_ARCH)" | Out-File -Encoding ascii -NoNewLine .build\arch
"$env:ENABLE_TERRAPIN" | Out-File -Encoding ascii -NoNewLine .build\terrapin
...
...
@@ -71,6 +65,12 @@ steps:
condition
:
and(succeeded(), eq(variables.NODE_MODULES_RESTORED, 'true'))
displayName
:
Extract node_modules archive
-
script
:
|
npx https://aka.ms/enablesecurefeed standAlone
timeoutInMinutes
:
5
condition
:
and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), eq(variables['ENABLE_TERRAPIN'], 'true'))
displayName
:
Switch to Terrapin packages
-
powershell
:
|
. build/azure-pipelines/win32/exec.ps1
. build/azure-pipelines/win32/retry.ps1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录