Commit Graph

685 Commits (c50f38b06c41a66c4a6ce8068b3ba2cd7269af4e)

Author SHA1 Message Date
Anders F Björklund 1cebb31557 Upgrade buildroot minor version 2020-03-18 21:24:41 +01:00
priyawadhwa 1c9e63312c
Merge pull request #7042 from priyawadhwa/preload-release-script
Refactor preload_images.go to function as an automated release script for preloaded tarballs
2020-03-18 10:33:18 -07:00
Priya Wadhwa 5659a1df6e Remove cloudbuild stuff, run preload generation in jenkins 2020-03-17 13:54:00 -07:00
Priya Wadhwa c38cc9debe Add cloudbuild setup for preload generator image 2020-03-17 13:13:10 -07:00
Thomas Stromberg ce5bf6c073 Version bump to v1.9.0-beta.1 2020-03-17 12:10:02 -07:00
Medya Ghazizadeh 0bd6323c29
Merge pull request #7035 from afbjorklund/goflags
Add makefile parameter for adding go build args
2020-03-14 09:15:25 -07:00
Priya Wadhwa 8b364befc0 Remove unused variables from Makefile 2020-03-13 16:10:55 -07:00
Priya Wadhwa 9c8102dd58 Refactor preload_images.go to generate and upload a preloaded tarball
This script is now responsible for making sure that the DefaultK8sVersion, NewestK8sVersion, and OldestK8sVersion supported by minikube have preloaded tarballs. It will be run on every PR as an automated release script for preloaded tarballs.
2020-03-13 16:05:46 -07:00
Medya Ghazizadeh fb2ec883b4
Merge pull request #6949 from afbjorklund/go-1.13.8
Upgrade go version 1.13.6 -> 1.13.8
2020-03-13 15:14:00 -07:00
Anders F Björklund cc72fdb535 Add makefile parameter for adding go build args
For instance -v (verbose) or -work (show $WORK)
2020-03-13 22:38:56 +01:00
Priya Wadhwa 1372c4742d Update to minikube v1.8.2 2020-03-13 14:21:49 -07:00
Anders F Björklund 6d00e95263 Change gcr.io location of the kube-cross images 2020-03-12 21:47:13 +01:00
Anders F Björklund ff07ab8bd1 Upgrade go version 1.13.6 -> 1.13.8 2020-03-08 12:32:46 +01:00
Medya Gh f66e666908 bump patch version 2020-03-06 17:53:57 -08:00
Thomas Stromberg 4f629f190d Update Makefile and CHANGELOG to v1.8.0 2020-03-06 11:09:50 -08:00
Thomas Stromberg 3e772d0048 Merge master 2020-03-04 20:18:16 -08:00
Thomas Stromberg a1ebcbd031 Merge conflicts 2020-03-04 18:01:41 -08:00
Sharif Elgamal 34d5f84d52 fix makefile part 2 2020-03-04 15:50:48 -08:00
Sharif Elgamal 1d1956ffac fix makefile 2020-03-04 15:39:59 -08:00
Sharif Elgamal 2db0b8cea2 fix search/replace errors 2020-03-04 14:10:39 -08:00
Sharif Elgamal ac0c1bad42 missing files 2020-03-04 13:48:21 -08:00
Medya Ghazizadeh 6d54f0efbe
Merge pull request #6764 from afbjorklund/exotic-arch
Build minikube cross for exotic architectures
2020-03-04 11:31:17 -08:00
Priya Wadhwa 59615132a8 Include container runtime and tarball version in preloaded tarball name 2020-03-02 17:04:50 -08:00
Priya Wadhwa 481010d8dc added overlay2 to preloaded images tarball name 2020-03-02 14:10:41 -08:00
Priya Wadhwa 095b4b4596 small fixes 2020-03-02 13:51:44 -08:00
Priya Wadhwa 6b0e942e7e Rebased on master 2020-03-02 13:33:27 -08:00
Anders F Björklund d8e203e325 Don't download the golangci-lint binary for docker
It will instead download the golangci/golangci-lint docker image
2020-03-01 12:24:46 +01:00
Anders F Björklund 21e5e1873d Skip native drivers when running lint in docker
They require libvirt and hyperkit host packages installed
2020-03-01 12:24:23 +01:00
Anders F Björklund 6d1612f899 Allow running lint (golangci-lint) using docker 2020-03-01 12:23:23 +01:00
Anders F Björklund 9b8dbdeba9 Build minikube cross for exotic architectures
Split out the non-amd64 from the linux arch,
and build those "exotic" arch separately.

