Commit Graph

577 Commits (3105c870ce6daeba95a9f5036aeb49c44a0cd612)

Author SHA1 Message Date
tstromberg 2a5174ad41 rsync needs -R, add version output 2019-10-14 12:12:48 -07:00
Thomas Strömberg 72698efd5f
Merge pull request #5620 from tstromberg/jenkins-mystery
gsutil: Remove trailing slashes, rsync instead of cp
2019-10-14 10:28:25 -07:00
tstromberg 47d558123d gsutil: Remove trailing slashes, rsync instead of cp 2019-10-14 09:06:31 -07:00
Marek Schwarz 09ce93faf0 Added delete --all to common.sh
Run delete --all after start_stop_delete_test
2019-10-10 21:32:27 +02:00
duohedron c8e41f3a79 Fix comment for extensionToBoilerplate in boilerplate.go 2019-10-10 12:34:40 +02:00
duohedron 4aa3edf640 fileExtension function replaced with filepath.Ext in boilerplate.go 2019-10-10 12:29:50 +02:00
duohedron 5e8e5eb7df Add verbose mode to boilerplate.go 2019-10-10 12:22:34 +02:00
duohedron d3dc222609 Refactor error handling in boilerplate.go 2019-10-10 11:56:12 +02:00
duohedron 42257156ee Comments refactored in boilerplate.go 2019-10-10 11:40:05 +02:00
duohedron 452498eb1b Move flags to var, change flags default value 2019-10-10 10:43:53 +02:00
tstromberg 34b6f6d4fb Include hostonlyifs cleanup 2019-10-09 15:55:30 -07:00
tstromberg 96b230ecf2 Fix wildcard deletion 2019-10-09 15:37:12 -07:00
tstromberg c389944391 Make virtualbox cleanup less repetitive and log statements 2019-10-09 14:15:33 -07:00
tstromberg fac45f54a4 Split vbox cleanup across two commands so that failures in one does not prevent further cleanup 2019-10-09 13:59:50 -07:00
Sharif Elgamal 35dd5db0de
Revert "clean up inaccessible virtualbox" 2019-10-09 13:55:01 -07:00
duohedron 896e2d90b9 Fix lint errors in boilerplate.go 2019-10-08 09:36:14 +02:00
duohedron a4fbd5714f Remove get from func names 2019-10-08 09:28:17 +02:00
Medya Ghazizadeh c5111ef3f5
Merge pull request #5559 from medyagh/cleanup_inaccessible
clean up inaccessible virtualbox
2019-10-07 22:33:24 -07:00
Sharif Elgamal c7c7201757
Fix Jenkins Cross script to copy testdata properly
`gsutil` changed its cp behavior starting with version 4.46, we need to change how we call it in order to preserve the directory structure our tests are expecting.
2019-10-07 14:53:19 -07:00
Medya Gh 008e4c9fcb dont fail on clean up dir 2019-10-07 14:32:32 -07:00
Medya Gh ea1c273987 clean up inaccessible virtualbox 2019-10-07 13:40:40 -07:00
duohedron 2e4512ea18 Squashed commit of the following:
commit 06c248b843151906dce6f2aa499e5aa521ad3147
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 16:20:56 2019 +0200

    Revert travis.yml

commit 18f8d2f1985834f1bd95e271e009b55b2d18c3fb
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 16:14:46 2019 +0200

    Switch lint and boilerplate in .travis.yml

commit e75dd2434da804649f5a0b6169f819037efd59ae
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 16:10:48 2019 +0200

    Fix env in .travis.yml

commit 94d105f50b8555e01303857dcb9ded0785dbd122
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 15:55:22 2019 +0200

    Fix fileExtension in boilerplate.go

commit b1b4e8145fc20c8a2a4e062b98f455206983b1d5
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 14:50:26 2019 +0200

    Fix absolute path containing skipped dirs in boilerplate.go

commit 52f8d62688d3289d4210ebd2ac81116c38aaf2fa
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 14:00:33 2019 +0200

    Modify Travis CI to use one VM instead of three

commit 99534ebe4c84f78dac12f2bc8b423143c6a79258
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 13:59:28 2019 +0200

    Changed fix.sh to use go run

commit dd3fd243341666e5d47d105fb2d25eedfecf1c74
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 13:37:08 2019 +0200

    Change go build to go run in test.sh

