Commit Graph

394 Commits (2519bd5a2f5fc083b0d02353a186801d9f93ed9a)

Author SHA1 Message Date
Thomas Stromberg c8dcc5eef8 Bump version to v1.4.0-beta.2 2019-09-13 09:18:11 -07:00
Thomas Stromberg 2362025efd Merge branch 'master' into norunner2 2019-09-11 20:28:17 -07:00
Thomas Stromberg 4761f3e30d version bump to v1.4.0-beta.1 2019-09-11 18:04:06 -07:00
Thomas Stromberg cf7bb1b72a test-iso: iso-url should be a start-arg 2019-09-11 13:07:34 -07:00
tstromberg b14adecbe8 Substitute dashes for tildes when generating Linux packages 2019-09-05 14:35:35 -07:00
Sharif Elgamal 57e0d00224
fix windows pathing in Makefile 2019-09-04 11:38:46 -07:00
Sharif Elgamal a440d28777 Get make builds working on Windows 2019-09-03 16:45:58 -07:00
Thomas Stromberg 7a158a3642 Version bump to v1.4.0-beta.0 2019-08-27 20:22:22 -07:00
Thomas Strömberg 3b30732373
Merge pull request #4931 from afbjorklund/make-targets
Clean up the make targets
2019-08-21 10:25:50 -07:00
William Zhang 204b3944f3 bump to go1.12.9
Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
2019-08-19 08:44:40 +08:00
Medya Ghazizadeh 434ca47c72
Merge pull request #5095 from medyagh/update_golang_ver
Ensure specific golang version everywhere in CI based on Makefile
2019-08-17 19:28:33 -07:00
Medya Gh fda017d7b3 remove default, fix indent, set pipefail 2019-08-16 10:21:08 -07:00
Priya Wadhwa 198d6397f9 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-08-15 13:56:37 -07:00
Medya Gh dba55201b0 Ensure specific golang version is installed on build agents 2019-08-15 13:46:25 -07:00
Anders F Björklund 5a66265b51 Add phony targets for the machine drivers as well 2019-08-15 20:41:25 +02:00
Anders F Björklund 30df6353f4 Make sure to create directories before copying 2019-08-15 20:41:25 +02:00
Anders F Björklund e7b16acb21 Don't have phony targets before the default target 2019-08-15 20:41:25 +02:00
Anders F Björklund 248f162ee8 Make sure to always build the actual target output
Also avoids having to duplicate the output file name
2019-08-15 20:41:25 +02:00
Anders F Björklund 649622dc85 Add new phony targets, and clean up real targets
Only have pattern rules and variable rules for the real ones,
and fix the amount of targets that we build with "cross" etc.