The default is to build all operating systems,
so restore that definition of the "cross".
2020-02-29 20:45:07 +01:00
Priya Wadhwa aefbf2cd18 Rebased on master 2020-02-24 13:41:06 -08:00
sayboras 5626934b0a Upgrade to 1.13.6 2020-02-23 23:10:13 +11:00
Medya Ghazizadeh c64ca54f0c
Merge pull request #6750 from afbjorklund/gotest
Add make target for running only the go test
2020-02-22 14:38:44 -08:00
Priya Wadhwa c99bf76ee4 Add checksum verification 2020-02-21 12:03:31 -08:00
Tam Mach 6dfadf643c Upgrade patch version for golangci-lint to v1.23.6 2020-02-21 14:55:22 +11:00
Priya Wadhwa 86df9ffb2c Rebased on master 2020-02-20 16:20:54 -08:00
Priya Wadhwa 94737b4a14 Add lz4 to kic base image and upgrade to v0.0.6 2020-02-20 15:53:09 -08:00
Priya Wadhwa 19fa296625 Compress with lz4 2020-02-20 14:07:03 -08:00
Priya Wadhwa 97ea1b0b85 Remove preloaded base image and add makefile rule to upload prelaoded tar to gcs 2020-02-20 11:55:47 -08:00
Medya Gh 5911f75b6d bumb version to v1.7.3 2020-02-19 12:36:12 -08:00
Medya Ghazizadeh 3765cae304
Merge pull request #6636 from medyagh/improve_ghaciton
downloadable reports and one line result summary
2020-02-14 19:55:58 -07:00
Medya Gh e529093911 increase lint-ci time out for github actions 2020-02-14 12:26:19 -08:00
Anders F Björklund 3a05950764 Upgrade buildroot minor version 2020-02-13 22:52:01 +01:00
priyawadhwa 434176ffad
Merge pull request #6531 from priyawadhwa/kic-preload-images
Provide images with pre-loaded Kubernetes images & binaries
2020-02-12 09:55:09 -08:00
Priya Wadhwa 7f0f3dcbdd Addressed review comments, still need to copy over /var/lib/minikube/binaries 2020-02-10 17:55:04 -08:00
Thomas Strömberg a3fb05de71
Merge pull request #6526 from tstromberg/storage-provisioner-tag
Makefile: push docker images to latest instead of specific revisions
2020-02-07 16:30:32 -08:00
tstromberg e8b38b8d8b Release bump for v1.7.2 2020-02-07 16:21:06 -08:00
Priya Wadhwa 75d0ee5e87 Add target flag to build only kicbase for kicbase makefile target 2020-02-07 11:17:28 -08:00
Priya Wadhwa 4a0fb0eeb1 Add separate makefile target for preloaded images
and convert shell script to go script
2020-02-07 11:15:34 -08:00
Priya Wadhwa e055ee6929 Preload docker images into kic base image
Adds support for specifying kubernetes version and preloading docker
images into the kic base image.