commit 2d5f22b826c205d2cbf5e9e0909555198c19d85f
Author: duohedron <kopi@duohedron.com>
Date:   Mon Oct 7 13:23:55 2019 +0200

    Fix whitespaces and function names
2019-10-07 16:48:37 +02:00
duohedron a0215e0ce8 Add comments to boilerplate.go 2019-10-06 23:11:58 +02:00
duohedron 2a33f62180 Remove unnecessary filename parameter from boilerplate.go 2019-10-06 23:06:41 +02:00
duohedron 6c907daa07 Fix/refactor boilerplate.go 2019-10-06 22:56:53 +02:00
duohedron 9447e9105b Skipp docsy submoduke from boilerplate check 2019-10-05 23:42:26 +02:00
duohedron bcd7d73389 Boilerplate checking python script replaced with go 2019-10-05 19:31:39 +02:00
chentanjun 9852c29ab2 fix-up typo 2019-09-22 10:10:37 +08:00
tstromberg 86617fb248 Fix RELEASE_FLAGS undefined bug, add survey callout 2019-09-19 10:58:08 -07:00
Thomas Stromberg 0651116ed1 Address lint issues 2019-09-18 06:38:50 -07:00
Thomas Stromberg 8b83c64d4a Remove trailing space 2019-09-18 06:37:03 -07:00
Thomas Stromberg 145208875d Copy ISO to github, improve release note parsing 2019-09-18 06:34:36 -07:00
Thomas Stromberg 5174ec6297 Fix markdown typo on release page 2019-09-18 06:17:02 -07:00
Thomas Stromberg e426d885d7 Remove all files in %stale_dir, to handle tests which add new files 2019-09-16 22:17:09 -07:00
Thomas Stromberg 9fb91ad4ab Remove test files sitting in stale_dir 2019-09-16 21:21:31 -07:00
Thomas Stromberg 9daa982244 Remove awk cut, not necessary for uuids 2019-09-16 21:02:51 -07:00
Thomas Stromberg 6a0ec545a6 Use uuids for deletion 2019-09-16 21:02:31 -07:00
Thomas Stromberg 3f38e63d5c integration tests: Revise leftover VM cleanup 2019-09-16 20:22:41 -07:00
Thomas Stromberg dd2725a870 Remove obsolete --minikube-args flag 2019-09-11 13:08:01 -07:00
Thomas Stromberg 7a5042793b Merge branch 'master' into norunner2 2019-09-11 11:54:24 -07:00
Thomas Stromberg bd915826b3 Decrease log spam, remove unused env vars 2019-09-11 09:57:29 -07:00
josedonizetti f22a8ce4f2 Add recursive copy to test/integration/testdata 2019-09-11 11:34:29 -03:00
tstromberg 0cac1eb4e4 Mark alpha/beta releases as a pre-release on GitHub 2019-09-05 15:39:40 -07:00
tstromberg c6cfd64ec2 Add - for ~ replacement in release_build_and_upload 2019-09-05 15:03:35 -07:00
tstromberg b14adecbe8 Substitute dashes for tildes when generating Linux packages 2019-09-05 14:35:35 -07:00
tstromberg e3ad0bb20e Set GOPATH, add diagnostics 2019-09-05 10:23:37 -07:00
Thomas Stromberg d455ba36d7 Allow alpha/beta releases 2019-09-04 15:41:13 -07:00
Thomas Stromberg 3fe41c6cf3 skip json and brew update if this is a non-standard release 2019-09-04 15:02:34 -07:00
Thomas Stromberg fe6527f8d5 Only call gsutil for non-alpha/beta releases, remove invalid GOPATH 2019-09-04 11:37:04 -07:00
Thomas Stromberg 964f11b85e Inline release notes into GitHub release page 2019-09-04 11:25:11 -07:00
Sharif Elgamal 830be73615
adding proper cleanup scripts for windows CI 2019-08-26 17:41:10 -07:00
Medya Ghazizadeh d49fe88921
skip gvisor test setup on mac (#5136)
* skip gvisor setup on mac
2019-08-20 02:39:35 -07:00
Medya Ghazizadeh c3cfedff79
Merge pull request #5121 from medyagh/refactor_util_kube
Add wait-timeout flag to start command and refactor util/kubernetes
2019-08-19 22:11:36 -07:00
Medya Gh 6a2883ca98 clean vbox procs before start test 2019-08-19 19:18:52 -07:00
Medya Gh 165a811d0c remove extra C 2019-08-19 18:36:19 -07:00
Medya Gh def1b91089 fix name 2019-08-19 17:43:12 -07:00
Medya Gh 05d81ffc5d clean up zombie procs before starting integration tests 2019-08-19 17:41:46 -07:00
Medya Gh dd94e15f7b move the gvisor test setup before the minikube start 2019-08-19 16:23:40 -07:00
Medya Gh af16d336da Fixed givsor test setup and added time out to integration test 2019-08-18 01:39:42 -07:00
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 3599e8fd7a Fix boilerplate 2019-08-16 17:02:38 -07:00
Medya Gh fda017d7b3 remove default, fix indent, set pipefail 2019-08-16 10:21:08 -07:00
Medya Ghazizadeh 8b7b06f8ca
Update release_build_and_upload.sh 2019-08-15 17:42:15 -07:00
Medya Ghazizadeh be0dc2d26c
update boilerplate year 2019-08-15 17:00:40 -07:00
Medya Ghazizadeh c02ea8eb40
Update release_build_and_upload.sh 2019-08-15 15:56:19 -07:00
Medya Gh 51dcf9243e Added comment 2019-08-15 15:44:22 -07:00
Medya Gh b6c8346df1 Fix string compare whitespace 2019-08-15 15:12:16 -07:00
Medya Gh f63208ba41 added chown 2019-08-15 15:07:28 -07:00
Medya Gh 6ace05d38b add go install to both release and cross build 2019-08-15 15:07:15 -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
Thomas Stromberg f2acb4a33e Update code references to new documentation URL's 2019-08-12 14:51:41 -07:00
Sharif Elgamal 294f880106
Localization support for help text (#4814)
* Translating help text

* explicity set usage template so we can localize it

* cleaning up extract and translation files

* Add extraction for flags help text

* some comments for extract

* refactor to account for new behavior

* Make usage template translations more palatable.

* remove commented code

* fix go mod

* pin to proper version in go.mod

* translate command grouping headers
2019-08-12 11:16:20 -07:00
Priya Wadhwa bd17652481 Merge branch 'master' of https://github.com/kubernetes/minikube into gvisor-image 2019-08-08 13:10:04 -07:00
Priya Wadhwa 94638de7fd Remove error in gvisor image since it works now 2019-08-08 12:52:40 -07:00
tstromberg bbe9e8a228 OS<->driver 2019-08-06 16:37:10 -07:00
tstromberg c8a24b3629 Delete old code 2019-08-06 16:33:25 -07:00
tstromberg eb4fdaab66 Consistently use <driver>_<OS> for test targets 2019-08-06 16:33:17 -07:00
tstromberg cfdc944e74 Consistently use <driver>_<OS> for test targets 2019-08-06 16:33:04 -07:00
Priya Wadhwa 24a2748af8 rebased, fixed merge conflicts 2019-08-05 13:53:23 -07:00
Medya Gh 6b495f8cdb move download logic to TestDownloadOnly 2019-08-01 10:58:00 -07:00
Medya Gh 59e6dc8f46 add more tear down and clean up 2019-08-01 00:31:38 -07:00
Medya Ghazizadeh 7ed6710eda
Update osx_integration_tests_hyperkit.sh 2019-07-30 22:46:23 -07:00
Medya Ghazizadeh 09b8d4d2b0
Update osx_integration_tests_virtualbox.sh 2019-07-30 22:45:59 -07:00
Medya Ghazizadeh 83ad8ef6c5
Update linux_integration_tests_virtualbox.sh 2019-07-30 22:45:44 -07:00
Medya Ghazizadeh 911f0e7ecf
Update linux_integration_tests_kvm.sh 2019-07-30 22:45:29 -07:00
Medya Gh ea2278ec76 Trying 4 2019-07-30 21:21:33 -07:00
Medya Gh 1e189815fd trying 6 2019-07-30 19:30:11 -07:00
Medya Gh 0c1796e202 Trying settings parallel 2 2019-07-30 18:18:48 -07:00
Medya Gh ca7bee4936 tweak parallel setting 2019-07-30 13:21:53 -07:00
Medya Gh ce27dba276 Added timeout for start 2019-07-30 10:45:52 -07:00
Medya Gh 4c8ea939ab defer delete minikube in all tests 2019-07-30 10:45:31 -07:00
Medya Gh eee34071fe Added new config var for test script PARALLEL_COUNT 2019-07-30 10:45:05 -07:00
Medya Gh 050c7aedb3 add new helper for minikube runner fix proxy test
merge upstream commons
2019-07-30 10:44:21 -07:00
Medya Gh e3db9a41ba decouple isNoneDriver from minikube driver for more reusability 2019-07-30 10:43:47 -07:00
Medya Gh 25bc27e170 move file download logic to common.sh 2019-07-30 10:43:20 -07:00
Medya Gh 9b3f72024a list vms after clean up 2019-07-30 10:42:55 -07:00
Medya Gh ab28a3ced1 # This is a combination of 5 commits.
# This is the 1st commit message:

organize integration tests files by type

# This is the commit message #2:

Adding separate profile for each kind of test

# This is the commit message #3:

Adding clean up to delete newly added TestVms

# This is the commit message #4:

goimport

# This is the commit message #5:

making them run in parallel
2019-07-30 10:40:38 -07:00
Sharif Elgamal e86969d4fc
Adding cleanup CI scripts to source control (#4916)
* Adding cleanup CI scripts to source control

* cleanup

* spelling

* small fixes
2019-07-29 17:48:12 -07:00
Medya Gh 64cced0538 exclude bash hyperkit from being cleanup 2019-07-28 00:06:10 -07:00
Medya Gh b6ea8d8e6b increase timeout 2019-07-27 20:08:12 -07:00
Medya Gh 9852ebbb68 CI: list vms after clean up 2019-07-27 18:13:03 -07:00
Medya Gh fb1b6ebbef remove inaccessible stale vbox vms 2019-07-27 15:57:17 -07:00
Medya Gh 32257a9418 Add -E to sudo for preserving env 2019-07-27 15:46:10 -07:00
Medya Gh 5f31c85231 CI: clean up stale none process 2019-07-27 15:16:23 -07:00
Medya Ghazizadeh de8dddf094
Update common.sh 2019-07-26 17:45:27 -07:00
Medya Ghazizadeh 546eb8e05c
Update common.sh 2019-07-26 16:49:12 -07:00
Medya Ghazizadeh 7bc2eac7f3
Update common.sh 2019-07-26 16:43:22 -07:00
Medya Ghazizadeh 9db0757690 kill hung procc with sudo and release port (#4882) 2019-07-26 13:23:15 -07:00
Priya Wadhwa 9eef647769 save file in MINIKUBE_HOME 2019-07-16 10:32:10 -07: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
Priya Wadhwa 6f65e3f822 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-07-15 17:01:24 -07:00
cclauss a23169c25e
Undefined name 'test' in run_tests.py
This issue was hidden by the syntax error in #4741

$ __time flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics__
```
./hack/prow/run_tests.py:28:32: F821 undefined name 'test'
  classname = os.path.basename(test).split('.')[0]
                               ^
1     F821 undefined name 'test'
1
```
2019-07-15 19:15:40 +02:00
Anders F Björklund a1e1090422 Add linux packaging for the kvm2 driver binary 2019-07-14 09:28:27 +02:00
Priya Wadhwa f55b38ec21 Merge branch 'master' of github.com:kubernetes/minikube into gvisor-image 2019-07-11 16:21:39 -07:00
cclauss 610419df04 Use print() function in both Python 2 and Python 3
Signed-off-by: cclauss <cclauss@me.com>
2019-07-12 00:32:38 +02:00
Priya Wadhwa 065045e02a Save gvisor-image.tar in /files 2019-07-11 15:18:56 -07:00
Priya Wadhwa d68e054dfd Attempt to copy gvisor tar and load with ctr 2019-07-11 11:58:57 -07:00
Priya Wadhwa 3ffe2af1e4 Point docker daemon to minikube and rebuild docker image 2019-07-10 16:14:46 -07:00
Priya Wadhwa e6653b78eb Build and push the gvisor image, setting an environment variable
which can be picked up during integration testing.

I opted to do it this way because the locally built gvisor image wasn't
being picked up by minikube, because the docker daemon wasn't
configured, since minikube isn't up and running yet. Even if the docker daemon was configured to point to
minikube, we wouldn't be able to build the gvisor-image from the test
itself.
2019-07-10 14:13:17 -07:00
Priya Wadhwa 6086259696 fix destination in common.sh 2019-07-10 13:01:08 -07: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
fang duan 0900b2b73b Reduce direct dependency by using glog 2019-06-26 10:35:48 -07:00
Thomas Stromberg 5f4c0e2bbb Increase Jenkins test time from 75 to 90 minutes 2019-06-20 16:21:36 +08:00
Medya Gh bb8ab6d3e3 adding hyperv integration script 2019-06-05 15:21:55 -07:00
tstromberg 159e69fa10 Return err 2019-05-14 20:20:53 -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
Sharif Elgamal 02cf642a7d
Add script to update kubernetes version 2019-05-01 15:06:21 -07:00
tstromberg 3b9b5e5e75 Document required env variables 2019-04-29 16:06:13 -07:00
tstromberg 198d794ba5 Remove unused ArchLinux releaser, raise errors if Brew push fails.
Also renames release_update_installers.sh to release_update_brew.sh.
It's preferable for each package script to run in its own process space.
2019-04-29 16:03:05 -07:00
Sharif Elgamal a415ffef07
fix boilerplate 2019-04-03 11:12:08 -07:00
Sharif Elgamal 9565c9303a
adding boilerplate 2019-04-02 15:59:47 -07:00
Sharif Elgamal 15614bf1bc
Add conformance test script 2019-04-02 15:50:54 -07:00
Anders F Björklund f7a8294126 The GitHub release notes were missing a version 2019-03-27 18:24:44 +01:00
Thomas Stromberg 22a9dbb69b Increase test timeouts 2019-03-25 19:10:01 -07:00
Anders F Björklund bedcd7bf98 Include checksum for the docker-machine drivers 2019-03-24 16:31:53 +01:00
Anders Björklund 844a3ee1e9
Merge pull request #3838 from afbjorklund/dos
Fix exe suffix and missing checksum for windows binary
2019-03-13 20:19:24 +01:00
Thomas Strömberg 44372fa0ac
Merge pull request #3815 from tstromberg/v0.35.0
Add script to automate tag creation.
2019-03-11 09:37:44 -07:00
Anders F Björklund 1fd7c0ddf6 Fix exe suffix and missing checksum for win bin
Windows needs that DOS suffix, so we make a copy
2019-03-10 10:46:47 +01:00
Anders F Björklund f1179da0ae Add missing variable and upload of rpm to github 2019-03-07 07:18:27 +01:00
Thomas Stromberg d62b982c56 Add script to automate tag creation. 2019-03-06 17:57:17 -08:00
Anders F Björklund 3becc78d5e Build rpm package as part of the release process 2019-02-26 19:58:12 +01:00
Anders Björklund dc39b13972
Merge pull request #3745 from afbjorklund/deb
Improve building of deb package (versioning and permissions)
2019-02-26 19:56:41 +01:00
Thomas Strömberg afced6ccb1
Merge pull request #3653 from donmccasland/prow-results-script
Prow results script
2019-02-25 11:25:07 -08:00
Anders F Björklund 2acf369bae Fix versioning of the deb package, remove revision
Closes #3741
2019-02-24 20:36:10 +01:00
Don McCasland ffc834c3fe
out-dir for consistency 2019-02-21 16:44:21 -08:00
Don McCasland cbc1b08af9
Adding classname parser and clarifying test_script parameter 2019-02-20 11:12:35 -08:00
Don McCasland 0445c31939
differentiating build_log and build_log_file 2019-02-20 11:08:01 -08:00
Thomas Stromberg 8b93331ff3 none tests: Cleanup /var/lib/minikube 2019-02-14 20:20:49 -08:00
Don McCasland 63ff0b3d0b
args list can be simpelr 2019-02-14 13:30:54 -08:00
Don McCasland 565a9c8559
Addressing review comments 2019-02-12 15:26:17 -08:00
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 #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
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 #3037 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 #3005
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 #2599 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 #2419 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