Commit Graph

347 Commits (59eb97408855474f5badfaef166c9a8d522a8612)

Author SHA1 Message Date
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