Commit Graph

155 Commits (9b2dd165b375c2db0d7b2755dd63f60f359e30d0)

Author SHA1 Message Date
Matt Rickard e52adec5bc Revert "Add netgo to localkube build"
This reverts commit dc8abed571.
2017-08-19 16:28:52 -07:00
Matt Rickard a599beb739 Merge pull request #1829 from r2d4/netgo
Add netgo to localkube build
2017-08-16 20:35:06 -07:00
Aaron Prindle 19a8aa30b8 Merge pull request #1750 from aaron-prindle/localkube-dind-container
Add additional localkube-dind docker image.
2017-08-16 15:39:30 -07:00
Aaron Prindle 20f99fc500 Add additional localkube-dind docker image. 2017-08-16 15:30:07 -07:00
Matt Rickard dc8abed571 Add netgo to localkube build
ref https://github.com/google/cadvisor/pull/1719
2017-08-16 11:51:39 -07:00
dlorenc fa04ef7b37 Bump the iso to v0.23.1. 2017-08-01 14:52:15 -07:00
Matt Rickard 2fd3557bfa Merge pull request #1746 from r2d4/secondary-expansion
Use secondary expansion in OS-templated rules
2017-07-26 19:33:47 -07:00
Matt Rickard 6caa9c7106 Cut v0.21.0 release 2017-07-25 15:58:44 -07:00
Matt Rickard d393211ce1 Use secondary expansion in OS-templated rules
https://www.gnu.org/software/make/manual/make.html#Secondary-Expansion

This allows us to have conditional targets for our tar command.  I also
simplified the makefile rule for `out/minikube-%-amd64` by not caring
to force uppercase on the variables, since the official makefile docs
seem to not care about it.
2017-07-25 11:41:57 -07:00
Aaron Prindle c9113b0908 Merge pull request #1726 from aaron-prindle/tar
Added tar makerule and jenkins build/upload
2017-07-24 15:16:37 -07:00
Aaron Prindle 6ef837f9c6 Added tar makerule and jenkins build/upload 2017-07-24 15:16:03 -07:00
Matt Rickard b3d68f505e Merge pull request #1737 from r2d4/right-gopath
Add a warning when building minikube out of gopath
2017-07-24 14:23:58 -07:00
Matt Rickard 19ac090fb1 Add a warning when building minikube out of gopath
We could add an error here, but some users might have a use case for
building it outside their gopath?
2017-07-24 11:20:28 -07:00
Matt Rickard 42897e4fa0 Bump iso version to 0.23.0 2017-07-19 14:30:44 -07:00
Matt Rickard 1c06d18e7d Merge pull request #1693 from r2d4/k8s-1.7-rebase
Upgrade to k8s-v1.7
2017-07-14 08:55:13 -07:00
Matt Rickard ca0b5504b3 Update makefile for 1.7 2017-07-13 09:19:35 -07:00
Matt Rickard 96b61f190b Fix darwin native build
The cross build container we use for darwin needs two extra environment
variables to invoke specific C and CPP compilers.  These aren't needed
and won't work natively on darwin, so only pass them in for docker
builds.
2017-07-13 09:01:43 -07:00
Matt Rickard fb3c08547c Bump iso version to v0.22.0 2017-07-12 15:30:51 -07:00
dlorenc b031728afa Bump the ISO to v0.21.0 2017-07-05 17:25:15 -07:00
Matt Rickard 93a474e541 Merge pull request #1656 from r2d4/docker-build
Do dockerized builds for minikube and localkube
2017-06-29 15:24:08 -07:00
Matt Rickard 3ffc1e7b7f Add option to build minikube, localkube in docker
BUILD_IN_DOCKER=y will build both localkube and minikube in docker
LOCALKUBE_BUILD_IN_DOCKER=y, MINIKUBE_BUILD_IN_DOCKER=y will toggle
docker builds for each respective binary

Regardless of the options provided, if you attempt to build localkube on
a non-linux platform, it will run in docker.  This ensures that `make`
still works as expected on darwin.
2017-06-29 11:24:51 -07:00
Justin W. Flory 868052f5aa
Use a more clear variable name for ISO building 2017-06-27 16:28:50 -05:00
Justin W. Flory fa40c7cfd0
Add optional parameter variable to `docker build` in Makefile 2017-06-27 16:13:42 -05:00
Matt Rickard 31d943e753 Merge pull request #1617 from r2d4/remove-fake-gopath
Remove fake _gopath
2017-06-21 15:47:10 -07:00
Matt Rickard 08e009f560 Remove fake _gopath
Don't symlink into fake gopath, just use normal gopath.  This removes a
lot of the misleading warning messages from building minikube
2017-06-21 15:07:34 -07:00
Matt Rickard 5a9b4ab58e Cut 0.20.0 Release
Fix build version to be 0 instead of 1
2017-06-21 13:00:37 -07:00
Matt Rickard 9abfb51865 Cut 0.20.0 Release 2017-06-21 11:36:34 -07:00
Matt Rickard f28762d7c7 Kubernetes 1.7 requires >= go1.8
Bump travis and bump darwin cross build container image
2017-06-20 10:10:18 -07:00
dlorenc 968f24e43c Bump ISO to 0.20.0 2017-06-16 15:09:53 -07:00
Budh Ram Gurung 96cb95bdfd Fix typo, grammar, punctuations and formatting 2017-06-16 17:56:51 +05:30
Nick Kubala 5d66ac22f0 use go build tag over make flag 2017-06-13 10:28:19 -07:00
Nick Kubala 13395a067d add integration-versioned make rule to run certain integration tests on all supported k8s versions 2017-06-13 10:28:19 -07:00
dlorenc 00d3f1e5fa Bump the ISO to 0.19.1 2017-06-09 08:54:48 -07:00
Aaron Prindle a06a8422d9 Cut v0.19.1 release 2017-05-30 13:02:57 -07:00
Matt Rickard 7602eeda4f Add script to automate localkube upgrades 2017-05-11 13:30:33 -07:00
Aaron Prindle d5556bf6a2 Cut 0.19.0 release 2017-05-09 15:34:43 -07:00
Matt Rickard 8d428a759c Fix release-iso makefile rule
Remove the dependency on cross from checksum.  This means that checksum
can be called without all binaries being built, but no checksums will
be generate for those binaries.
2017-05-04 17:19:06 -07:00
Matt Rickard 3e328c8e3a Move gen_helptext out of top level
Output docs to out/docs instead of ./docs since we have real
documentation in that folder now.
2017-05-03 15:30:27 -07:00
Thomas Graf 23660cb1bb minikube-iso: Use buildroot branch 2017-02 (#1412)
This rebases minikube-iso to the release 2017-02.

A change in buildroot required the introduction of a `external.desc` as
multiple external trees are supported in modern buildroot versions. This
required change is described here [0].

[0] https://buildroot.org/downloads/manual/manual.html#br2-external-converting

The existing isolinux.cfg was not included in the config and thus
ignored, include it.

The 4.9.13 kernel included in buildroot 2017-02 is not compatible with
VBox guest additions 5.1.6, thus bump guest additions to 5.1.18.

The defconfig of 4.9.13 has been cleaned up.

systemd 232 included in buildroot 2017-02 is incompatible with docker <
17.03 without boot parameter systemd.legacy_systemd_cgroup_controller=yes

Signed-off-by: Thomas Graf <tgraf@suug.ch>
2017-05-03 08:25:01 -07:00
Matt Rickard 1fa9594252 Add static_build tag for localkube
Fixes https://github.com/kubernetes/minikube/issues/1422

godbus requires the static_build tag when building.  Normal static
compliation doesn't add this go build tag automatically.
2017-05-01 15:34:54 -07:00
Matt Rickard 9392dd6273 Makefile checksum rule should target cross 2017-04-07 15:21:26 -07:00
Matt Rickard 0aefb48f5c Cut 0.18.0 release 2017-04-06 16:00:47 -07:00
Maxime Vidori eacc326765 Dockerized build:
$ make buildroot-image
	$ make out/minikube.iso

- Add en entry in the Makefile for building the container: buildroot-image
- Modify the minikube-iso target to out/minikube.iso to comply with the way
makefiles work.
- Also force the use of a docker container. If not needed
just run IN_DOCKER=1 make out/minikube.iso to avoid the invokation of a docker
container.
- Add some doc.
- The tag added to the generated image will allow to bypass the build of the
image as soon as the container is pushed to the minikube registry.
2017-03-24 13:41:02 +01:00
Matt Rickard 58f9b97b60 Bump version 0.17.1 2017-03-02 17:26:04 -08:00
Matt Rickard a8fcc49f41 Merge pull request #1208 from r2d4/0.17
Bump minikube to 0.17
2017-03-02 14:28:28 -08:00
Matt Rickard 830f1283f6 Bump minikube iso to v1.0.7 2017-03-02 13:49:46 -08:00
Matt Rickard ae9c94b8e5 Bump minikube to 0.17 2017-03-02 13:14:39 -08:00
Matt Rickard 5b58902ce6 Merge pull request #1178 from r2d4/mac-in-docker
Cross compile mac binary with CGO in docker
2017-02-24 14:01:25 -08:00
Matt Rickard 941cd51ba8 Rebuild assets on any change in deploy/addons
This makefile dependency is currently only on the folder, not the files
within.  With this PR, the makefile will rebuild the assets when
changes are made to deploy/addons
2017-02-24 11:46:42 -08:00
Matt Rickard d3b4278028 Cross compile mac binary with CGO in docker 2017-02-24 11:03:30 -08:00