Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Chu Peng 楚鹏
minikube
提交
f1ecb1ba
M
minikube
项目概览
Chu Peng 楚鹏
/
minikube
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
minikube
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f1ecb1ba
编写于
10月 12, 2016
作者:
D
Dan Lorenc
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix xhyve integration tests.
上级
e3a05b06
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
3 addition
and
32 deletion
+3
-32
hack/jenkins/osx_integration_tests_xhyve.sh
hack/jenkins/osx_integration_tests_xhyve.sh
+3
-32
未找到文件。
hack/jenkins/osx_integration_tests_xhyve.sh
浏览文件 @
f1ecb1ba
...
@@ -15,11 +15,12 @@
...
@@ -15,11 +15,12 @@
# limitations under the License.
# limitations under the License.
# This script runs the integration tests on an OSX machine for the
xh
yve Driver
# This script runs the integration tests on an OSX machine for the
XH
yve Driver
# The script expects the following env variabls:
# The script expects the following env variabls:
# MINIKUBE_LOCATION: GIT_COMMIT from upstream build.
# MINIKUBE_LOCATION: GIT_COMMIT from upstream build.
# COMMIT: Actual commit ID from upstream build
# COMMIT: Actual commit ID from upstream build
# EXTRA_BUILD_ARGS (optional): Extra args to be passed into the minikube integrations tests
# access_token: The Github API access token. Injected by the Jenkins credential provider.
# access_token: The Github API access token. Injected by the Jenkins credential provider.
...
@@ -33,37 +34,7 @@ cp -r out/testdata ./
...
@@ -33,37 +34,7 @@ cp -r out/testdata ./
# Allow this to fail, we'll switch on the return code below.
# Allow this to fail, we'll switch on the return code below.
set
+e
set
+e
out/e2e-darwin-amd64
-minikube-args
=
"--vm-driver=virtualbox --cpus=4
${
EXTRA_BUILD_ARGS
}
"
-test
.v
-test
.timeout
=
30m
-binary
=
out/minikube-darwin-amd64
out/e2e-darwin-amd64
-minikube-args
=
"--vm-driver=xhyve --cpus=4
${
EXTRA_BUILD_ARGS
}
"
-test
.v
-test
.timeout
=
30m
-binary
=
out/minikube-darwin-amd64
result
=
$?
set
-e
if
[[
$result
-eq
0
]]
;
then
status
=
"success"
else
status
=
"failure"
fi
set
+x
target_url
=
"https://storage.googleapis.com/minikube-builds/logs/
${
MINIKUBE_LOCATION
}
/OSX-Virtualbox.txt"
curl
"https://api.github.com/repos/kubernetes/minikube/statuses/
${
COMMIT
}
?access_token=
$access_token
"
\
-H
"Content-Type: application/json"
\
-X
POST
\
-d
"{
\"
state
\"
:
\"
$status
\"
,
\"
description
\"
:
\"
Jenkins
\"
,
\"
target_url
\"
:
\"
$target_url
\"
,
\"
context
\"
:
\"
OSX-VirtualBox
\"
}"
set
-x
exit
$result
mkdir
-p
out
gsutil
-m
cp
-r
gs://minikube-builds/
${
MINIKUBE_LOCATION
}
/
*
out/
chmod
+x out/e2e-darwin-amd64
chmod
+x out/minikube-darwin-amd64
cp
-r
out/testdata ./
./out/minikube-darwin-amd64 delete
||
true
set
+e
out/e2e-darwin-amd64
-minikube-args
=
"--vm-driver=xhyve --cpus=4"
-test
.v
-test
.timeout
=
30m
-binary
=
out/minikube-darwin-amd64
result
=
$?
result
=
$?
set
-e
set
-e
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录