Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
61639898
Commit
61639898
authored
Jul 28, 2014
by
brendandburns
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #643 from zhgwenming/build
Use 'go install' instead of 'go build' to generate all commands at the same time.
parents
d558a93a
0375709f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
7 deletions
+10
-7
.gitignore
.gitignore
+3
-0
kubecfg.sh
cluster/kubecfg.sh
+1
-1
build-go.sh
hack/build-go.sh
+1
-4
config-go.sh
hack/config-go.sh
+3
-0
integration-test.sh
hack/integration-test.sh
+1
-1
local-up-cluster.sh
hack/local-up-cluster.sh
+1
-1
No files found.
.gitignore
View file @
61639898
...
...
@@ -25,3 +25,6 @@
# Version file we automatically make
/pkg/version/autogenerated.go
# compiled binaries in third_party
/third_party/pkg
cluster/kubecfg.sh
View file @
61639898
...
...
@@ -19,7 +19,7 @@
source
$(
dirname
$0
)
/kube-env.sh
source
$(
dirname
$0
)
/
$KUBERNETES_PROVIDER
/util.sh
CLOUDCFG
=
$(
dirname
$0
)
/../output/go/kubecfg
CLOUDCFG
=
$(
dirname
$0
)
/../output/go/
bin/
kubecfg
if
[
!
-x
$CLOUDCFG
]
;
then
echo
"Could not find kubecfg binary. Run hack/build-go.sh to build it."
exit
1
...
...
hack/build-go.sh
View file @
61639898
...
...
@@ -31,7 +31,4 @@ if [ $# -gt 0 ]; then
BINARIES
=
"
$@
"
fi
for
b
in
${
BINARIES
}
;
do
echo
"+++ Building
${
b
}
"
go build
"
${
KUBE_GO_PACKAGE
}
/
${
b
}
"
done
go
install
$(for
b
in
$BINARIES
;
do
echo
"
${
KUBE_GO_PACKAGE
}
"
/
${
b
}
;
done)
hack/config-go.sh
View file @
61639898
...
...
@@ -61,4 +61,7 @@ KUBE_GO_PACKAGE_DIR="${GOPATH}/src/${KUBE_GO_PACKAGE}"
rm
"
${
KUBE_GO_PACKAGE_DIR
}
"
>
/dev/null 2>&1
||
true
ln
-s
"
${
KUBE_REPO_ROOT
}
"
"
${
KUBE_GO_PACKAGE_DIR
}
"
)
# unset GOBIN in case it already exsit in the current session
unset
GOBIN
export
GOPATH
=
"
${
KUBE_TARGET
}
:
${
KUBE_REPO_ROOT
}
/third_party"
hack/integration-test.sh
View file @
61639898
...
...
@@ -38,6 +38,6 @@ ETCD_PID=$!
sleep
5
$(
dirname
$0
)
/../output/go/integration
$(
dirname
$0
)
/../output/go/
bin/
integration
kill
$ETCD_PID
hack/local-up-cluster.sh
View file @
61639898
...
...
@@ -50,7 +50,7 @@ API_PORT=${API_PORT:-8080}
API_HOST
=
${
API_HOST
:-
127
.0.0.1
}
KUBELET_PORT
=
${
KUBELET_PORT
:-
10250
}
GO_OUT
=
$(
dirname
$0
)
/../output/go
GO_OUT
=
$(
dirname
$0
)
/../output/go
/bin
APISERVER_LOG
=
/tmp/apiserver.log
${
GO_OUT
}
/apiserver
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment