Thomas Strömberg
fe6e2b15e2
Merge pull request #4738 from josedonizetti/move-supported-drivers-per-platform
...
Move supported drivers per platform
2019-07-17 09:02:37 -07:00
Anders F Björklund
fa7fc3ba68
Build kvm image, if it doesn't exist in registry
...
docker://gcr.io/k8s-minikube/kvm-build-image:latest
2019-07-16 21:23:31 +02:00
Anders F Björklund
e7039051a5
Improve libvirt linking and check ABI version
...
Make sure that we don't link with libvirt 2.0.0+ by mistake.
Don't need to link the LXC library, as we are not using it.
2019-07-16 21:23:26 +02:00
Anders F Björklund
2fe7856719
Add proper docker target for building kvm driver
...
We should respect the MINIKUBE_BUILD_IN_DOCKER param,
and also make the "docker inspect" output less verbose
And make the windows target repeatable, by leaving the
original output binary (copy instead of move) behind
2019-07-16 21:23:21 +02:00
josedonizetti
2ed16a1198
Move supported drivers per platform
2019-07-16 15:06:55 -03:00
Anders Björklund
fccc77cacb
Merge pull request #4556 from afbjorklund/kvm2-packages
...
Add linux packaging for the kvm2 driver binary
2019-07-16 10:05:37 +02:00
Anders F Björklund
a1e1090422
Add linux packaging for the kvm2 driver binary
2019-07-14 09:28:27 +02:00
Anders F Björklund
8096a994ac
Create package index files, for apt and yum
...
But don't have any signing infrastructure yet
Need somewhere to store the private gpg keys.
2019-07-13 21:37:24 +02:00
Priya Wadhwa
1a49eecaf7
Upload gvisor-addon to integration tests bucket; build gvisor image from common.sh
2019-07-09 17:08:36 -07:00
Priya Wadhwa
d2e5a4b052
build gvisor image locally in integration tests; add temporary error to make sure that image is used
2019-07-09 12:46:57 -07:00
Anders F Björklund
801cd01ada
Make the go-bindata generated code pass gofmt -s
...
But don't abort the build if gofmt is not installed.
2019-07-04 22:57:05 +02:00
Anders F Björklund
c41dac7a21
Avoid lint warning with the generated translations
...
golint wants "Json" to be properly spelled as "JSON"
Note that the sed syntax varies between GNU and BSD.
2019-07-04 22:51:26 +02:00
Anders F Björklund
ab1c4e3cc0
Pass the git commit to the kvm docker build
...
Since there is no git in the build container
2019-07-02 19:51:38 +02:00
Jose Donizetti
4812761f05
Add gitCommitID to hyperkit version
2019-06-29 09:32:21 -03:00
josedonizetti
931a0a557b
Add hyperkit version
2019-06-29 09:22:51 -03:00
Jose Donizetti
8acf4824df
Add commit id to docker-machine-driver-kvm2 version
2019-06-28 13:45:54 -07:00
Pranav
d0488586bd
Makefile: add platform specific alias
2019-06-25 11:02:07 -07:00
Sharif Elgamal
37239ba83d
Merge pull request #4581 from sharifelgamal/translation-bindata
...
Add translation files into the minikube binary
2019-06-25 10:19:34 -07:00
Deepjyoti Mondal
8be917f0a5
Display commit id for minikube version
2019-06-25 10:12:55 -07:00
Sharif Elgamal
12bb8c5c25
Add translation files into the minikube binary
2019-06-24 15:15:01 -07:00
Anders Björklund
c7ea856d2a
Merge pull request #4557 from afbjorklund/golint
...
Add golint and gocyclo smaller make targets
2019-06-24 08:18:43 +02:00
Thomas Stromberg
76dfdb0269
Bump Makefile version to v1.2.0 to prepare for a release
2019-06-24 11:38:56 +08:00
Anders F Björklund
b9d23fa8f9
Add a gofmt make target that only checks
...
The standard "fmt" target will also rewrite
Add return code, by checking for empty output
2019-06-22 14:48:15 +02:00
Anders F Björklund
cc0a1298d9
Add golint and gocyclo smaller make targets
...
Also fix the broken fmt and reportcard ones:
Recursive variable 'SOURCE_DIRS' references itself (eventually).
2019-06-22 14:35:31 +02:00
Thomas Strömberg
e2266312a1
Merge pull request #4537 from kubernetes/golangci-lint-update
...
Update golangci-lint to v1.17.1
2019-06-20 17:51:11 +08:00
Thomas Stromberg
3dbb0109df
Simplify the Make code, use a GOLINT_VERSION var
2019-06-20 16:15:23 +08:00
Thomas Stromberg
709c1bd247
Update Makefile to use golangci-lint v1.17.1
2019-06-20 15:47:41 +08:00
Thomas Strömberg
4610663674
Merge pull request #4398 from josedonizetti/add-kvm-version-flag
...
Add kvm2 --version
2019-06-20 07:41:18 +08:00
Anders Björklund
63982e7f8c
Upgrade buildroot minor version
...
Fix issue with exceeding shell command line length limits for certain setups.
https://git.buildroot.net/buildroot/tree/CHANGES?h=2018.05.x
2019-06-15 15:19:55 -07:00
Sharif Elgamal
9a7d0a0d1b
Update Makefile for 1.1.1 release
2019-06-07 12:07:14 -07:00
josedonizetti
a024c6d22a
Add kvm2 --version
2019-06-04 16:45:14 -03:00
Medya Gh
079d22c950
clean vendor on make clean
2019-05-30 12:43:48 -07:00
Thomas Stromberg
590d453945
Fallback to v1.16.0 if go get is broken
2019-05-21 18:25:12 -07:00
Thomas Stromberg
a18c9a3fe1
Remove extraneous 'go modules' output from ./test.sh
2019-05-21 18:15:58 -07:00
Thomas Stromberg
557129a6a6
Bump makefile to v1.1.0
2019-05-20 16:16:26 -07:00
tstromberg
996297e914
Make the minikube binary depend on cmd/ and pkg/ go files
2019-05-20 13:30:40 -07:00
tstromberg
681ba49099
Hide go download status, as it pollutes Travis CI output
2019-05-14 09:09:48 -07:00
tstromberg
6275be3858
Use latest golangci-lint to avoid go modules panic, increase lint deadline
2019-05-14 09:05:59 -07:00
Thomas Stromberg
6e693d22ee
lint-a-geddon is here
2019-05-13 21:43:52 -07:00
tstromberg
9a9f9edf5f
First pass at lint-ageddon
2019-05-13 18:31:55 -07:00
Tiago Ilieve
8b17e6070c
Add Go modules, remove Go dep
2019-05-13 20:39:31 +02:00
Tiago Ilieve
e02f9c6f35
Remove 'makedepend.sh'
...
Not needed when using Go modules.
2019-05-09 22:14:01 +02:00
Medya Gh
30eed5d3b1
Fix comment typo
2019-05-07 11:17:30 -07:00
Medya Gh
5fa67141e6
Added Exotic Arch for legacy docker images
2019-05-06 17:07:05 -07:00
Medya Gh
1790589f70
Replace ARCH sed macros with Go templates
2019-05-06 14:38:38 -07:00
tstromberg
bf9da63579
Depend on building DEPLOYS and not the existing files
2019-05-06 11:47:31 -07:00
Anders F Björklund
e29ce78c8e
Fix the deploy targets, restore default target
...
The default target (out/minikube) was replaced by "makedeploys",
that would always rebuild the deploy .yaml files from .template
2019-05-02 21:01:46 +02:00
Thomas Strömberg
d0a3b6f569
Merge pull request #4091 from linux-on-ibm-z/multi-arch-deploy-support
...
Adding support for s390x
2019-04-30 13:02:28 -07:00
Sharif Elgamal
715392a3a8
Update Makefile for 1.0.1 release
2019-04-25 13:14:22 -07:00
salamani
9b419d66dc
adding multi-arch support
2019-04-17 08:43:37 -04:00
Thomas Stromberg
a9ca0efb33
Update Makefile version to v1.0.0
2019-03-26 21:53:29 -07:00
Thomas Strömberg
f74751c3b7
Merge pull request #3934 from afbjorklund/more-lint
...
Clean up lint and other small report card issues
2019-03-25 21:42:21 -07:00
Thomas Stromberg
22a9dbb69b
Increase test timeouts
2019-03-25 19:10:01 -07:00
Anders F Björklund
bfc7d7931b
Clean up lint and other small report card issues
...
Add helper for "go vet", and don't use the test files variable.
Also return an exit code from golint (why is this not default?)
2019-03-24 21:30:58 +01:00
Anders F Björklund
bedcd7bf98
Include checksum for the docker-machine drivers
2019-03-24 16:31:53 +01:00
Thomas Strömberg
88c45bf5b2
Merge branch 'master' into lint
2019-03-21 11:34:45 -07:00
Thomas Strömberg
f9a136a2f2
Merge pull request #3841 from afbjorklund/reportcard
...
Address the low-hanging fruit on report card
2019-03-21 11:33:28 -07:00
Thomas Strömberg
460ef571e2
Merge branch 'master' into lint
2019-03-21 11:32:47 -07:00
Thomas Strömberg
c17c2b1337
Merge pull request #3701 from afbjorklund/kvm-image
...
Add target to build the kvm driver in docker
2019-03-20 19:27:11 -07:00
Thomas Strömberg
0d6c92153f
Merge branch 'master' into reportcard
2019-03-20 19:16:02 -07:00
Thomas Strömberg
667c88d8e1
Merge branch 'master' into mdlint
2019-03-20 10:18:22 -07:00
Thomas Strömberg
4756b15bc1
Merge branch 'master' into lint
2019-03-20 10:16:09 -07:00
Anders F Björklund
b0b32b702d
Allow building minikube for any architecture
...
Currently it is hardcoded to build for any GOOS, but same GOARCH.
Change this to allow building for any combination of: minikube-*-*
2019-03-17 12:17:19 +01:00
Anders F Björklund
203014d3d2
Add target to build the kvm driver in docker
2019-03-13 20:01:58 +01:00
Anders F Björklund
3bd0d09e22
Add possibiity to run goreportcard locally
...
See https://goreportcard.com/report/github.com/kubernetes/minikube
2019-03-10 14:42:29 +01:00
Anders F Björklund
fd710756e3
Add make target to run markdownlint on md files
2019-03-10 12:09:21 +01:00
Sharif Elgamal
05d1620c33
Update Makefile to 0.35.0
2019-03-06 15:04:39 -08:00
Anders F Björklund
c71864484c
Add make target to run golint on non-test code
2019-03-02 21:21:31 +01:00
Anders F Björklund
d49f980df4
Add make target for building a rpm file
...
Similar to the deb, it just packages the standard binary...
It does not build from source, and not for any distribution.
2019-02-26 19:57:49 +01:00
Anders F Björklund
e793576760
Run deb package build with fakeroot for file perms
...
Closes #3544
2019-02-24 20:37:09 +01:00
Anders F Björklund
2acf369bae
Fix versioning of the deb package, remove revision
...
Closes #3741
2019-02-24 20:36:10 +01:00
Thomas Stromberg
29d631fa79
Remove accidental empty line
2019-02-16 09:18:39 -08:00
Thomas Stromberg
30ab710a2b
Bump VERSION_BUILD to 3.4.1, make ISO_VERSION use major.minor.0
2019-02-16 09:15:02 -08:00
Anders F Björklund
223e4ce35c
Use the new ISO version, for security and features
2019-02-16 12:24:02 +01:00
Thomas Stromberg
2127c1a6f6
v0.34.0
2019-02-15 13:26:08 -08:00
Thomas Stromberg
a03f1ea6b1
Use a shallow git clone for buildroot: saves ~2 minutes
2019-02-05 09:18:37 -08:00
Thomas Stromberg
e9182618d9
Makefile version bump to v0.33.1
2019-01-18 13:58:09 -08:00
Thomas Stromberg
4461108e8b
v0.33.0 version bump
2019-01-17 11:01:17 -08:00
Thomas Strömberg
457d671cc9
Merge pull request #3229 from afbjorklund/makedepend-buildroot
...
Avoid out directory, when listing test files
2019-01-16 11:15:34 -08:00
Thomas Stromberg
4d49768531
v0.32.0 version bump
2018-12-21 15:12:54 -08:00
Thomas Strömberg
e12550d323
Revert "Revert "Make k8s v1.12.3 the default""
2018-12-14 14:47:27 -08:00
Balint Pato
890c80621c
cut v0.31.0 ( #3432 )
...
* upping the Makefile version
* release notes for 0.31.0
2018-12-10 09:32:18 -08:00
priyawadhwa
8f128a7d10
Enable gvisor addon in minikube ( #3399 )
...
This PR adds the code for enabling gvisor in minikube. It adds the pod
that will run when the addon is enabled, and the code for the image
which will run when this happens.
When gvisor is enabled, the pod will download runsc and the
gvisor-containerd-shim. It will replace the containerd config.toml and
restart containerd.
When gvisor is disabled, the pod will be deleted by the addon manager.
This will trigger a pre-stop hook which will revert the config.toml to
it's original state and restart containerd.
2018-12-07 15:27:22 -08:00
Thomas Strömberg
2847622892
Revert "Make k8s v1.12.3 the default"
2018-12-06 09:05:33 -08:00
Thomas Stromberg
8482aeb17b
Update kube-cross to v1.11.1-1 (latest)
2018-12-04 11:06:34 -08:00
Thomas Stromberg
a74e9faf8b
Make k8s v1.12.3 the default
2018-12-03 21:43:53 -08:00
SataQiu
2a57faaa66
use $(CURDIR) instead of $(PWD) in Makefile ( #3290 )
2018-12-03 10:02:15 -08:00
Anders F Björklund
d13a26648e
Avoid out directory, when listing test files
...
Especially out/buildroot takes ages to "go list".
Literally 5 minutes, for my 16 GB directory...
So list "cmd" and "pkg" explicitly, to avoid "out".
Unfortunately only "vendor" is allowed to exclude.
2018-10-06 21:04:44 +02:00
Thomas Stromberg
d1443ec324
Bump Makefile to v0.30.0
2018-10-05 12:03:34 -07:00
Thomas Stromberg
fd428599da
Remove dangling references to k8s_releases.json now that
...
`get-k8s-versions` is removed.
2018-09-28 09:47:28 -07:00
Thomas Strömberg
497c84b2ab
Merge pull request #3171 from tstromberg/master
...
make integration fixes: Install gsutil, improve GOPATH warning, fix path/exec issues.
2018-09-27 15:43:57 -07:00
Balint Pato
628f9de730
Cut release 0.29.0 ( #3175 )
...
release notes for 0.29.0, also bumps the ISO and the minikube binary version to 0.29.0
2018-09-27 15:28:15 -07:00
Thomas Stromberg
9f97cdaacc
Remove unneeded N newline macro.
2018-09-27 15:00:12 -07:00
Thomas Stromberg
417ab9941b
Instead of the awkward newline hack, call $(warning) multiple times.
2018-09-27 14:56:57 -07:00
Thomas Stromberg
e4376cf80f
Make GOPATH warning extremely obvious to users.
...
Uses fanciful Makefile trick for newline insertion, because make hates
\n.
2018-09-26 15:36:25 -07:00
dlorenc
4c89d41a32
Update to go 1.10.1 everywhere.
2018-07-26 10:00:41 -07:00
dlorenc
232080ae0c
Remove some more vendored k8s.
2018-07-26 08:23:21 -07:00
Aaron Prindle
a4606583e4
remove all localkube references from code, change /var/lib/localkube to /var/lib/minikube
2018-07-24 12:36:42 -07:00
dlorenc
2998411912
Makefile fix.
2018-07-24 12:36:42 -07:00
dlorenc
15b035748c
Manual changes to remove localkube.
2018-07-24 12:36:42 -07:00
dlorenc
9232e26301
Cut 0.28.2.
2018-07-23 09:02:33 -07:00
dlorenc
179b90fc37
Cut 0.28.1 release.
2018-07-17 07:58:17 -07:00
dlorenc
b05b544d8f
Bump the iso version to 0.28.1.
2018-07-16 15:51:47 -07:00
dlorenc
2be51dc6bc
Fix vboxsf host mounting.
...
vboxguest is included in 4.16, but not vboxsf.
I couldn't get vboxsf to compile for 4.16, so I downgraded to 4.15.
2018-07-16 09:49:54 -07:00
Payam Tanaka
653f3ac081
enquotes PATH to guard against spaces
...
/Applications/VMware Fusion.app/Contents/Public and the like in PATH
should be accommodated
2018-07-04 09:27:15 -07:00
Jimmi Dyson
c318a93a58
Make builds work with no GOPATH env var explicitly set - this is not needed since 1.8 but the build required it to be set
2018-07-04 09:22:41 -07:00
Payam Tanaka
edd095bf1f
adds makefile target, release-minikube
2018-06-25 20:26:06 -07:00
Payam Tanaka
86a2a4e33b
replaces hard-coded gcr.io/k8s-minikube w/ REGISTRY
2018-06-18 07:45:30 -07:00
dlorenc
ad43ab4d00
Cut v0.28.0.
2018-06-13 11:15:27 -07:00
dlorenc
c9a7e90779
Bump ISO.
2018-06-12 11:09:40 -07:00
Michal Rostecki
e47e372f2c
make: Check for go-bindata in PATH, not only in GOPATH
...
Some Linux distributions package go-bindata and don't allow to
download any code or binaries during build time.
2018-06-11 07:31:51 -07:00
ijl
730533ca6a
Add make iso-menuconfig, avoid host-tar build for linux-menuconfig
2018-06-11 07:31:17 -07:00
ijl
4c4cd31b02
linux 4.16, buildroot 2018.05
...
linux is upgraded to 4.16, binutils is upgraded to 2.30, and
libelf is installed for the newer kernel.
Other configuration changes are changes in defaults and ordering.
Now using glibc 2.27. systemd 237, and Go 1.10.
vbox-guest is removed because it's upstream as of linux 4.16.
More on buildroot at https://git.buildroot.net/buildroot/tree/CHANGES
2018-06-11 07:31:17 -07:00
Michal Rostecki
c7037c434b
make: Don't hardcode GOARCH in Makefile
...
out/localkube.d and out/minikube-* targets should be able to build
on every architecture.
2018-05-30 08:27:17 -07:00
dlorenc
a7c0cbee11
Cut 0.27.0
2018-05-16 11:53:14 -07:00
dlorenc
6ded2b647d
Cut 0.26.1 release
2018-04-18 15:35:51 -07:00
xianlubird
6b3194459b
Fix some typo in Makefile
...
Signed-off-by: xianlubird <xianlubird@gmail.com>
2018-04-12 09:03:01 -07:00
dlorenc
ce91e95496
Cut the 0.26.0 release.
2018-04-10 12:48:00 -07:00
dlorenc
125eede153
Bump the minikube ISO version.
2018-04-02 10:56:29 -07:00
dlorenc
dcb5c2cc50
Manual changes for 1.10.
...
localkube now has to be non-statically compiled :(
2018-03-27 23:13:34 -07:00
Yongkun Anfernee Gui
ab9f3b234d
Remove OS dependent SupportedVMDrivers
...
Use ListDrivers() method to get the list of VM drivers.
SupportedVMDrivers become the whole list of VM drivers on all
platforms, which is used in gendocs only.
2018-03-11 13:41:30 -07:00
Anders F Björklund
8f63f33e56
Use the $ORG variable for the make dependencies
...
Before we would hardcode the repo path that we are looking for.
Currently we include everything from the organization (k8s.io).
2018-02-26 09:51:56 -08:00
Anders F Björklund
5cbbc7cf51
Ignore failures including dependency files
2018-02-26 09:51:56 -08:00
Anders F Björklund
53127d687a
Generate make depend files from go list
...
Instead of running `go list` every time (very slow),
cache the results in the build folder and include it.
Add a shell helper script, to make the Makefile more
readable. Use regular "makedepend" syntax for output.
2018-02-26 09:51:56 -08:00
Anders F Björklund
10451b536f
Refactor the usage of go list, to make it similar
...
Make sure that all invocations are identical, before trying to make
a function out of it. Also clean up whitespace and similar changes.
2018-02-26 09:51:56 -08:00
Anders F Björklund
3fd41d6f3c
Avoid the phony gopath make target
...
Having a phony target as a minikube dependency means that
it always needs to be rebuilt/copied, which is unnecessary.
Also clean up and simplify the syntax, thereby avoiding the
current copy/paste errors (that always come with duplication)
2018-02-26 09:51:56 -08:00
Budh Ram Gurung
d0a46d3763
Add target to format Go code
2018-02-12 09:04:25 -08:00
Matt Rickard
51716c970e
Cut 0.25.0 release
2018-01-26 10:13:55 -08:00
Matt Rickard
f3e5f3b1fb
Bump iso to 0.25.1
2018-01-24 08:14:19 -08:00
Tim Hockin
51ee9a1423
Convert registry to k8s.gcr.io
2017-12-22 09:55:16 -08:00
Matt Rickard
2d8dda2828
Bump iso version to v0.24.0
2017-12-19 08:15:32 -08:00
ijl
09fe456c27
linux 4.9.64
2017-12-07 15:02:19 -06:00
ijl
b977f274db
buildroot 2017.11
2017-12-07 15:02:19 -06:00
Matt Rickard
ec94f38a68
Cut patch version v0.24.1
2017-11-30 19:50:51 -08:00
Matt Rickard
9c1a3ff75a
bump iso to v0.23.6
2017-11-30 09:26:32 -08:00
dlorenc
856b1adcec
Cut v0.24.0 release.
2017-11-29 14:41:03 -08:00
dlorenc
6e0710b425
Add a separate tag and bump the version.
2017-11-08 11:26:32 -08:00
dlorenc
6f7fd002ab
More storage provisioner fixes.
...
I'm not sure of a better way to ensure /tmp exists in a from scratch container,
but glog appears to just explode without it.
2017-11-07 11:07:01 -08:00
dlorenc
0fe440e58d
Fix the storage-provisioner build. This needs to be built statically.
2017-11-06 10:53:25 -08:00
Matt Rickard
f368ac4999
Merge pull request #2137 from priyawadhwa/storage-provisioner-as-pod
...
Run storage provisioner as pod
2017-11-01 14:00:57 -07:00
Priya Wadhwa
c342ed4d57
Added storage prov deps to Makefile and rewrote main file
2017-11-01 10:54:17 -07:00
Matt Rickard
30667cb406
Calculate ServiceClusterIP and DNS IP from CIDR
2017-10-31 10:06:51 -07:00
Matt Rickard
e68de40ae5
Merge pull request #2101 from r2d4/use-ci-localkube
...
Explicitly use localkube bootstrapper and binary
2017-10-31 10:06:19 -07:00
Priya Wadhwa
71b38d1e4e
Tests passing with storage-provisioner in addons
2017-10-30 13:45:31 -07:00
Priya Wadhwa
a8fedc86e1
Create main file for storage provisioner
2017-10-30 13:07:48 -07:00
Matt Rickard
36a0663446
GOOS not set correctly when xbuild outside docker
2017-10-30 10:03:25 -07:00
Matt Rickard
a2a4780186
Explicitly use localkube bootstrapper and binary
...
Use the localkube binary built from CI in the integration tests.
2017-10-30 09:22:33 -07:00
Matt Rickard
54e1cc9df8
Merge pull request #2123 from r2d4/release-23
...
Release 23
2017-10-26 16:01:56 -07:00
Matt Rickard
55fcaa8609
Cut 0.23.0 release
2017-10-26 11:01:54 -07:00
Priya Wadhwa
404a043bf6
updated build image
2017-10-24 10:18:25 -07:00
Priya Wadhwa
ef39ac3705
upgrade to go 1.9
2017-10-24 09:28:57 -07:00
Matt Rickard
d9089c3d77
Merge pull request #2089 from r2d4/no-localkube
...
Remove localkube from bindata
2017-10-20 12:29:48 -04:00
Matt Rickard
a19f90fd91
import erorr
2017-10-19 16:23:47 -04:00
Matt Rickard
7cb4f99886
Makefile consolidation
2017-10-19 16:18:52 -04:00
Matt Rickard
2b23ac95f1
Merge pull request #2091 from r2d4/23-6-iso
...
Bump iso version to v0.23.6
2017-10-19 15:06:49 -04:00
Matt Rickard
a7d568441c
Remove localkube from bindata
...
This makes the minikube build simpler and the the binary smaller.
Localkube will always be remotely fetched and locally cached on the
host.
2017-10-19 12:56:29 -04:00
Matt Rickard
820cfb145e
Bump iso version to v0.23.6
2017-10-19 12:34:41 -04:00
Matt Rickard
9135d4aafe
Use GOBIN instead of HOME/bin
2017-10-19 10:35:01 -04:00
Aaron Prindle
abc54e32ce
Cut v0.22.3 release
2017-10-05 13:46:42 -07:00
Matt Rickard
b7ec12a09e
Run make rules in parallel
2017-10-05 12:33:43 -07:00
Matt Rickard
e213fceb99
Split driver compilation from cross build
2017-10-05 12:03:15 -07:00
Aaron Prindle
8dbe63d697
Merge pull request #1985 from r2d4/kubelet-config-kubeadm
...
Implement extra-config for kubeadm components
2017-10-04 16:16:50 -07:00
Matt Rickard
a139ccd0ab
Implement extra-config for kubeadm kubelet
2017-10-04 11:26:15 -07:00
Aaron Prindle
54f20ac82d
bump iso version to v0.23.5
2017-10-04 11:26:11 -07:00
Matt Rickard
547d22f638
Clean up unused files, add tar rules
2017-09-19 15:45:18 -07:00
Matt Rickard
60a0589205
Always build in docker the binaries
2017-09-18 10:58:34 -07:00
Matt Rickard
7704c8cfa9
Cut v0.22.2 release
2017-09-18 09:21:23 -07:00
Matt Rickard
3180e2e897
Merge pull request #1938 from r2d4/integration-test-cleanup-
...
Integration test cleanup
2017-09-12 14:28:28 -07:00
Matt Rickard
540596b6d5
Cut 0.22.1 release
2017-09-11 13:48:17 -07:00
Matt Rickard
f966c8cf31
Add NewMinikubeRunner, separate start args
...
* Separate start args from args passed to every command. This is so
that we can call `minikube logs` and `minikube status` with the proper
flags (for the bootstrapper)
* Add a NewMinikubeRunner function to make getting a minikube runner
easier.
2017-09-08 20:14:21 -07:00
Aaron Prindle
62ca0b6f72
Merge pull request #1921 from aaron-prindle/release-v0.22.0
...
cut v0.22.0 release
2017-09-07 11:13:53 -07:00
Aaron Prindle
16d6d880cc
cut v0.22.0 release
2017-09-06 17:00:12 -07:00
Matt Rickard
5e34247db5
Use containers/image build tags everywhere
2017-09-06 16:22:49 -07:00
Matt Rickard
ac65b58363
Review feedback
2017-09-06 10:22:09 -07:00
Matt Rickard
57aa3e61a9
Use the build tags for containers/image everywhere
2017-08-30 22:36:21 -07:00
Matt Rickard
55b41415ed
Cache images for localkube
...
This PR introduces caching of localkube images. It makes a best effort
to cache the essential images localkube needs as minikube starts up.
Currently, the list of cached images is hardcoded, but future work might
entail
1. Cached images as a property of the cluster bootstrapper - to allow
localkube and kubeadm to cache their respective images.
2. Addons contain image information. Then, we can selectively cache and
preload only the addon images that are enabled.
2017-08-30 22:36:16 -07:00
Matt Rickard
201e5f9eff
Vendor changes
2017-08-30 17:46:35 -07:00
Matt Rickard
81f12caa87
Merge pull request #1828 from r2d4/in-tree-kvm
...
Bring KVM driver in-tree
2017-08-30 10:46:29 -07:00
Matt Rickard
54395a6a68
Merge pull request #1896 from r2d4/easy-iso-make
...
Add makefile rule for linux-defconfig
2017-08-28 16:19:04 -07:00
Matt Rickard
6c73183cea
Add target for none driver integration
...
Theres currently no good way to run the integration tests for the none
driver locally. Now that we've added the e2e target, we can depend on
that. Running the e2e test binary locally requires the testdata folder
to be in a different path, since it is relative to where the code is
being ran. I added a testdata-dir flag to the integration tests so we
can set it appropriately for when we want to run the e2e binary by
itself.
I also made the e2e test binary a PHONY target, so we rebuild it each
time. I had trouble collecting the dependencies on the integration
test packages
2017-08-28 11:56:30 -07:00
Matt Rickard
531e81103f
Rename kvm driver to kvm2
2017-08-28 11:52:39 -07:00
Matt Rickard
48b165808c
Bring KVM driver in-tree
...
Add boilerplate
Review feedback
2017-08-28 11:52:35 -07:00
Matt Rickard
1052dda37a
Move CalculateDiskSizeInMB to utils to use in kvm
2017-08-28 11:27:34 -07:00
Matt Rickard
d880f6bb2e
Add makefile rule for linux-defconfig
...
I find myself referencing this documentation every time I make kernel
configuration changes. I've added a simple rule to open the kernel
configuration menu, and then save your changes to the right directory.
2017-08-28 11:01:22 -07:00
Matt Rickard
555a1ee778
Bump iso to v0.23.3
2017-08-25 14:57:12 -07:00
Matt Rickard
caa8a540e6
Merge pull request #1776 from dlorenc/hyperkit
...
WIP: Initial hyperkit driver implementation.
2017-08-24 14:14:47 -07:00
dlorenc
a05a4fe35a
Code review feedback.
2017-08-24 11:54:59 -07:00
dlorenc
e3d239929b
Jenkins/Makefile targets.
2017-08-24 11:54:59 -07:00
dlorenc
28f9d5dc1a
Initial hyperkit driver implementation.
2017-08-24 11:54:59 -07:00
Matt Rickard
7f5e4b7e82
Rename e2e-windows-amd64 to e2e-windows-amd64.exe
2017-08-23 15:01:52 -07:00
Matt Rickard
9d6541075e
Move e2e binary compilation to makefile
2017-08-22 17:01:13 -07:00
Matt Rickard
6acab8b367
Update minikube-iso to v0.23.2
2017-08-21 21:05:18 -07:00
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
Aaron Prindle
6b92a99699
Update localkube image
2017-02-22 15:03:42 -08:00
Matt Rickard
0bcbd99e1b
Add version info to minikube-iso
2017-02-22 11:47:57 -08:00
Aaron Prindle
bb4b7ceb95
Merge pull request #1106 from aaron-prindle/update-localkube-docker
...
Updated localkube docker instructions, added build to main makefile
2017-02-17 15:39:28 -08:00
Aaron Prindle
19bdd1d097
Merge branch 'master' into update-localkube-docker
2017-02-17 09:39:33 -08:00
Matt Rickard
15294b3a16
Remove b2d from deploy and Makefile
...
We are no longer releasing any boot2docker based minikube ISOs.
2017-02-16 15:24:15 -08:00
Aaron Prindle
6011819e3a
Updated localkube docker instructions, added build to main makefile
2017-02-14 19:46:21 -08:00
Matt Rickard
a125157f44
Detect and test against ISO changes
...
When changes are made to the ISO folder, rebuild and upload the newly
modified image. Use this uploaded image as the default in the e2e test
binaries, so that the e2e test suite runs against the PR's changes.
TODO: Subsequent PRs (no changes to ISO) will still run against the
default version in the makefile. We should figure out if we want to
always run tests against the "latest" image.
2017-02-14 13:42:20 -08:00
Matt Rickard
d9355d89e7
Merge pull request #1074 from r2d4/release-iso
...
Add release-iso Makefile rule
2017-02-08 18:40:59 -08:00