Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Chu Peng 楚鹏
minikube
提交
e88306d1
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,发现更多精彩内容 >>
提交
e88306d1
编写于
7月 22, 2016
作者:
D
dlorenc
提交者:
GitHub
7月 22, 2016
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #388 from jimmidyson/windows-release
Add Windows binary to release & checksums to release.json
上级
65bbdda5
5a7904b5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
54 addition
and
24 deletion
+54
-24
Makefile
Makefile
+9
-1
RELEASING.md
RELEASING.md
+26
-22
deploy/minikube/schema.json
deploy/minikube/schema.json
+19
-1
未找到文件。
Makefile
浏览文件 @
e88306d1
...
@@ -91,7 +91,15 @@ $(GOPATH)/bin/go-bindata:
...
@@ -91,7 +91,15 @@ $(GOPATH)/bin/go-bindata:
GOBIN
=
$(GOPATH)
/bin go get github.com/jteeuwen/go-bindata/...
GOBIN
=
$(GOPATH)
/bin go get github.com/jteeuwen/go-bindata/...
.PHONY
:
cross
.PHONY
:
cross
cross
:
out/localkube out/minikube-darwin-amd64 out/minikube-windows-amd64.exe
cross
:
out/localkube out/minikube-linux-amd64 out/minikube-darwin-amd64 out/minikube-windows-amd64.exe
.PHONE
:
checksum
checksum
:
for
f
in
out/localkube out/minikube-linux-amd64 out/minikube-darwin-amd64 out/minikube-windows-amd64.exe
;
do
\
if
[
-f
"
$
${f}
"
]
;
then
\
openssl sha256
"
$
${f}
"
|
awk
'{print $$2}'
>
"
$
${f}
.sha256"
;
\
fi
;
\
done
.PHONY
:
clean
.PHONY
:
clean
clean
:
clean
:
...
...
RELEASING.md
浏览文件 @
e88306d1
...
@@ -14,9 +14,26 @@ If you do this, bump the ISO URL to point to the new ISO, and send a PR.
...
@@ -14,9 +14,26 @@ If you do this, bump the ISO URL to point to the new ISO, and send a PR.
See
[
this PR
](
https://github.com/kubernetes/minikube/pull/165
)
for an example.
See
[
this PR
](
https://github.com/kubernetes/minikube/pull/165
)
for an example.
## Run integration tests
Run this command:
```
shell
make integration
```
Investigate and fix any failures.
## Build the Release
Run this command:
```
shell
make cross checksum
```
## Add the version to the releases.json file
## Add the version to the releases.json file
Add an entry
**to the top**
of deploy/minikube/releases.json with the version, and send a PR.
Add an entry
**to the top**
of deploy/minikube/releases.json with the version and checksums.
Send a PR.
This file controls the auto update notifications in minikube.
This file controls the auto update notifications in minikube.
Only add entries to this file that should be released to all users (no pre-release, alpha or beta releases).
Only add entries to this file that should be released to all users (no pre-release, alpha or beta releases).
The file must be uploaded to GCS before notifications will go out. That step comes at the end.
The file must be uploaded to GCS before notifications will go out. That step comes at the end.
...
@@ -25,13 +42,16 @@ The schema for this file can be found in deploy/minikube/schema.json.
...
@@ -25,13 +42,16 @@ The schema for this file can be found in deploy/minikube/schema.json.
An automated test to verify the schema runs in Travis before each submit.
An automated test to verify the schema runs in Travis before each submit.
##
Run integration tests
##
Upload to GCS:
Run this command:
```
shell
```
shell
make integration
gsutil
cp
out/minikube-linux-amd64 gs://minikube/releases/
$RELEASE
/
gsutil
cp
out/minikube-linux-amd64.sha256 gs://minikube/releases/
$RELEASE
/
gsutil
cp
out/minikube-darwin-amd64 gs://minikube/releases/
$RELEASE
/
gsutil
cp
out/minikube-darwin-amd64.sha256 gs://minikube/releases/
$RELEASE
/
gsutil
cp
out/minikube-windows-amd64.exe gs://minikube/releases/
$RELEASE
/
gsutil
cp
out/minikube-windows-amd64.exe.sha256 gs://minikube/releases/
$RELEASE
/
```
```
Investigate and fix any failures.
## Tag the Release
## Tag the Release
...
@@ -39,27 +59,11 @@ Run a command like this to tag it locally: `git tag -a v0.2.0 -m "0.2.0 Release"
...
@@ -39,27 +59,11 @@ Run a command like this to tag it locally: `git tag -a v0.2.0 -m "0.2.0 Release"
And run a command like this to push the tag:
`git push upstream v0.2.0`
.
And run a command like this to push the tag:
`git push upstream v0.2.0`
.
## Build the Release
Run these commands:
```
shell
GOOS
=
linux
GOARCH
=
amd64 make out/minikube-linux-amd64
GOOS
=
darwin
GOARCH
=
amd64 make out/minikube-darwin-amd64
```
## Upload to GCS:
```
shell
gsutil
cp
out/minikube-linux-amd64 gs://minikube/releases/
$RELEASE
/
gsutil
cp
out/minikube-darwin-amd64 gs://minikube/releases/
$RELEASE
/
```
## Create a Release in Github
## Create a Release in Github
Create a new release based on your tag, like
[
this one
](
https://github.com/kubernetes/minikube/releases/tag/v0.2.0
)
.
Create a new release based on your tag, like
[
this one
](
https://github.com/kubernetes/minikube/releases/tag/v0.2.0
)
.
Upload the files, and calculate checksums.
Upload the files, and calculate
d
checksums.
## Upload the releases.json file to GCS
## Upload the releases.json file to GCS
...
...
deploy/minikube/schema.json
浏览文件 @
e88306d1
...
@@ -6,10 +6,28 @@
...
@@ -6,10 +6,28 @@
"properties"
:
{
"properties"
:
{
"name"
:
{
"name"
:
{
"type"
:
"string"
"type"
:
"string"
},
"checksums"
:
{
"type"
:
"object"
,
"properties"
:
{
"windows"
:
{
"type"
:
"number"
,
"pattern"
:
"^[A-Fa-f0-9]{64}$"
},
"darwin"
:
{
"type"
:
"number"
,
"pattern"
:
"^[A-Fa-f0-9]{64}$"
},
"linux"
:
{
"type"
:
"number"
,
"pattern"
:
"^[A-Fa-f0-9]{64}$"
}
},
"required"
:
[
"windows"
,
"darwin"
,
"linux"
]
}
}
},
},
"required"
:
[
"required"
:
[
"name"
"name"
]
]
}
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录