Commit Graph

47 Commits

Author SHA1 Message Date
Michael Vorburger ⛑️
2f2de85740
link scripts in build/README.md
This makes it easier to click through and learn what these do, for someone getting started browsing this developer doc.
2019-06-14 13:43:52 +02:00
mooncake
43fa73557b Fix typos of readme.md 2018-10-08 23:06:07 +08:00
Mikalai Radchuk
4685f91018 Adds a build example with KUBE_BUILD_PLATFORMS 2018-07-20 20:49:07 +01:00
William Zhang
fc0d2d0009
The shell script shoud be "build/shell.sh"
The shell script shoud be "build/shell.sh"
2018-06-21 09:22:35 +00:00
Kubernetes Submit Queue
9939f709e4
Merge pull request #62227 from ixdy/document-source-date-epoch
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add documentation around build reproducibility and SOURCE_DATE_EPOCH

**What this PR does / why we need it**: makes some of our notes about reproducibility a bit more discoverable.

**Release note**:

```release-note
NONE
```

/assign @BenTheElder
2018-04-06 18:21:43 -07:00
Jeff Grafton
67b697073e Add documentation around SOURCE_DATE_EPOCH 2018-04-06 17:00:50 -07:00
Ian Chakeres
8f3fc36ae6 Update memory required to build kubernetes on osx to 4.5G 2018-04-06 15:10:19 -07:00
Patrik Erdes
0f98dd0950 Change 'Mac OS X' to 'macOS' in build/README.md
Mac OS X was renamed to OS X in 2012, and then renamed again to macOS in 2016.
I suggest that the current name should be used when referencing the Apple OS.
2018-04-05 22:16:38 +02:00
Mike Danese
5f9735de53 cluster: delete saltbase
and don't build kubernetes-salt.tar.gz
2018-01-16 09:59:29 -08:00
Ming Zhao
e391509f81 Update build requirements 2017-08-04 14:01:34 -07:00
Jeff Grafton
27d096d27d Rename build-tools/ back to build/ 2016-12-14 13:42:15 -08:00
Mike Danese
27116c6818 rename build/ to build-tools/ 2016-10-24 14:41:56 -07:00
Joe Beda
d955f54918 Remove unused bash variables 2016-10-03 19:42:22 -07:00
Joe Beda
dc586ea8f7 Use rsync to get source into build container
We also add "version" to all docker images and containers

This version is to be incremented manually when we change the shape of the build
image (like changing the golang version or the set of volumes in the data
container).  This will delete all older versions of images and containers when
the version is different.
2016-10-03 19:42:20 -07:00
Joe Beda
17454a04ac Remove support for boot2docker 2016-10-03 19:42:20 -07:00
Yong Tang
e939dd3776 Update build docs to include path for scripts.
This fix updates the build docs to include the path of `build/` for
shell scripts. The reason is that while trying to follow the `build/README.md`,
it is not obvious that all the scripts, e.g., `run.sh make`, `shell.sh`,
etc. needs to be executed from the root directory (vs. executed from the
`build/` directory). In other words,
the executation should be:
```
build/run.sh make
build/make-clean.sh
...
```

This fix adds `build/` so that it is easy for user to follow the steps.
2016-08-25 20:41:48 +00:00
Tim Hockin
9613e15801 Make releases work 2016-07-12 21:52:54 -07:00
Tim Hockin
faeef5c4ae Use make as the main build tool
This allows us to start building real dependencies into Makefile.

Leave old hack/* scripts in place but advise to use 'make'.  There are a few
rules that call things like 'go run' or 'build/*' that I left as-is for now.
2016-07-12 21:52:00 -07:00
k8s-merge-robot
90c02c6d96 Merge pull request #24813 from duglin/AddBuildPath
Automatic merge from submit-queue

Make it clear where the `build` scripts are located


Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-05-09 15:03:12 -07:00
Doug Davis
2bf169b3d5 Make it clear where the build scripts are located
Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-04-26 11:43:38 -07:00
Doug Davis
231c4c8d9d Fix indentation of Note
Signed-off-by: Doug Davis <dug@us.ibm.com>
2016-04-26 11:22:20 -07:00
mfanjie
d433632cd2 add proxy settings for vagrant 2016-03-07 09:57:26 +08:00
fmeng
ef42dad78e update proxy settings for kubernetes build. 2016-02-04 17:38:07 +08:00
Mike Lyons
e95406655f added note about /tmp/ make
as recommended by @fabioy
2015-09-29 16:25:06 -07:00
Jonathan Boulle
61741e094b build: fix link syntax in README 2015-09-23 11:21:21 -07:00
Kel Cecil
c4124d377f Reword introduction and requirements 2015-08-26 22:21:29 -04:00
Mike Danese
fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
BenTheElder
c86306f889 Update building docs to note memory requirements for boot2docker. 2015-07-30 19:19:33 -04:00
Brendan Burns
9e198a6ed9 Purge cluster/kubectl.sh from nearly all docs.
Mark cluster/kubectl.sh as deprecated.
2015-06-09 13:35:52 -07:00
Jeff Lowdermilk
553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Victor HU
e083fd3d44 Doc on proxy settings
Add doc on how to set proxy while building kubernetes in container.
2015-01-11 00:31:50 +00:00
Brendan Burns
93776b1363 Remove kubecfg from all getting started docs. 2015-02-04 23:20:11 -08:00
Joe Beda
f1fed3bcfc Remove support for building "run containers".
This was untested, broken and largely unused.

Related to #12 and #2455#issuecomment-68803245.
2015-01-05 16:26:28 -08:00
Maxwell Forbes
8d32faad29 Make slashes always appended to buckets to avoid forgetting them. 2014-11-11 23:16:04 +00: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
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
b00f045bd3 Confirm pull of golang:cross as it is huge (1.8G) 2014-10-10 12:36:57 -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
843ae1fbe2 Rename output/ directory to _output/
go build ./... will ignore any directory starting with an underscore.
2014-08-29 14:44:55 -07:00
Jonathan Boulle
c43035088b assorted formatting and typo fixes 2014-07-24 15:10:36 -07:00
Daniel Smith
05f01a3654 Revert "assorted formatting and typo fixes" 2014-07-18 17:16:30 -07:00
Jonathan Boulle
9e63c3a633 assorted formatting and typo fixes 2014-07-18 13:02:59 -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
8d1913b5f4 Expand build/README.md. 2014-06-20 10:51:50 -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