Though this increases the kic base image by ~1.6G, it should improve
start latency in conjunction with removing 'kubeadm pull images' in
another PR.
2020-02-06 13:12:43 -08:00
Thomas Stromberg d04b6d50b0 Makefile: push docker images to latest instead of specific revisions 2020-02-06 06:43:12 -08:00
tstromberg 185ff3e1b9 Version bump to v1.7.1 2020-02-05 15:43:01 -08:00
Thomas Strömberg 0d29a2ac7b
Merge branch 'master' into f-fix-5144 2020-02-05 11:32:32 -08:00
Thomas Strömberg c7eec26dae
Merge pull request #6497 from tstromberg/v1.7.0
Version bump to v1.7.0
2020-02-05 08:15:50 -08:00
Thomas Stromberg 87cdbc10f9 Version bump to v1.7.0 2020-02-04 21:47:14 -08:00
Thomas Strömberg 0bd4099cfc
Merge pull request #5678 from priyawadhwa/compare
[mkcmp] add code to time `minikube start` for each binary
2020-02-04 20:49:59 -08:00
Medya Gh 6c95a28c10 remove default crictl setting 2020-02-03 23:25:55 -08:00
Priya Wadhwa 4f6deaf5dc Rebased on master 2020-02-03 16:31:11 -08:00
Medya Ghazizadeh 3dd5495d2f
trim kic base image (#6478) 2020-02-03 16:31:52 -07:00
Thomas Strömberg 013d139afa
Merge pull request #6474 from afbjorklund/kvm2-arch-fix
Fix building packages for architectures
2020-02-03 14:26:21 -08:00
Anders F Björklund 39da4432c7 Fix building packages for architectures
Missed a suffix, and the rpm architecture names
2020-02-03 22:15:02 +01:00
tstromberg 1f1cfa5b52 Update golangci-lint from v1.21 to v1.23.2 2020-02-03 12:58:16 -08:00
Anders F Björklund 174d1fb9e5 Add arch to docker-machine-driver-kvm2 packages
But only support building for amd64 at the moment
2020-02-02 13:56:20 +01:00
Anders F Björklund f6d5350651 Add debugging target to output package versions 2020-02-02 13:37:47 +01:00
Priya Wadhwa a540310c56 Update version to beta.2 2020-01-31 22:13:50 -08:00
Priya Wadhwa fbac776c1d Update Makefile and CHANGELOG 2020-01-31 16:31:52 -08:00
Medya Ghazizadeh 4bf3fc422a
Add docker run-time for kic driver (#6436)
* Add docker container run time for kic
2020-01-30 14:30:04 -08:00
Thomas Strömberg f2b4ca44dc
Merge pull request #6257 from afbjorklund/storage-provisioner-arch-image
Allow building storage-provisioner for other arch
2020-01-30 14:09:27 -08:00
Medya Gh 773510b9c1 Add ssh to kic container image 2020-01-23 17:45:50 -08:00
tstromberg 1c30a2af8e ISO_VERSION should use VERSION_BUILD during beta 2020-01-22 14:13:05 -08:00
tstromberg 31f22f9e62 Version bump before we update the ISO 2020-01-22 12:38:00 -08:00
Anders F Björklund e4b4348f02 Add make target for running only the go test 2020-01-19 22:29:30 +01:00
Nanik T 9b455aafc4 Customizing host path for dynamically provisioned PersistentVolumes
This fix contains few things:

* Used k8s.gcr.io/debian-base-amd64:v2.0.0 as base image to build storage-provisioner
* Modify RBAC permission used to cluster-admin
* Build storage-provisioner as static binary
2020-01-16 12:23:26 +11:00
Anders F Björklund bfa7c13e34 Stop sending minikube version to storage-provisioner 2020-01-15 20:07:25 +01:00
Anders F Björklund f2c385fcde Allow building storage-provisioner for other arch
Also allow building the static binary in docker
2020-01-15 20:00:53 +01:00
Sharif Elgamal c03b885ca9
bumping makefile to 1.17.0-beta.0 2020-01-14 14:31:45 -08:00
Medya Ghazizadeh 19c8ddee9f
Merge pull request #6151 from medyagh/kic_exp
Experimental verison of kic
2020-01-10 00:42:01 -08:00
tstromberg bf0dc79bcd Set CGO_ENABLED=0 to avoid 'standard_init_linux.go:211: exec user process caused no such file or directory' 2020-01-08 14:57:58 -08:00
Medya Gh 8a0c840e52 move kic docker image to minikube gcr 2020-01-08 13:52:07 -08:00
Medya Gh 9a204b88c0 rename make target 2020-01-07 14:19:44 -08:00
Medya Gh 77394db9aa add Dockerfile for kic images 2020-01-07 13:54:00 -08:00
Anders F Björklund 9e990f6b87 Upgrade buildroot minor version 2020-01-02 12:52:23 +01:00
Medya Gh d63d00a3e9 update version to 1.6.2 2019-12-19 16:24:13 -08:00
Priya Wadhwa 48b5a1e493 Merge branch 'master' of github.com:kubernetes/minikube into compare 2019-12-19 11:28:11 -08:00
Sharif Elgamal ec8c36d48d
exclude generated files from linting 2019-12-18 13:37:12 -08:00
Thomas Stromberg 50daf97bde Version bump to v1.6.1 2019-12-11 12:50:58 -08:00
tstromberg 28e3dc6d14 Version bump to v1.6.0 2019-12-10 15:43:03 -08:00
priyawadhwa 434648c6fc
Merge pull request #5773 from priyawadhwa/pr-bot
Add skeleton for performance analysis service
2019-12-09 18:26:45 -08:00
Thomas Strömberg 92b646d747
Merge pull request #5818 from afbjorklund/docker-entrypoint
Don't use bash as the entrypoint for docker
2019-12-09 13:43:35 -08:00
Priya Wadhwa 4b78f7bd48 Rebased on head, resolved merge conflict 2019-12-09 12:03:37 -08:00
Sharif Elgamal 690ea964b3 Update Makefile for 1.6.0-beta.1 release 2019-11-26 10:53:14 -08:00
Priya Wadhwa 3574879fde rebased on master 2019-11-26 10:32:32 -08:00
Anders F Björklund 3ef253526e Upgrade buildroot minor version 2019-11-24 19:39:41 +01:00
Priya Wadhwa e852678553 Update Makefile version to 1.6.0-beta.0 for beta release 2019-11-15 13:48:38 -08:00
Nanik T a64fec970f Add help target to list all different targets #5603
Executing 'make help' will display a list of available targets
for building minikube. The output will look as follows

Available targets for minikube v1.4.1
--------------------------------------
iso-menuconfig                 Configure buildroot configuration
linux-menuconfig               Configure Linux kernel configuration
all                            Build all different minikube component
drivers                        Build Hyperkit and KVM2 drivers
docker-machine-driver-hyperkit Build Hyperkit driver
integration                    Trigger minikube integration test
integration-none-driver        Trigger minikube none driver test
integration-versioned          Trigger minikube integration testing

...
...
...
2019-11-08 07:57:59 +11:00
Thomas Strömberg 093e6e7a8d
Merge pull request #5849 from medyagh/gomod1
bump golang version to 1.13.4
2019-11-06 15:16:00 -08:00
Anders F Björklund c6686317d0 Don't use bash as the entrypoint for docker
The bash shell is not very good at playing init(1), let
tini handle this instead by doing `docker run --init`.

This makes it forward signals properly to e.g. make,
and also reaps processes for long-running containers.

However, we _need_ to override the entrypoint of the
karalabe/xgo image, since it'll self-destruct otherwise.

It (/build.sh) expects the command to be the import path
and cannot handle getting the bash command line to run.
2019-11-06 23:57:40 +01:00
Medya Gh 4aa8da9d78 bumpg golang version 2019-11-06 14:01:00 -08:00
Anders Björklund be865e584b
Merge pull request #5749 from afbjorklund/make-build
Use faster build for the default minikube target
2019-11-06 22:59:29 +01:00
Anders F Björklund 1249704884 Fix spelling of HTML for golint on bindata 2019-11-02 09:41:25 +01:00
Anders F Björklund e5c4720433 Still support building default in docker
Since the docker image is always running Linux amd64, we need to
pass the actual local target to build (cross-compile) minikube for.
2019-11-02 09:21:21 +01:00
Anders F Björklund ad22190497 Add go modules to the minikube dependencies
When not rebuilding everything all the time, we need to check
the go.mod for changes to the list of dependencies (and rebuild).
2019-11-02 09:05:11 +01:00
Anders F Björklund 527069ea13 Use faster build for the default minikube target
When we are doing the "cross" compile targets, we
force rebuilding all packages (up-to-date or not).

For the default native target "out/minikube", we
can do a much faster build (10x!), for development.

Leaving all the cross target to rebuild, as before.

Also the _test.go files are only used for unit tests.
2019-11-02 09:02:42 +01:00
tstromberg 53f70216ee Merge branch 'master' into v1.5.2 2019-10-31 09:35:32 -07:00
Medya Ghazizadeh fc8e032bdc
Merge pull request #5310 from afbjorklund/go_getter_tags
Avoid the s3 and gcs protocol handlers in go-getter
2019-10-30 16:54:48 -07:00
tstromberg 113aee0eef Version bump to v1.5.2 2019-10-30 16:08:49 -07:00
Medya Gh 77ccd4694d resolve conflict 2019-10-29 17:50:49 -07:00
Priya Wadhwa 169c3e7479 Add skeleton for performance scanning service
This service runs in a VM and is responsible for:

1. Determining which PRs need to be analyzed
2. Running mkcmp against each PR
3. Commenting the results on the PR via minikube-bot

This PR also moves the mkcmp code into its own directory.
2019-10-29 13:53:49 -07:00
Medya Ghazizadeh e2bbf7111e
Merge branch 'master' into NewCmdRunner 2019-10-27 00:18:00 -07:00
Thomas Strömberg d1151d9338
Merge pull request #5737 from tstromberg/v1.5.0
Update Makefile and CHANGELOG to v1.5.0
2019-10-25 18:31:47 -07:00
tstromberg 54edc89dbf Update Makefile to v1.5.0 2019-10-25 15:18:48 -07:00
tstromberg 9632748e52 Use GVISOR_IMAGE_VERSION instead of latest 2019-10-25 14:51:16 -07:00
tstromberg 9dfa1bfe6c Pull a specific version instead of latest, to avoid compatibility issues between addon and pushed images 2019-10-25 14:48:45 -07:00
Medya Gh 415f0ca659 makefile conflict 2019-10-24 13:28:18 -07:00
Medya Gh 45e5bebdb4 fixing pointer and teeSSH 2019-10-24 13:15:45 -07:00
Thomas Stromberg 908fec467e Upgrade to golangci-lint v1.21, add dogsled check 2019-10-23 14:37:47 -07:00
Anders F Björklund 530af941e4 Make minikube the default target again
Changed the first make target by mistake
2019-10-22 22:43:02 +02:00
Priya Wadhwa 76bfafb537 add 'make compare' Makefile rule 2019-10-21 13:11:30 -07:00
Sharif Elgamal 30f9577954
Merge branch 'master' of github.com:kubernetes/minikube into 1.5.0-beta.0 2019-10-21 13:04:22 -07:00
Priya Wadhwa 80940538bd remove 'make compare' rule as it won't work on windows 2019-10-21 11:20:13 -07:00
Priya Wadhwa 9856a04487 Add compare Make rule to compare current branch with master branch 2019-10-21 11:11:26 -07:00
Thomas Strömberg 667b8b9b5d
Merge pull request #5659 from priyawadhwa/skeleton
[performance] add Makefile rule and code skeleton for mkcmp
2019-10-21 09:45:49 -07:00
Thomas Strömberg 967ce4867d
Merge pull request #5663 from afbjorklund/lint-again
Pick some lint from the recent master commits
2019-10-21 09:44:14 -07:00
Thomas Strömberg 39fee2e201
Merge pull request #5665 from afbjorklund/linux-arm64
Build minikube for arm64 (aarch64) as well
2019-10-21 09:42:48 -07:00
tanjunchen 3f4bd38881 upgrade go version 1.12.9 -> 1.12.12 2019-10-21 18:24:45 +08:00
Anders F Björklund a14bc57f64 Build minikube for arm64 (aarch64) as well
This a pure build target, no test done (yet)
No virtualization supported on this platform

Adopt packaging to handle multiple arch, but
don't package anything extra by default yet.
2019-10-19 18:41:54 +02:00
Anders F Björklund 96c39bf050 Pick some lint from the recent master commits 2019-10-19 09:37:20 +02:00
Anders F Björklund 76a8df226f Remove duplication in make due to windows paths 2019-10-19 09:33:44 +02:00
Priya Wadhwa 484a66e082 Add skeleton for mkcmp
This PR adds a skeleton for mkcmp, a binary to compare the performance
of two versions of minikube. It adds a Makefile rule out/mkcmp which
builds the binary.
2019-10-18 16:55:58 -07:00
Sharif Elgamal 6730068b38 bump iso version to beta as well 2019-10-15 10:37:20 -07:00
Sharif Elgamal 27caa2a3ca Bump version to 1.5.0-beta.0 2019-10-15 10:33:59 -07:00
Anders F Björklund 2e20dddc4a Upgrade Buildroot to 2019.02 and VirtualBox to 5.2
New major version of Buildroot, with new Linux kernel.
Both are LTS versions, and are supported until 2020.

Buildroot is upgraded from 2018.05 to 2019.02 LTS,
and Linux from 4.15 to 4.19 LTS as included in BR2.

Also upgrade VirtualBox to the supported 5.2 version
of the older branch, so that it will work everywhere.

Need to remove the legacy symlink for crio.sock from
the image, since it was causing build time issues...
2019-10-13 15:13:02 +02:00
Sharif Elgamal 45bae85cdb
Update Makefile for version 1.4.1 2019-10-11 12:45:33 -07:00
Thomas Strömberg ffc81a8d9d
Merge pull request #5572 from corneliusweig/w/upgrade-linter
Bump golangci-lint to v1.20.0
2019-10-10 13:39:55 -07:00
Thomas Stromberg dffa8ec7d8 Disable interfacer lint check 2019-10-10 09:40:34 -07:00
Cornelius Weig ac10db6631 Bump golangci-lint to v1.20.0
This version comes with significant memory improvements, making some
adjustments for small memory footprint in the CI obsolete.
2019-10-09 00:23:32 +02:00
tstromberg 766e7c41ac Fix RAW_VERSION/ISO_VERSION typo 2019-09-18 13:57:29 -07:00
Thomas Stromberg b2d3ae8e0d Bump version to v1.4.0 2019-09-18 06:43:25 -07:00
Anders F Björklund 3125d2cc20 Avoid the s3 and gcs protocol handles in go-getter
This cuts some 10M off the minikube binary size...
2019-09-14 10:02:46 +02:00
Thomas Stromberg 2d3138fb92 Update lint-ci rule 2019-09-13 14:42:56 -07:00
Thomas Stromberg c1e4bcd3ec Update golangci-lint to v1.18.0 2019-09-13 14:07:07 -07:00
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
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