Commit Graph

120 Commits (9377448667db30c98166959390c422691ab8fc6a)

Author SHA1 Message Date
Chao Xu 7e92025cfd stick to 2.2.1 etcd 2016-09-09 16:35:05 -07:00
Daniel Smith 279219ca89 Use etcd 2.3.7 (container already pushed) 2016-09-09 09:45:53 +02:00
Aaron Levy 17c5ea9c37 bump kube-cross image version 2016-09-08 11:22:55 -07:00
Timothy St. Clair a0d177ca71 Update core etcd references to use 3.0.4 2016-08-12 13:39:07 -05:00
Timothy St. Clair 456c43c22d Update to shift etcd 2.2 references to use 3.0.3 2016-08-09 08:51:15 -05:00
Tim Hockin 3b1407af70 Add goimports to the cross build 2016-08-05 22:58:57 -07:00
Jeff Grafton b03784934d Add go-bindata to the cross-build image 2016-08-03 11:09:55 -07:00
Jess Frazelle a333cf429a update go to 1.6.3
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-07-18 16:29:46 -04:00
Tim Hockin 881e21c2d5 Link _output/bin/ to real binaries for this arch
This makes followup commits easier wrt finding binaries during build.
2016-07-12 21:52:00 -07:00
Madhusudan.C.S 5f01e8d335 Give sufficient permissions to kube-version-defs file to be able to source it during build. 2016-07-06 14:41:15 -07:00
Tim Hockin ac75bd11cf Run builds as the calling user
This means no 'sudo' is needed to copy files out.
2016-07-03 00:36:20 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Tim Hockin 92da8e6f1c Make it possible to use kube-cross as non-root
The extra TMPDIR was not writable except as root.  This is not the only fix
needed for this goal, but is necessary.
2016-05-10 10:06:56 -07:00
Joe Finney 009ea19bf6 Up to go 1.6.2. 2016-04-22 14:21:52 -07:00
Lucas Käldström c7233ab824 Fix so make == make push in the kube-cross Makefile 2016-04-21 00:05:02 +03:00
Lucas Käldström 4559a84d3b Build Kubernetes, etcd and flannel for arm64 and ppc64le 2016-04-14 07:29:10 +03:00
k8s-merge-robot 4f329516ae Merge pull request #22149 from luxas/onedotsix
Automatic merge from submit-queue

Up to golang 1.6

A second attempt to upgrade go version above `go1.4`
Merge ASAP after you've cut the `release-1.2` branch and feel ready.
`go1.6` should perform slightly better than `go1.5`, so this time it might work
@gmarek @wojtek-t @zmerlynn @mikedanese @brendandburns @ixdy @thockin
2016-04-05 13:26:18 -07:00
Lucas Käldström 2928d0a8ec Up to golang 1.6 2016-03-27 17:17:04 +03:00
mfanjie d433632cd2 add proxy settings for vagrant 2016-03-07 09:57:26 +08:00
Mike Danese f3b9fa62d6 push kube-cross to gcr.io
And do as much of the build setup work in it as possible.
2016-02-16 10:05:46 -08:00
k8s-merge-robot fc3316ee1b Merge pull request #20398 from mfanjie/mfanjie-patch-1
Auto commit by PR queue bot
2016-02-09 22:55:18 -08:00
Lucas Käldström c969c041e2 Add support for building arm, arm64 and ppc64le server and client targets 2016-02-07 20:35:14 +02:00
fmeng ef42dad78e update proxy settings for kubernetes build. 2016-02-04 17:38:07 +08:00
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