Commit Graph

663 Commits (54f94000065d186b05fe6363d090fb1923b9b3e5)

Author SHA1 Message Date
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
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
dlorenc 94e5548ced Remove openapi patch.
This is now upstream.
2017-12-11 10:24:35 -08:00
kairen 745645b929 Use yaml file to create nginx pod and service 2017-12-02 03:28:47 +08:00
kairen 1fded4e97e Copy nginx-ing.yaml to testdata directory on Jenkins 2017-12-02 02:46:52 +08:00
Matt Rickard a3f3d8f9fe Calculate checksum in release job 2017-11-30 09:32:35 -08:00
Praveen Kumar 011d044ff4 Issue #2045 Add test for minikube-iso to use with minishift 2017-11-22 09:12:56 +05:30
Matt Rickard 3fceab3b51 Download localkube in e2e test 2017-10-31 09:40:26 -07:00
Matt Rickard c20ebde431 Bypass version check for localkube file URI 2017-10-30 09:22:33 -07:00
Matt Rickard a2a4780186 Explicitly use localkube bootstrapper and binary
Use the localkube binary built from CI in the integration tests.
2017-10-30 09:22:33 -07:00
Matt Rickard bb9b7b1385
Merge pull request #2125 from r2d4/release-update
Update release scripts
2017-10-27 12:50:21 -07:00
Matt Rickard 470eacce07 Update release scripts
* Upload hyperkit and kvm2 drivers
* Cosmetic fixes
* Build in parallel
* Upload in parallel
2017-10-26 17:01:57 -07:00
Matt Rickard 2c4d40e146 Add jenkins logs regardless of exit status 2017-10-24 10:18:24 -07:00
Matt Rickard 9fc49c2029 Remove exited containers too for jenkins 2017-10-19 11:33:35 -04:00
Matt Rickard 0df72cadd5 Merge pull request #2052 from r2d4/cri-o
Add convenience container-runtime flag for kubeadm
2017-10-17 14:36:24 -07:00
Matt Rickard e5002afa8c add vendor 2017-10-13 10:21:09 -07:00
Matt Rickard 320b5cdb77 Add windows virtualbox kubeadm crio test 2017-10-11 14:06:00 -07:00
Matt Rickard b7ec12a09e Run make rules in parallel 2017-10-05 12:33:43 -07:00
Matt Rickard e213fceb99 Split driver compilation from cross build 2017-10-05 12:03:15 -07:00
Aaron Prindle c6d2e491a3 Merge pull request #1774 from aaron-prindle/none-docker-rm-kill
Added command to remove and kill all kubernetes containers from docke…
2017-10-04 11:30:57 -07:00
Matt Rickard 7cc7452ee9 Add patch for openapi 2017-10-04 08:59:50 -07:00
Aaron Prindle 10e6e6ade1 added cleanup for docker containers in none driver 2017-10-02 11:48:35 -07:00
Matt Rickard 4c5a113663 Use virtualbox on windows for integration tests 2017-10-02 08:59:13 -07:00
Aaron Prindle 959720fe8d added localkube devshell container tests to jenkins 2017-09-29 10:07:55 -07:00
Matt Rickard 60a0589205 Always build in docker the binaries 2017-09-18 10:58:34 -07:00
Matt Rickard 53e5806d3a Add jenkins integration tests for kubeadm
Add status for kubeadm integration tests
2017-09-14 13:51:37 -07:00
Matt Rickard f526402191 Use upstream branch for homebrew installer 2017-09-14 10:20:42 -07:00
Matt Rickard 3180e2e897 Merge pull request #1938 from r2d4/integration-test-cleanup-
Integration test cleanup
2017-09-12 14:28:28 -07:00
Matt Rickard f966c8cf31 Add NewMinikubeRunner, separate start args
* Separate start args from args passed to every command.  This is so
that we can call `minikube logs` and `minikube status` with the proper
flags (for the bootstrapper)

