Commit Graph

221 Commits (8e5fd5b2750b05cfc07376d15d1215a7642474b9)

Author SHA1 Message Date
Thomas Stromberg 8b93331ff3 none tests: Cleanup /var/lib/minikube 2019-02-14 20:20:49 -08:00
Thomas Stromberg e98e789923 Make date regexp more flexible so that we don't have to update it yearly 2019-02-07 10:20:05 -08:00
Thomas Strömberg f09ad240fc
Use minikube-bin AUR instead of minikube
Resolves #2640
2019-01-23 20:39:10 -08:00
Thomas Strömberg de7df46130
Merge pull request #3456 from tstromberg/kubeadm-reset
First try "kubeadm reset" without -f, primarily for older versions.
2018-12-18 11:03:05 -08:00
Thomas Stromberg 5e2dc6948e Extend Jenkins integration test timeout from 30m to 50m.
We've recently added TestFunctionalContainerd, which can take 10-15
minutes, pushing us over the edge in many cases.
2018-12-17 11:46:21 -08:00
Thomas Stromberg 382bfabf0c First try "kubeadm reset" without -f, primarily for older versions.
For newer versions, it seems more pleasant anyways. This approach is at
least less ugly than parsing JSON from a shell script to version sniff.
2018-12-14 14:10:39 -08:00
Thomas Strömberg e90390d307
Merge pull request #3415 from tstromberg/routes
Report and clean up stale tunnel routes
2018-12-06 08:20:24 -08:00
Thomas Stromberg 41fd26a063 Use ip route commands on Linux, as they show the subnet which may be required for deletion 2018-12-05 17:31:16 -08:00
Thomas Stromberg 198c1724c7 none cleanup: force kubeadm, clear /etc/kubernetes, and use sudo for kubectl kill 2018-12-05 17:31:16 -08:00
Thomas Stromberg 468182238c Revert "Use ip route commands on Linux, as they show the subnet which may be required for deletion"
This reverts commit fc5256b21e.
2018-12-05 17:28:19 -08:00
Thomas Stromberg fc5256b21e Use ip route commands on Linux, as they show the subnet which may be required for deletion 2018-12-05 17:27:39 -08:00
Thomas Strömberg 21288ad283
Merge branch 'master' into dead-mount 2018-12-05 17:21:11 -08:00
Thomas Stromberg cd5d5b33a3 Redirect output on delete, leave it on cleanup 2018-12-05 15:24:01 -08:00
Thomas Stromberg 8192620c3f tunnel --clean should be tunnel --cleanup 2018-12-05 15:20:13 -08:00
Thomas Stromberg eaf6c9248d Explicitly call tunnel --cleanup, use ip route on Linux 2018-12-05 15:13:48 -08:00
Thomas Stromberg b5707d56e6 add or-trues 2018-12-05 13:49:56 -08:00
Thomas Stromberg 1b155d9952 add or-trues 2018-12-05 13:48:31 -08:00
Thomas Stromberg 0a40801421 kill hung test commands and improve hung process output 2018-12-05 13:18:00 -08:00
Thomas Stromberg d7cc1a2938 Cleanup stale minikube routes instead of just outputting a route table 2018-12-05 12:02:15 -08:00
Thomas Stromberg a93866e4e0 Merge branch 'master' into routes 2018-12-05 10:49:24 -08:00
Thomas Stromberg 82668a7c0d Fix variable expansion to avoid confusing error message 2018-12-05 10:49:17 -08:00
Thomas Stromberg 4b33fd2dc4 Add missing } 2018-12-05 10:18:33 -08:00
Balint Pato 28bfc5ec53
Update hack/jenkins/print-debug-info.sh
Co-Authored-By: tstromberg <tstromberg@google.com>
2018-12-04 15:16:05 -08:00
Balint Pato 568c4ef889
Add -f inet
Co-Authored-By: tstromberg <tstromberg@google.com>
2018-12-04 15:15:54 -08:00
Thomas Stromberg 2a67d65bf5 Add tunnels.json and netstat -rn (before & after) to debug output 2018-12-04 14:11:15 -08:00
Thomas Stromberg f18e05a8d4 none cleanup: force kubeadm, clear /etc/kubernetes, and use sudo for kubectl kill 2018-12-04 13:37:31 -08:00
Thomas Stromberg 5a4b316e3e Merge branch 'master' into none_cleanup 2018-12-03 14:55:15 -08:00
Thomas Stromberg d56dc5dbfe Avoid confusing log messages by moving TEST_HOME creation to after cleanup 2018-12-03 14:54:32 -08:00
Thomas Strömberg 8388503b4d
Merge pull request #3395 from tstromberg/none_cleanup
Disable running kubelets and show any minikube/e2e processes that are running
2018-12-03 14:23:58 -08:00
Thomas Stromberg 961199a7fa Stop active kubelets 2018-12-03 12:46:58 -08:00
Thomas Stromberg e3d97e6a71 Show any running minikube and e2e processes 2018-12-03 12:46:25 -08:00
Thomas Stromberg c518e31d89 Fix incomplete ssh line, add useful debugging commands 2018-12-03 10:29:37 -08:00
Thomas Stromberg 0e69c14b93 fix invalid OS_ARCH check, and list kubectl processes 2018-11-30 06:45:50 -08:00
Thomas Stromberg 48e6f2c6cf Remove ps output, make status independent of rest of minikube debug chain to avoid dependencies 2018-11-30 06:44:32 -08:00
Thomas Stromberg a571aa7fb7 || true everything 2018-11-29 21:44:20 -08:00
Thomas Stromberg 3b46d1cd00 Less output spam 2018-11-29 16:22:07 -08:00
Thomas Stromberg d8d727bd8d Add trailing newline 2018-11-29 15:51:41 -08:00
Thomas Stromberg 45ebebb125 Fix missing } 2018-11-29 15:50:45 -08:00
Thomas Stromberg 3f1b8a0c02 Merge branch 'master' into corresponding 2018-11-29 15:50:29 -08:00
Thomas Stromberg 81cdbae8d5 Refactor test harness to isolate test outputs 2018-11-29 15:43:40 -08:00
Balint Pato e626e38e95
removing Windows check temporarily (#3369) 2018-11-27 13:58:49 -08:00
Thomas Strömberg e16c7e2def
Merge pull request #3266 from tstromberg/cross-build
Fix invalid build result comparison in the cross build script
2018-11-19 21:13:17 -05:00
Thomas Strömberg b6308bffbd Remove obsoleted job types so that they no longer show as pending (#3335) 2018-11-15 16:43:25 -08:00
Balint Pato 6715122998
adding continuous build logic (#3340)
to reuse the same jenkins jobs, I just added extra logic into the
current scripts, namely: for cases when `$ghprbPullId` equals "master",
we ignore setting the github statuses.
2018-11-15 16:25:04 -08:00
Thomas Stromberg 72348ccf3a Add missing / 2018-10-19 16:25:32 -07:00
Thomas Stromberg cc690750cf Ensure that all variables are expanded out. 2018-10-19 16:10:35 -07:00
Thomas Stromberg 0f57ffa836 Fix bad build result comparison.
Also apply https://google.github.io/styleguide/shell.xml and
https://sipb.mit.edu/doc/safe-shell/ while I'm in here.
2018-10-19 16:00:06 -07:00
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
Balint Pato 64e1853910
small fixes to boilerplate and integration test scripts (#3212)
Introduces hack/boilerplate/fix.sh that automatically fixes the copyright header in files.
2018-10-17 14:22:26 -07:00
Thomas Stromberg 3629d8877a Add space instead of empty comment to make boilerplate check happy. 2018-10-04 15:56:55 -07:00