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
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
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