This makes bash autocompletion work with all the known targets,
and makes the make rules have better and easier dependencies.
2019-08-15 20:38:02 +02:00
Medya Ghazizadeh 47c3f25139
Merge pull request #4751 from afbjorklund/release-tars
Improve the release tarballs with compression and checksum
2019-08-14 11:17:28 -07:00
Thomas Stromberg 2086f4a17f Remove .ONESHELL use for make 3.8.1 compat (macOS) 2019-08-14 07:30:00 -07:00
tstromberg 8e5a161710 Add targets for starting a local doc site 2019-08-13 16:54:08 -07:00
Thomas Stromberg 2fae07d5c5 Update to v1.3.1 2019-08-12 18:24:37 -07:00
Sharif Elgamal a817bffab1
Remove all minikube dependencies from drivers (#4933)
* Remove all minikube dependencies in driver code

* removing all default config

* okay we need some defaults

* code comments

* hyperkit builds now

* sleep for an appropriate amount of time

* remove constant in favor of string

* try goproxy for travis

* try goproxy for travis

* try goproxy for travis

* let's not try goproxy for now

* let's try goproxy once again

* maybe use the correct url for the proxy

* fix go mod
2019-08-12 14:42:11 -07:00
Priya Wadhwa a294bdb29a gvisor-addon depends on generated files 2019-08-08 13:16:30 -07:00
Priya Wadhwa 94638de7fd Remove error in gvisor image since it works now 2019-08-08 12:52:40 -07:00
Priya Wadhwa d5e4cc1c43 No longer need to build out/gvisor-addon since it's built in the docker image 2019-08-08 11:28:40 -07:00
Priya Wadhwa 24a2748af8 rebased, fixed merge conflicts 2019-08-05 13:53:23 -07:00
tstromberg 63db60a543 Make this v1.3.0 as there are feature changes 2019-08-02 15:29:18 -07:00
tstromberg 84d4874c5f Version bump to v1.2.1 2019-08-02 15:17:51 -07:00
Anders F Björklund 5910389e3b Checksum the tarballs, for download verification
Use SHA-512, same as Kubernetes does for kubectl
2019-07-31 10:59:52 +02:00
Anders F Björklund cb17c856e1 Don't include the add-ons, but do include hyperkit
The deploy/addons are normally included as binary assets,
they were added to the tarballs by mistake (in d393211)

Include the hyperkit driver for darwin, just as we include
the kvm driver for linux. Add some targets for it, too.
2019-07-31 10:59:10 +02:00
Anders F Björklund 97d27945ef Make sure to actually gzip the tarballs
Not all tar versions can understand suffix
2019-07-31 10:59:10 +02:00
Anders Björklund e03dfb2a3c
Merge pull request #4921 from afbjorklund/kvm-build-image-local
Use consistent method of getting kvm-build-image
2019-07-31 10:20:21 +02:00
Anders Björklund 3913618b9d
Merge pull request #4927 from afbjorklund/kernel-version
Update KERNEL_VERSION to match buildroot config
2019-07-31 09:58:41 +02:00
Anders F Björklund 9e52d5113c Update KERNEL_VERSION to match buildroot config
We downgraded the kernel (to 4.15) in 2be51dc,
but never updated the Makefile from 4c4cd31...

The default kernel in Buildroot 2018.05.x was
4.16.13, but upgraded in Minikube to 4.16.14
2019-07-30 22:13:53 +02:00
Anders F Björklund 1df9c66e2d Tag the kvm-build with go version, avoid registry
Apparently make hates target names with colon in them, so avoid that.
Seems like we are not using $(REGISTRY), so avoid trying to pull it.
2019-07-30 21:35:16 +02:00
Anders F Björklund ab2b589324 Use consistent method of getting kvm-build-image
First try the local images, then try to pull from the registry...
If not found in either place, then build a tag a new local image.
2019-07-30 14:40:40 +02:00
Anders F Björklund cc393df73a Pin the go version used for kvm-build-image 2019-07-30 09:55:53 +02:00
Anders F Björklund ea4aeafa9d The drivers need the generated translations 2019-07-29 13:57:37 +02:00
Anders F Björklund d59db5b6a7 Call go-bindata and gofmt from docker too 2019-07-29 12:44:58 +02:00
Anders F Björklund 7f9d7f0f0b Update build image to go version 1.12.7 2019-07-29 12:38:51 +02:00
Medya Ghazizadeh 53b37e2beb Separate make lint targets for developers vs travis (#4852)
* Lowering memory for golangci-lint

* ci 2 jobs , gogc 5

* change ci jobs number

* added a new make target for ci and for developers

* reuse golint options for two targets
2019-07-24 10:34:53 -07:00
Anders F Björklund 7da86459c5 Increase garbage collection for golangci-lint
This will again increase the total test time.

But hopefully make it use less memory as well.
2019-07-23 15:42:56 +02:00
Anders F Björklund bb5736b0a3 Limit the number of golangci-lint jobs to one
If you want the old behaviour back, use:
e.g. make lint GOLINT_JOBS=`nproc`

Running multiple linters takes a lot of RAM.
And it only saves us like 15 seconds anyway ?
2019-07-23 15:42:50 +02:00
Sharif Elgamal 24ad1d82b9
Add test to make sure translations files are up to date. (#4777)
* Add test to make sure translations files are up to date.

* Fix file path sadness so tests work as expected

* make sure we reset the working dir

* switching from bytes.Compare to cmp.Diff

* add better error message

* extract new localized strings

* fix tests
2019-07-17 13:49:39 -07:00
Thomas Strömberg 4792e0202b
Merge pull request #4779 from afbjorklund/kvm2-fixes
Makefile improvements for the kvm2 driver
2019-07-17 09:14:42 -07:00
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