* Add a NewMinikubeRunner function to make getting a minikube runner
easier.
2017-09-08 20:14:21 -07:00
Matt Rickard 70a24476f3 User master's ssh for aur push
There were a few issues with trying to inject the secrets using the
jenkins credentials helper
2017-09-08 11:48:24 -07:00
Matt Rickard ac65b58363 Review feedback 2017-09-06 10:22:09 -07:00
Matt Rickard 967ac2c754 Keep ~/.minikube/cache directory
We shouldn't blow away the cache on every integration test.

keep .minikube for tests

hack/jenkins: Delete VM before manual cleanup
2017-08-30 22:36:21 -07:00
Matt Rickard 81f12caa87 Merge pull request #1828 from r2d4/in-tree-kvm
Bring KVM driver in-tree
2017-08-30 10:46:29 -07:00
Matt Rickard 531e81103f Rename kvm driver to kvm2 2017-08-28 11:52:39 -07:00
Matt Rickard 48b165808c Bring KVM driver in-tree
Add boilerplate

Review feedback
2017-08-28 11:52:35 -07:00
Matt Rickard afc8b52fd8 Change cleanup command to accomodate swap disk
Hyperkit was mounting swap disks, which we can't detach with the
hdiutil util like we're using.  Its sufficient to just hdiutil detach
/dev/disk1

