Commit Graph

28 Commits (1f968bc8935fb84cd7f69b35095beae468dbf53c)

Author SHA1 Message Date
Balint Pato ae9f4b20c7
minikube tunnel (#3015)
This commit introduces a new command, `minikube tunnel`, a LoadBalancer emulator functionality, that must be run with root permissions.

This command:

* Establishes networking routes from the host into the VM for all IP ranges used by Kubernetes.
* Enables a cluster controller that allocates IPs to services external `LoadBalancer` IPs.
* Cleans up routes and IPs when stopped (Ctrl+C), when `minikube` stops, and when `minikube tunnel` is ran with the `--cleanup` flag
2018-10-18 11:01:47 -07:00
Thomas Stromberg c1fbd2c678 Remove unneccesary newline. 2018-10-04 13:32:54 -07:00
Thomas Stromberg e2ff1f566c Show diff only on changed files that are not excluded. 2018-10-04 13:31:04 -07:00
Thomas Stromberg d569a42554 Output the gofmt diff rather than just listing files.
It is otherwise difficult to debug issues when a contributors gofmt
version differs from the one Travis uses.
2018-10-04 13:19:40 -07:00
Matt Rickard a7d568441c Remove localkube from bindata
This makes the minikube build simpler and the the binary smaller.
Localkube will always be remotely fetched and locally cached on the
host.
2017-10-19 12:56:29 -04:00
Matt Rickard 57aa3e61a9 Use the build tags for containers/image everywhere 2017-08-30 22:36:21 -07:00
Aaron Prindle 840c8c2f82 Removed /docs and docs-test from test.sh 2017-04-10 09:47:17 -07:00
Matt Rickard b53320dee2 Ignore ./out folder in gofmt test 2017-01-17 13:00:36 -08:00
dlorenc 4299294814 Make the gofmt error a little easier to read in tests. 2016-09-22 14:55:43 -07:00
Matt Rickard 42a93b20b8 Use double brackets instead of single for boilerplate test
If you have multiple files without the boilerplate text, single
brackets won't print it out properly.
2016-09-06 11:09:30 -07:00
Aaron Prindle 85ae6ea86f Added test coverage monitoring. Also added comments to test.sh changes. 2016-08-18 16:19:03 -07:00
Jimmi Dyson a258387f34
Add make gendocs target 2016-07-08 17:56:15 +01:00
Dan Lorenc 595a9cbbc6 Add an automated test for the releases.json schema. 2016-06-26 11:54:22 -07:00
dlorenc ac14eff554 Move the addon-manager and dashboard configuration from the iso to minikube.
Minikube now copies these into the VM, just like it copies in localkube.
New ISOs will not contain these files, but this is compatible with the existing ISO
because minikube will overwrite existing files.
2016-06-09 15:35:09 -07:00
dlorenc c6a51b992d Minor bugfix in help text test. 2016-06-09 15:22:10 -07:00
aprindle 3c59245f32 Added gen_help_text.go and docs/ directory for cobra generated help
documentation.  Added test in Travis for making sure docs are up-to-date.
2016-06-07 16:44:06 -07:00
Lucas Käldström 1d3a172806 Use python on host if present, otherwise fallback on python dockerized 2016-05-28 00:09:16 +03:00
Lucas Käldström f1af7387cc PR feedback and added python-in-docker for test.sh too 2016-05-26 18:55:15 +03:00
Dan Lorenc 2858ff3b3e Check boilerplate in all files.
Also fix misisng boilerplate.
2016-05-24 21:57:16 -07:00
dlorenc 5cdb140b31 Switch from .gopath to _gopath to be consistent with kubernetes. 2016-05-24 10:54:24 -07:00
dlorenc f34e34fa20 Fix test.sh to run on mac.
The find command errors on Mac. This uses "go list", which should
be easier to maintain going forward.

Also switch to one "go test" execution with many paths. This lets
go test parallelize more effectively, and cuts the runtime down
from 2.5m to 1.5m on my workstation.
2016-05-20 11:44:45 -07:00
Dan Lorenc a184532414 Go-bindata is showing up in the test runs and failing for some reason. 2016-05-14 11:33:04 -07:00
Dan Lorenc 7d39206842 Fix test, also attempt to fix travis. 2016-05-14 11:18:13 -07:00
Dan Lorenc 3a0c1b0230 Add .gopath and generated code to the whitelist for gofmt. 2016-05-13 10:24:39 -07:00
dlorenc c1ec8be301 Code review comments
Clean up PHONY's
Make localkube dynamic
Put test.sh script back
2016-05-04 15:29:50 -07:00
dlorenc d8e2d8e2b7 Add a Makefile to replace build.sh and test.sh. 2016-05-04 14:45:06 -07:00
dlorenc 283ba20d51 Fix files with missing copyright headers. 2016-05-02 12:02:16 -07:00
Lucas Käldström 1d917c5658 Add a testing script 2016-05-01 20:42:32 +03:00