Commit Graph

347 Commits (59eb97408855474f5badfaef166c9a8d522a8612)

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