Commit Graph

197 Commits

Author SHA1 Message Date
k8s-merge-robot
dbd7b83d93 Merge pull request #20545 from pmorie/boilerplate
Auto commit by PR queue bot
2016-02-03 19:46:26 -08:00
Paul Morie
b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Zach Loafman
54a9241605 Revert "Up to golang 1.5.3"
This reverts commit d26f4e1583.
2016-02-03 11:44:30 -08:00
Jeff Lowdermilk
d4e2e71b80 Merge pull request #19537 from mesosphere/jdef_fix_dockerfile_dir_suffix
ADDing to a dir should suffix the dir with /
2016-02-01 10:20:16 -08:00
Zach Loafman
07c304b43d build: Use Go version in cross image tag
The new tag format is cross-<go version>-<cross version>, starting
with cross-1.5.3-1.

Also bump the image we pre-pull / warn-on to 1.5.3

Fixes #19990
2016-01-22 11:45:41 -08:00
Lucas Käldström
d26f4e1583 Up to golang 1.5.3 2016-01-22 08:21:52 +02:00
Alex Mohr
12ecd67c01 Merge pull request #19703 from smarterclayton/add_protobuf
Install protoc into kube-cross Docker image
2016-01-21 14:59:41 -08:00
Isaac Hollander McCreery
e95dd01a53 Pin golang build to 1.4.2 instead of floating on 1.4 2016-01-19 17:08:34 -08:00
Clayton Coleman
13acd621a8 Install protoc into kube-cross Docker image 2016-01-15 11:47:05 -05:00
Marek Grabowski
e26f25f57b Revert "Add protobuf to the kube build image" 2016-01-15 17:36:14 +01:00
James DeFelice
9b8651e7fd ADDing to a dir should suffix the dir with / 2016-01-12 16:26:24 +00:00
Clayton Coleman
d12bbe0da9 Add protobuf to the kube build image 2016-01-06 22:34:18 -05:00
Joe Beda
993c1ee222 Update etcd to 2.2.1 2015-11-04 12:26:57 -08:00
Jeff Grafton
fbd58294b2 Update test helpers and dev doc to use etcd v2.0.12. 2015-10-13 16:05:56 -07:00
Mike Danese
fb02b33e99 fix build 2015-08-05 17:52:56 -07:00
Zach Loafman
4122b20c23 Revert "Revert "release build broken on Docker 1.6"" 2015-05-11 10:15:27 -07:00
Zach Loafman
81d8ab32ba Revert "release build broken on Docker 1.6" 2015-05-11 10:08:17 -07:00
Clayton Coleman
6a86c48207 release build broken on Docker 1.6
By default, tmpfs on Docker 1.6 is 64mb which is too
small for Go builds on the Kube project (binary size, etc).

This moves the release build to use a non tmpfs work dir.
2015-05-07 18:20:15 -04:00
Zach Loafman
a660ecd962 Try to fix 'Release file is expired' complaints
Based on info from:
  http://unix.stackexchange.com/questions/2544/how-to-work-around-apts-release-file-expired-problem-on-a-local-mirror
