Commit Graph

66 Commits

Author SHA1 Message Date
Maxwell Forbes
c85218f915 Force trailing slash for bucket names on 0.4 branch. 2014-11-11 23:28:55 +00:00
Joe Beda
0f91786198 Upload extra artifacts with build
(cherry picked from commit 8ffa1f6657)
2014-11-10 16:00:50 -08:00
Joe Beda
f969d9810b Don't include '.' in release tars.
Also make ownership, by default, be root.  This won't work on systems that don't have GNU tar so we warn.

Fixes: #1902
(cherry picked from commit 33869ab644)
2014-10-30 13:29:26 -07:00
Joe Beda
b729bb033d Fix boot2docker with /User mapping.
Fixes #1856

Based on #1858 from @nyaxt.

(cherry picked from commit e48cbb2296)

Conflicts:
	build/common.sh
2014-10-27 16:50:31 -07:00
Ryan Richard
41521df489 Remove extra newline and update comments in util.sh
(cherry picked from commit d513854851)
2014-10-27 16:49:07 -07:00
Ryan Richard
b35513a323 Migrate Rackspace upload scripts to util.sh
The functions to upload built k8s tars to Cloud Files were incorrectly
placed in build/common.sh. These have been migrated to
cluster/rackspace/util.sh

(cherry picked from commit a26aefaa2e)
2014-10-27 16:49:03 -07:00
Ryan Richard
f9d23e63c8 remove hardcoded cloudfiles path and fix PORTAL_NET
(cherry picked from commit 0bfb5ae772)
2014-10-27 16:48:59 -07:00
Ryan Richard
8adf3638e9 Add Rackspace to build/release.sh
Updates to the build/release.sh scripts to upload build binaries to
Cloud Files.

(cherry picked from commit f2838483a1)
2014-10-27 16:48:53 -07:00
Ryan Richard
61482d8c80 Rackspace - Switch to CoreOS for standard cluster
The Rackspace setup for Kubernetes now leverages CoreOS instead of Ubuntu. We've dropped Salt completely for our cluster.

(cherry picked from commit a8bae68865)
2014-10-27 16:48:24 -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
b2395c76f2 Have build/make-cross.sh copy binaries back over if using boot2docker.
Also clarified error message in cluster/kubecfg.sh.
2014-10-11 07:24:12 -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
1c257cb8db Option in build/release.sh to skip tests for a quicker dev/test cycle. 2014-10-10 12:36:57 -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
38d5906044 Clean up READMEs and broken stuff.
Move all support for clouds that are broken with this change into an `icebox` directory.  We'll move that stuff back out as we fix it up.
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
428a653ffb Normalize some of the boilerplate in each of the build commands. 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
4aac80c9c5 Remove unused manifest file 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
Joe Beda
57567aed40 Merge pull request #1671 from proppy/kubelet-docker
build: add kubelet image
2014-10-09 10:10:37 -07:00
Johan Euphrosine
44dce00f04 build: add kubelet image 2014-10-08 17:54:52 -07:00
Johan Euphrosine
7a2491f2ac build: fix controller-manager command line 2014-10-08 17:48:02 -07:00
Victor Marmol
9b747c3a9d Add a signal handler to pause.
It returns 0 when a signal is received.
2014-10-03 08:36:08 -07:00
Johan Euphrosine
d728d00233 build-image: use golang:cross 2014-09-29 11:10:05 -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
90a9cb3aa1 Only build pause.go under linux.
This makes `godep go build ./...` work.
2014-08-29 14:44:59 -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
Robert Bailey
f745678f80 Style tweaks to clean up hello.go. 2014-08-17 22:43:39 -07:00
derekwaynecarr
8c07a0f524 Fix verify-boilerplate 2014-08-15 13:12:01 -05:00
derekwaynecarr
3fa4554e5f Add smallest image possible to use for e2e-testing 2014-08-14 13:14:13 -04:00
Daniel Smith
ab24790e8f Fix go files with wrong boilerplate 2014-08-12 17:48:00 -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