Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
729f9b81
Commit
729f9b81
authored
Oct 10, 2016
by
Adam Reese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(ci): limit cross build targets
Limit cross builds to linux/amd64 linux/386 darwin/amd64
parent
b7abaa37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
Makefile
Makefile
+8
-10
No files found.
Makefile
View file @
729f9b81
DOCKER_REGISTRY
?=
gcr.io
IMAGE_PREFIX
?=
kubernetes-helm
SHORT_NAME
?=
tiller
TARGETS
=
darwin/amd64 linux/amd64 linux/386
DIST_DIRS
=
find
*
-type
d
-exec
# go option
GO
?=
go
...
...
@@ -12,7 +14,6 @@ LDFLAGS :=
GOFLAGS
:=
BINDIR
:=
$(CURDIR)
/bin
BINARIES
:=
helm tiller
DIST_DIRS
:=
find
*
-type
d
-exec
.PHONY
:
all
all
:
build
...
...
@@ -24,7 +25,7 @@ build:
# usage: make build-cross dist VERSION=v2.0.0-alpha.3
.PHONY
:
build-cross
build-cross
:
gox
-output
=
"_dist/{{.OS}}-{{.Arch}}/{{.Dir}}"
-os
=
"darwin linux windows"
-arch
=
"amd64 386"
$(GOFLAGS)
-tags
'
$(TAGS)
'
-ldflags
'
$(LDFLAGS)
'
k8s.io/helm/cmd/helm
gox
-output
=
"_dist/{{.OS}}-{{.Arch}}/{{.Dir}}"
-os
arch
=
'
$(TARGETS)
'
$(GOFLAGS)
-tags
'
$(TAGS)
'
-ldflags
'
$(LDFLAGS)
'
k8s.io/helm/cmd/helm
.PHONY
:
dist
dist
:
...
...
@@ -32,18 +33,15 @@ dist:
cd
_dist
&&
\
$(DIST_DIRS)
cp
../LICENSE
{}
\;
&&
\
$(DIST_DIRS)
cp
../README.md
{}
\;
&&
\
$(DIST_DIRS)
tar
-zcf
helm-
${
VERSION
}
-
{}
.tar.gz
{}
\;
&&
\
$(DIST_DIRS)
zip
-r
helm-
${
VERSION
}
-
{}
.zip
{}
\;
\
$(DIST_DIRS)
tar
-zcf
helm-
${
GIT_TAG
}
-
{}
.tar.gz
{}
\;
&&
\
$(DIST_DIRS)
zip
-r
helm-
${
GIT_TAG
}
-
{}
.zip
{}
\;
\
)
.PHONY
:
checksum
checksum
:
(
\
cd
_dist
&&
\
for
f
in
./
*
.
{
tar.gz,zip
}
;
do
\
shasum
-a
256
"
$$
{f}"
|
awk
'{print $$1}'
>
"
$$
{f}.sha256"
;
\
done
\
)
for
f
in
_dist/
*
.
{
gz,zip
}
;
do
\
shasum
-a
256
"
$$
{f}"
|
awk
'{print $$1}'
>
"
$$
{f}.sha256"
;
\
done
.PHONY
:
check-docker
check-docker
:
...
...
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