Commit Graph

274 Commits (a9b18cdc9463446c200e963618017de00db747ad)

Author SHA1 Message Date
Don McCasland 3226fa8aa2
Addressing review comments 2019-02-12 15:17:46 -08:00
Don McCasland 4c515e616c
Correcting boilerplate 2019-02-12 09:37:21 -08:00
Don McCasland 20064156c2 Adding boilerplate to run_tests.py 2019-02-12 08:23:14 -08:00
Don McCasland 6247ce0632
Adding a script that will run platform tests, parse results and write them out in format that prow can understand, then upload those results into a bucket that prow can read. 2019-02-11 15:27:39 -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 
2019-01-23 20:39:10 -08:00
Thomas Strömberg de7df46130
Merge pull request 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 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 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 () 2018-11-27 13:58:49 -08:00
Thomas Strömberg e16c7e2def
Merge pull request 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 () 2018-11-15 16:43:25 -08:00
Balint Pato 6715122998
adding continuous build logic ()
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 ()
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 ()
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
Thomas Stromberg 9da393fec3 Double quote to avoid accidental expansion. 2018-10-04 14:41:18 -07:00
Thomas Stromberg f3912d4f72 Fix shell boilerplate comment. 2018-10-04 14:40:48 -07:00
Thomas Stromberg 927a4d86d6 Replace += 1 with ++ 2018-10-04 14:32:44 -07:00
Thomas Stromberg 628fee2b44 Rename release notes script, add error detection. 2018-10-04 14:31:57 -07:00
Thomas Stromberg dd96eed9d4 Update doc. 2018-10-04 14:28:39 -07:00
Thomas Stromberg c7ac28356e Mark scripts as executable. 2018-09-26 15:38:41 -07:00
Thomas Stromberg abf6b5e5b6 Install gsutil if not already in PATH.
Also, some minor readability whitespace changes.
2018-09-26 15:37:17 -07:00
Praveen Kumar 23bd8de8d8 Issue change dependency management to dep 2018-09-26 11:58:13 -07:00
Matt Rickard 1080d813c0 remove r2d4 from brew PR comment 2018-08-01 09:05:56 -07:00
Asbjørn Apeland 5a78ac92f6 Change Linux install method
Previously, files installed to /usr/local/bin/ would be owned by the
user executing the command, not root. This change makes these installed
files owned by root instead. Improving security is the goal.
2018-07-31 10:55:22 -07:00
Bernhard M. Wiedemann 3c0dd23334 Allow to override build date with SOURCE_DATE_EPOCH
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

Fixes 
2018-07-24 14:22:30 -07:00
Aaron Prindle a4606583e4 remove all localkube references from code, change /var/lib/localkube to /var/lib/minikube 2018-07-24 12:36:42 -07:00
Aaron Prindle e2a6e60926 remove localkube from windows integration tests 2018-07-24 12:36:42 -07:00
Aaron Prindle f9a29cb768 remove last localkube bootstrapper test reference 2018-07-24 12:36:42 -07:00
dlorenc 2998411912 Makefile fix. 2018-07-24 12:36:42 -07:00
dlorenc 15b035748c Manual changes to remove localkube. 2018-07-24 12:36:42 -07:00
dlorenc 7a7bd457f2 Fix the windows install upload. 2018-07-17 11:18:55 -07:00
Aaron Prindle 9c1edabbeb add retry for artifact uploads on github release script 2018-07-03 08:55:56 -07:00
David Xia f38c68daba Update release_github_page.sh
Back ticks need to be escaped otherwise the enclosed
text won't show up.
2018-06-26 09:45:48 -07:00
commitay 867b5e6552 Update caskroom -> Homebrew references 2018-06-13 01:35:01 +10:00
commitay 9dcfd0f215 Update homebrew-cask release process: remove `checkpoint` 2018-06-13 00:58:16 +10:00
dlorenc 7277fb358c Fix vboxmanage cleanup 2018-06-08 10:22:43 -07:00
ruicao e726088118 Typo fix: dont't -> don't 2018-06-05 12:45:12 -07:00
dlorenc 0b4e5631df Switch all remaining e2e tests to kubeadm. 2018-06-05 10:43:16 -07:00
David Xia e53454b34f Update release docs' OSX installation method
to also mention how to install via homebrew.
2018-05-31 07:48:13 -07:00
dlorenc cc356e63c4 Miscellaneous none driver fixes. 2018-04-04 13:58:50 -07:00
dlorenc 09d4ecb25f Fix the jenkins build script to detect make errors.
Also fix the build itself.
2018-03-30 11:19:53 -07:00
Praveen Kumar 1327ea805c Issue Add sshfs support for minikube iso 2018-03-12 16:09:46 +05:30
Anders F Björklund ab52ab1f81 Get major and minor from version, for kubernetes 2018-02-03 19:56:04 +01:00
Patrick Ohly 9f1c344210 boilerplate.py: accept 2018
Happy New Year! 2018 is now a valid year for the copyright notice in a
file's header.
2018-02-02 09:29:18 -08:00
Brad Erhart 1093f2fb67
Fixed link for docker-machine-driver-kvm2 update
Fixed Git clone link for docker-machine-driver-kvm2 AUR package.
2018-01-27 13:40:36 -08:00
Matt Rickard 7aa3af174e
Merge pull request from r2d4/int-test-fix
Integration test fixes
2018-01-11 15:25:39 -08:00
Matt Rickard 997447211a Dont delete minikube home on windows integration tests 2018-01-11 11:33:29 -08:00
Matt Rickard eb598c67c2 Stop vm before unregistering in integration test cleanup 2018-01-11 11:19:05 -08:00
Matt Rickard 047d043278 Fix windows path in integration test 2018-01-11 11:18:31 -08:00
dlorenc e278d62eb5 Set permissions before cleanup.
Signed-off-by: dlorenc <dlorenc@google.com>
2018-01-10 13:48:51 -08:00
dlorenc 3d13450846 Make rbac creation idempotent.
Also cleanup the etcd data dir in jenkins.
2018-01-02 12:01:37 -08:00
Matt Rickard 843782795a Switch none test to use kubeadm 2018-01-02 12:01:37 -08:00
dlorenc dfc38a5942 Add a kubeadm reset command to the integration test cleanup.
This should fix some of the none driver issues with kubeadm.
2017-12-27 11:02:38 -08:00
dlorenc 697b3fbae1 Remove from set_pending. 2017-12-27 10:34:04 -08:00
dlorenc 7aee50d3c5 Remove some integration tests from deprecated drivers and switch more to kubeadm. 2017-12-27 10:34:04 -08:00
dlorenc 22fd03d0b2 Update mux.
We had some issues with mux/gorilla in our vendoring. This should fix it.
2017-12-27 08:05:56 -08:00
dlorenc 0af893fc6f Fix the godep-save script. 2017-12-22 12:26:57 -08:00
dlorenc 0a749f9336 More patches for component config. 2017-12-21 14:15:48 -08:00
dlorenc 8a19e676dd Fix kube-proxy patch. 2017-12-21 14:15:48 -08:00
Brad Erhart c54e695fdb Updated Jenkins release updater for Minikube-maintained KVM driver 2017-12-19 11:19:30 -08:00
dlorenc 8f91c37bba Properly support the "minikube-net" network. 2017-12-13 21:18:00 -08:00