2015-03-11 10:57:26 -07:00
Salvatore Dario Minonne
9a0e16a009 Fix dockerfile for etcd.2.0.0 2015-01-30 15:32:13 +01:00
Joe Beda
a735e2d160 Switch official builds to go 1.4.
This fixes #2894
2015-01-21 12:13:22 -08:00
Jeff Lowdermlk
cb517b3a4a Build win32 client binaries 2015-01-16 16:45:14 -08:00
mdshuai
98b1c7c72f Solve apt-get update 404 Not Found Package error 2014-12-23 12:52:46 +08:00
Dawn Chen
d70160de1c Revert "Switch to the new home for go cover." 2014-12-12 15:16:26 -08:00
Brendan Burns
3ebaa3c81c Switch to the new home for go cover. 2014-12-11 10:12:17 -08:00
Brendan Burns
4fa323e3da Add a windows client build. 2014-11-12 12:29:12 -08:00
Joe Beda
5d33ce46cc Rework hack/ and build/ directories.
* Rewrite a bunch of the hack/ directory with modular reusable bash libraries.
* Have 'build/*' build on 'hack/*'.  The stuff in build now just runs hack/* in a docker container.
* Use a docker data container to enable faster incremental builds.
* Standardize output to _output/{local,dockerized}/bin/OS/ARCH/*.  This regularized placement makes cross compilation work.
* Move travis specific scripts under hack/travis

With new dockerized incremental builds, I can do a no-op `make quick-release` in ~30s.  This is a significant improvement.
2014-11-01 17:56:41 -07:00
Daniel Smith
bfabb41604 New e2e script (in go this time) that doesn't completely suck 2014-10-23 11:03:30 -07:00
Johan Euphrosine
6452b0fe97 build: add kube-build:cross base 2014-10-21 15:19:05 -07:00
Johan Euphrosine
521f145fb5 build: switch to golang:1.3 and build go for KUBE_CROSSPLATFORMS 2014-10-21 15:13:20 -07:00
Joe Beda
3701c2ac0e Add kubectl to build/release scripts.
Also Refactor build helpers into client/cross and server/linux.  This make it easier to tell users what to build to get just the client binaries.
2014-10-15 16:50:17 -07:00
Joe Beda
96c1bc17ca Set shell options for reliability.
Tweak a few other small things in our shell scripts.
2014-10-10 12:33:36 -07:00
Joe Beda
d43a6ec5a3 Standardize how we refer to the kubernetes root.
Now use $KUBE_ROOT as the variable pretty much everywhere.
2014-10-10 12:33:36 -07:00
Joe Beda
881cf80182 Vagrant now using pre-built binaries. 2014-10-10 12:30:12 -07:00
Johan Euphrosine
d728d00233 build-image: use golang:cross 2014-09-29 11:10:05 -07:00
Joe Beda
ed5bfa2f0f Match shell style guide.
Looking at https://google-styleguide.googlecode.com/svn/trunk/shell.xml
2014-09-09 16:04:41 -07:00
Joe Beda
c5cb7202af Add support for versions in dockerized build. 2014-09-09 14:00:30 -07:00
Joe Beda
7fc3a6c050 Added scheduler binaries plus other misc fixes
* Support cleaning out built docker images
* Use bash arrays in places
* Lock etcd version we are testing against
2014-09-09 13:59:23 -07:00
Joe Beda
843ae1fbe2 Rename output/ directory to _output/
go build ./... will ignore any directory starting with an underscore.
2014-08-29 14:44:55 -07:00
Joe Beda
76baaa15b2 Fix up not-yet-ready build/... stuff for godep 2014-08-18 17:03:43 -07:00
Kelsey Hightower
777eec9e62 Build binaries using Go 1.3
Currently binaries are built using Go 1.2.2, which results
in larger binaries than those produced by newer versions of
Go. The Go source archive used for the build process is not
verified against its SHA1 hash.

Update the build-image Dockerfile to use Go 1.3 to build all
binaries, as a result binaries are now 20% - 30% smaller. The
Go source archive used for building binaries is now verified
against its SHA1 hash.
2014-07-26 09:57:03 -07:00
Clayton Coleman
f7948015bd The quotes around the file should not be necessary
In Go 1.2 on the Mac they result in a file created with actual
quotes.
2014-07-25 13:11:45 -04:00
Justin Huff
253a783365 Remove localkube 2014-06-26 11:52:23 -07:00
Daniel Smith
c97c514742 Rename cloudcfg to kubecfg 2014-06-25 18:01:37 -07:00
Joe Beda
4547cee6cb Build runtime Docker images.
Also added release process to push these images to GCS.
2014-06-20 10:51:50 -07:00
Joe Beda
4f63a690ee Support cross compilation.
Also add more utilities to copy and clean stuff.
2014-06-17 16:10:57 -07:00
Joe Beda
570ebf54a9 Build Kubernetes in Docker.
Scripts and Dockerfile to build a container image, build binaries, run tests, etc.  Also copy output back out to the host machine.
2014-06-17 14:52:38 -07:00