```
/dev/disk1	FDisk_partition_scheme
/dev/disk1s1	Linux
/dev/disk1s2	Linux_Swap
```
2017-08-28 10:43:32 -07:00
dlorenc a05a4fe35a Code review feedback. 2017-08-24 11:54:59 -07:00
dlorenc e3d239929b Jenkins/Makefile targets. 2017-08-24 11:54:59 -07:00
Matt Rickard 41ebed7b62 Merge pull request #1870 from r2d4/none-cleanup
Clean up running containers for none driver
2017-08-22 20:15:33 -07:00
Matt Rickard 1bf84c4c11 Clean up running containers for none driver
If containers are running from a previous run of the none driver, the
subsequent test runs will fail.
2017-08-22 18:03:38 -07:00
Matt Rickard 9d6541075e Move e2e binary compilation to makefile 2017-08-22 17:01:13 -07:00
Matt Rickard a94dc0aee2 Don't check error on hack/ remove docker images
Sometimes there aren't any to remove.
2017-08-16 20:11:45 -07:00
Aaron Prindle 19a8aa30b8 Merge pull request #1750 from aaron-prindle/localkube-dind-container
Add additional localkube-dind docker image.
2017-08-16 15:39:30 -07:00
Aaron Prindle 20f99fc500 Add additional localkube-dind docker image. 2017-08-16 15:30:07 -07:00
Matt Rickard 87a29ada7a Merge pull request #1784 from r2d4/1.7.3
1.7.3
2017-08-11 09:04:13 -07:00
Matt Rickard 491a3e3151 Merge pull request #1789 from r2d4/cleanup-before-build
Cleanup exited containers before build.
2017-08-04 18:56:41 -04:00
Matt Rickard 370beb5a65 Cleanup exited containers before build.
So we don't run out of space
2017-08-04 14:33:18 -07:00
Matt Rickard f66a780cf7 Delete extra upgrade script
This made it through the master-1.7 rebase, since the script in the 1.7
branch was named godep-update-k8s.  That one is the correct one.
2017-08-04 14:29:48 -07:00
Matt Rickard 024dd365a4 Use `make generated_files` instead of bazel
Ran into https://github.com/bazelbuild/rules_go/issues/661, which has
been fixed at HEAD, but is broken at tag 1.7.3
2017-08-04 13:08:35 -07:00
dlorenc 8837045970 Stop using insecure serving. 2017-07-26 14:38:57 -07:00
Matt Rickard b01d3efbca Set gopath in release script 2017-07-25 17:03:43 -07:00
dlorenc 9f1a6bf920 A few tweaks to our hack/* scripts for updating k8s. 2017-07-25 10:56:22 -07:00
dlorenc 45408b7fbb Add some more helpful info to debug. 2017-07-25 08:56:33 -07:00
Matt Rickard 6eeda22c06 Merge pull request #1730 from r2d4/print-debug
Add some debugging output when the tests fail
2017-07-24 15:00:24 -07:00
Matt Rickard 0aa9c3b860 Add some debugging output when the tests fail 2017-07-24 13:17:59 -07:00
Matt Rickard 0fec8ffaa1 jenkins: Set github status pending on Linux-None 2017-07-21 14:44:29 -07:00
Matt Rickard 9433a90888 Fix godep-* hack scripts for 1.7
* Added a godep-update-k8s script for upgrading.
$ KUBE_VERSION ./hack/godeps/godep-update-k8s.sh

* Added client-go version ldflags to localkube and minikube.  The
version package is now split in both kubernetes and client-go, so we
need to supply both ldflags.

* Change cross builds to use BUILD_IN_DOCKER

* Add a patch for kube-proxy
The setup of kube-proxy recently changed, making the registering of the
component config a fatal error instead of a warning.  This patch
reverts it to be a warning, which is a no-op for us anyways since we
don't supply a config file.
2017-07-13 09:16:43 -07:00
Matt Rickard 93a474e541 Merge pull request #1656 from r2d4/docker-build
Do dockerized builds for minikube and localkube
2017-06-29 15:24:08 -07:00
Matt Rickard f99888219f Switch cross builds to use BUILD_IN_DOCKER
minikube-linux-amd64 and minikube-darwin-amd64 cannot be cross built
natively on different platforms and must be built in the container.
2017-06-29 11:24:57 -07:00
Matt Rickard a367be016e Automate updates to AUR and brew-cask
Automatically updates the AUR installer and pushes the new package.
Updates the brew installer and sends a PR to the brew package repo.
2017-06-23 11:00:24 -07:00
Matt Rickard 08e009f560 Remove fake _gopath
Don't symlink into fake gopath, just use normal gopath.  This removes a
lot of the misleading warning messages from building minikube
2017-06-21 15:07:34 -07:00
Arve Knudsen 0a3e2042e2 Fix typos
Fix typos and otherwise make more consistent.
2017-06-20 09:28:19 -07:00
Budh Ram Gurung 0ebed25392 Fix copyright header boilerplate for year 2017 2017-06-16 22:26:21 +05:30
Matt Rickard f1f0dd26e8 Add some cleanup commands to the integration tests
Bad tests that panic won't clean themselves up properly.  By putting
these cleanup commands before we run the minikube integration tests, we
ensure that minikube will have a clean environment to run.

These all run in common.sh to make sure that even hypervisors that they
arent testing don't interfere with their own test.  OS specific
commands will fail silently.
2017-06-12 13:55:04 -07:00
Aaron Prindle f4a8ece0ae Additional none driver changes 2017-05-26 13:33:26 -07:00
Aaron Prindle 88613090a9 Added none driver 2017-05-19 14:51:19 -07:00
Aaron Prindle 847b52d50f Fixed mount daemon to be off by default and to use different directories than the current mounts until they are turned off. 2017-05-19 14:00:18 -07:00
Aaron Prindle c9767886f6 Added mount daemon process that is starts/stops w/ minikube start/stop 2017-05-17 11:50:24 -07:00
Matt Rickard 5b1b1726f0 Ignore all staging repos in minikube Godeps
Kubernetes vendors these repos directly from the staging directory even
though they now have their own repositories on github.  We should use
the code from the staging/ directory since it is guaranteed to be
compatible with the version of kube we are vendoring.
2017-05-16 15:12:08 -07:00
Matt Rickard 1ba206f9b1 Merge pull request #1497 from r2d4/tpr-patch-fix
Fix patch for TPR panics in localkube
2017-05-15 20:39:08 -07:00
Matt Rickard b02235c134 Fix patch for TPR panics in localkube
The patch correctly identified the metadata problem but did not skip
over when collecting the group metadata for the restmapper.
2017-05-15 13:34:43 -07:00
dlorenc 4e23392c03 Add some extra cleanup to common.sh (#1495)
* Add some extra cleanup to common.sh

* Sudo more commands.
2017-05-15 11:19:11 -07:00
Matt Rickard bf40727fea Merge pull request #1480 from r2d4/localkube-script
Add script to automate localkube upgrades
2017-05-12 10:39:55 -07:00
Giancarlo Rubio 91a0645bac fix broken links and scripts paths 2017-05-12 13:07:50 +02:00
Matt Rickard 7602eeda4f Add script to automate localkube upgrades 2017-05-11 13:30:33 -07:00
Matt Rickard 01f7216af1 Run integration tests with default args
We should run all the integration tests with the default minikube
values.
2017-05-08 13:47:00 -07:00
Matt Rickard 69109214a3 use latest r2d4-kvm-driver 2017-05-05 15:38:54 -07:00
Matt Rickard 3e328c8e3a Move gen_helptext out of top level
Output docs to out/docs instead of ./docs since we have real
documentation in that folder now.
2017-05-03 15:30:27 -07:00
Matt Rickard d76003ba34 Merge pull request #1427 from r2d4/kvm-driver-t
Run KVM tests against r2d4/kvm-driver too
2017-05-03 14:37:34 -07:00
Matt Rickard 75a225227c Run KVM tests against r2d4/kvm-driver too
If the performance is better and the integration tests consistently
pass, we can look into bringing this code in tree.
2017-05-03 10:13:38 -07:00
Matt Rickard 03c3f7f138 Add warning when no groupMeta exists for verison
Reference: https://github.com/kubernetes/kubernetes/pull/44771

Fixes https://github.com/kubernetes/minikube/issues/1252

TPRs are incorrectly coupled with the RestMapper right now.  The real
solution is for TPRs to not register themselves with the RestMapper.
This is a short term patch for minikube until the work is done
upstream.  On start/stop, the namespace controller and the garbage
collector controller both call this code and panic since TPRs have
registered themselves with enabled versions but have no group metadata.
2017-05-01 10:11:03 -07:00
Matt Rickard ecac356933 Fix godep-restore script with new gopath
* We should be calling the hack/godep-restore script in kubernetes
instead of the normal godep restore ./...

* There was a typo in the case where a user didn't already have the
kubernetes repo cloned.
2017-04-25 10:45:11 -07:00
Matt Rickard 184d9461df Add godeps hack scripts 2017-04-14 13:20:50 -07:00
Aaron Prindle 4b94b14459 Merge pull request #1293 from aaron-prindle/switch-mount
Update mount implementation, add mount integration tests, and check t…
2017-04-06 14:33:22 -07:00
Aaron Prindle 8e801e3975 Update mount implementation, add mount integration tests, and check that path exists. 2017-04-06 13:39:25 -07:00
Matt Rickard 4aae1c6d5c Add build date to localkube 2017-03-21 10:06:11 -07:00
Matt Rickard 2442d8f020 Only detect iso changes from merge-base on master
When new iso changes are commited to master, don't count them as diffs
with old PRs that haven't been rebased.  That way, we don't rebuild the
iso for PRs that don't contain the upstream fixes yet.
2017-03-14 13:50:08 -07:00
Dan Lorenc 8fd8564acd Add an integration test for pvcs. 2017-02-27 13:43:19 -08:00
Matt Rickard a0134e11a8 Simplify release-iso jenkins job 2017-02-16 15:35:22 -08:00
Matt Rickard 7eebbf9e32 Clean up unused jenkins scripts 2017-02-16 15:17:55 -08:00
Matt Rickard a125157f44 Detect and test against ISO changes
When changes are made to the ISO folder, rebuild and upload the newly
modified image.  Use this uploaded image as the default in the e2e test
binaries, so that the e2e test suite runs against the PR's changes.

TODO: Subsequent PRs (no changes to ISO) will still run against the
default version in the makefile.  We should figure out if we want to
always run tests against the "latest" image.
2017-02-14 13:42:20 -08:00
Matt Rickard a080737eff Add release-iso Makefile rule
This also tracks the ISO version in the makefile and passes it with
ldflags to automatically bump the default version in the minikube
binary.
2017-02-03 12:01:32 -08:00
Matt Rickard eed9f29696 Fail jenkins job when make cross fails 2017-01-31 13:38:42 -08:00
Matt Rickard d8bc509561 Parameterize jenkins jobs 2017-01-09 15:17:17 -08:00
Xinbo Weng c76ad1cf81 fix some typos
Signed-off-by: Xinbo Weng <xihuanbo_0521@zju.edu.cn>

fix my errors

Signed-off-by: Xinbo Weng <xihuanbo_0521@zju.edu.cn>
2016-12-24 13:20:18 +08:00
Xinbo Weng f91f428634 fix duplicated 'the' and some 'a/an' errors
Signed-off-by: Xinbo Weng <xihuanbo_0521@zju.edu.cn>
2016-12-23 19:46:04 +08:00
Matt Rickard 427bde79ca Change default ISO to minikube-iso v1.0.1 (buildroot) 2016-12-20 15:34:07 -08:00
Aaron Prindle 3ff4cacb55 Clean .minikube dir on start of integration tests 2016-12-06 11:21:09 -08:00
Aaron Prindle 7b6628235c Specify hyperv virtual switch in integration tests 2016-12-02 15:18:08 -08:00
Matt Rickard 433232a557 Merge pull request #862 from r2d4/update
Add localkube releasing jobs to makefile
2016-11-30 15:19:02 -08:00
Matt Rickard 933da2c86d Add localkube releasing jobs to makefile
Update releases to reflect v1.5.0-beta.1
2016-11-29 11:57:17 -08:00
Matt Rickard 5316802f8a Only copy over the files we need from test bucket
Sometimes gsutil cp -r can miss files.  We also don't need to copy over
every file.  Additionally, I started to abstract the OS_ARCH away so
that we can more easily template the jenkins OS tests.
2016-11-28 13:50:04 -08:00
Matt Rickard 67e417f87a Fix windows integration test script 2016-11-28 10:21:12 -08:00
Aaron Prindle 13e512448c Cleaned up windows integration, modified jenkins to run Windows tests from Github 2016-11-17 11:26:52 -08:00
dlorenc e1bf3fdac8 Add a jenkins script to build/publish the ISO. 2016-11-10 13:37:23 -08:00
Aaron Prindle 0e3a3749a7 Fixing windows integration tests 2016-11-10 13:00:25 -08:00
Matt Rickard ec02c3cbd8 Add linux KVM integration tests, wait in StartStop
The KVM driver has trouble starting and stopping immediately.  This
happens with docker-machine also.
2016-11-04 11:41:40 -07:00
Matt Rickard 9974554b9a Add Linux Virtualbox Integrations Tests 2016-11-03 11:57:45 -07:00
Aaron Prindle 0eda6d4569 Merge pull request #791 from aaron-prindle/add-releases.json-commit-to-jenkins
Adding releases.json update to jenkins release job
2016-11-01 12:08:40 -07:00
Aaron Prindle b5798102c7 Adding releases.json update to jenkins release job. 2016-11-01 11:57:44 -07:00
dlorenc 8d1da576a0 Add an integration run with the new ISO. 2016-10-31 09:16:28 -07:00
dlorenc 483531164e Integration test cleanup.
Set logging to verbose, cleanup config before runs.
2016-10-20 12:32:59 -07:00
Dan Lorenc 553aa4d0a6 Remove the windows pending status on PRS. 2016-10-19 09:21:41 -07:00