Commit Graph

191 Commits (d5316c21ef0603cc5e858284e7786e7647cb307f)

Author SHA1 Message Date
Johan Euphrosine 29c4fd6bb3 build: add KUBE_BUILD_GOLANG_VERSION 2014-10-22 16:52:20 -07:00
Joe Beda a7aa41b3c0 Script to do an "official" release push to GCS. 2014-10-21 19:50:04 -07:00
Johan Euphrosine d5e7ddb428 build: fix golang pull message 2014-10-21 15:24:36 -07:00
Johan Euphrosine 6452b0fe97 build: add kube-build:cross base 2014-10-21 15:19:05 -07:00
Joe Beda e48cbb2296 Fix boot2docker with /User mapping.
Fixes #1856

Based on #1858 from @nyaxt.
2014-10-17 23:29:05 -07:00
Brendan Burns ed0b94de5a Fix the build w/ docker 1.3.0 on OS X 2014-10-17 23:22:48 -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
Vojtech Vitek (V-Teq) b1b9dcc737 Fix OS X build
- Use $(uname) instead of $OSTYPE
- Fix shebang
- Fix typo

Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-10-14 17:13:13 +02:00
Joe Beda 5df3f54204 Hook 'build/make-clean.sh' into 'make clean' in Makefile 2014-10-11 07:34:22 -07:00
Joe Beda 999aa0f31c One more time.
Basic idea is to clean out the root owned stuff from with the docker build container.
2014-10-10 14:14:37 -07:00
Joe Beda 336cb68e4f Fix things for real this time.
Bash quoting is hard.
2014-10-10 14:12:28 -07:00
Joe Beda 500c77a38e Clean out _output directory from within docker.
This is necessary as some files might be owned by root.
2014-10-10 13:53:06 -07:00
Joe Beda 5f12245d6c Make 'build' commands work with non-interactive shells.
Tested that both './build/release.sh < /dev/null' and './build/shell.sh' work.
2014-10-10 13:35:10 -07:00
Joe Beda 272b9306c4 Uniquify docker names
If you have two repos that are both building at the same time we don't want to have them stomp on each other as they deal with docker.  Work around this by hashing the KUBE_ROOT and mixing that in to the name.
2014-10-10 12:36:58 -07:00
Joe Beda eab54ab000 Apply SELinux policy to _output dir so "build in docker" works on RHEL. 2014-10-10 12:36:58 -07:00
Joe Beda b00f045bd3 Confirm pull of golang:cross as it is huge (1.8G) 2014-10-10 12:36:57 -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 29e42991c2 Update build/README.md 2014-10-10 12:30:12 -07:00
Joe Beda 7a2d8fd01a GCS uploads as part of release are now marked public and non-cached by default. 2014-10-10 12:30:12 -07:00
Joe Beda 881cf80182 Vagrant now using pre-built binaries. 2014-10-10 12:30:12 -07:00
Joe Beda 15cd6f07d6 Use binary releases for cluster push scripts.
This is for GCE right now.  Other clouds/clusters are probably broken.
2014-10-10 12:30:11 -07:00
Johan Euphrosine 44dce00f04 build: add kubelet image 2014-10-08 17:54:52 -07:00
Joe Beda 90f7bfa4f1 Build separate various binary tarballs.
Also a bunch of script clean up.  Make make-clean.sh faster and more robust.

Building the docker run images and uploading to GCS are now optional and turned off by default. Doing a release shouldn't hit the network now (I think).
2014-09-16 09:58:09 -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 ec8ede9354 Refactor GCS parts of new release process 2014-09-09 13:53:40 -07:00
Joe Beda 233765967b Namespace bash functions under build 2014-09-08 09:35:03 -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
Brian Waldon 6b0b4f8522 Add plugin/ to build dir 2014-08-27 17:43:24 -07:00
Joe Beda 76baaa15b2 Fix up not-yet-ready build/... stuff for godep 2014-08-18 17:03:43 -07:00
Jeff Mendoza d0828f4926 Silence some noise.
Silence benign errors in bash scripts.
2014-07-10 14:21:23 -07:00
Daniel Smith c97c514742 Rename cloudcfg to kubecfg 2014-06-25 18:01:37 -07:00
Joe Beda 866cad9bd9 Build platform specific tarballs and upload them to the release directory. 2014-06-20 15:19:01 -07:00
Joe Beda 96f8cd3761 jbeda/docker-registry -> google/docker-registry 2014-06-20 11:17:08 -07:00
Joe Beda 0376098ee1 Reorganize build script file for clarity 2014-06-20 11:08:50 -07:00
Joe Beda 8d1913b5f4 Expand `build/README.md`. 2014-06-20 10:51:50 -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