Commit Graph

2036 Commits (revert-19748-fix_wait)

Author SHA1 Message Date
Sharif Elgamal edd1230767 add script to automatically release storage provisioner 2021-05-13 09:40:55 -07:00
Andriy Dzikh 48b7dea2b5 Add flags to pullsheet to prevent Info and Warning logs in stderr. 2021-05-13 09:12:47 -07:00
Medya Ghazizadeh 0b58021952
Merge pull request #11377 from andriyDev/FixReleaseNotesOnMac
Refactor hack/release_notes.sh pullsheet commands and use sort instead of awk sorting
2021-05-12 13:00:02 -07:00
Medya Ghazizadeh 9e57c747e2
Merge pull request #11351 from afbjorklund/go-1.16.4
Upgrade go version from 1.16.1 to 1.16.4
2021-05-11 14:53:49 -07:00
Medya Ghazizadeh c136fe3cfd
Merge pull request #11060 from afbjorklund/retro-arch
Allow building minikube for outdated architectures
2021-05-11 12:22:03 -07:00
Andriy Dzikh 02b9fd7d7e Refactor hack/release_notes.sh pullsheet commands and use sort instead of awk sorting. 2021-05-11 11:41:48 -07:00
Anders F Björklund 118d201a73 Upgrade go version from 1.16.1 to 1.16.4 2021-05-10 07:16:24 +02:00
Anders F Björklund ac624bff80 Add missing arm64 tarballs to the release page
The arm64 build targets for the drivers are currently missing,
but they should be downloaded at runtime anyway so exclude them.
2021-05-09 10:11:22 +02:00
Sharif Elgamal fea1be9d51 unify integration test names for uploading 2021-05-07 15:35:38 -07:00
Sharif Elgamal 603e49189e allow install docker to fail 2021-05-07 10:07:08 -07:00
Sharif Elgamal 290230831e break OS_ARCH into OS and ARCH 2021-05-06 16:23:41 -07:00
Sharif Elgamal 73291c04c7 make common executable 2021-05-06 13:06:12 -07:00
Sharif Elgamal ad885687de actually common.sh is a better choice 2021-05-06 13:05:02 -07:00
Sharif Elgamal 63b773e88b combine run_tests.sh and common.sh for integration testing 2021-05-06 12:43:16 -07:00
Sharif Elgamal be24532339 fix other API instances of access token for tests 2021-05-05 15:53:36 -07:00
Sharif Elgamal 90d148faa7 change authentication for jenkins job 2021-05-05 14:15:33 -07:00
Sharif Elgamal 4184a9d02d
Merge pull request #10927 from sharifelgamal/macstadium
ci: Re-enable integration testing for macOS
2021-05-04 17:58:14 -07:00
Andriy Dzikh f7e5b6b422 Add a link in hack/release_notes.sh to the changelog for more details. 2021-05-04 16:16:56 -07:00
Andriy Dzikh 13b3aae355 Thank issue-commenters in hack/release_notes.sh. 2021-05-04 15:01:17 -07:00
Andriy Dzikh 83dc6be81c Thank PR reviewers in hack/release_notes.sh. 2021-05-04 14:56:38 -07:00
Steven Powell 2be9109797 fixed CPU benchmarking typos and small formatting 2021-05-04 12:48:04 -07:00
Sharif Elgamal cdb0de091a full suite for docker 2021-05-04 12:16:13 -07:00
Sharif Elgamal debca7805e i just wanna see if it works ok 2021-05-04 11:07:36 -07:00
Sharif Elgamal 7a4855df80 take 2 2021-05-04 10:42:09 -07:00
Sharif Elgamal 3daad34d4e fix up loop 2021-05-04 10:01:52 -07:00
Sharif Elgamal 384cb73b35 add ability for custom file name for uploading files 2021-05-03 17:53:39 -07:00
Sharif Elgamal 4f381cc1e6 Merge branch 'master' of github.com:kubernetes/minikube into macstadium 2021-05-03 17:30:20 -07:00
Sharif Elgamal 4186087e64
Revert "Run test2json during the test and not afterwards" 2021-05-03 17:23:24 -07:00
Sharif Elgamal c14051eb35 add pidof to macos machines 2021-05-03 16:43:01 -07:00
Sharif Elgamal a08f44b746 make hyperkit tests full suite 2021-05-03 15:45:47 -07:00
Sharif Elgamal b090f4901c make sure timeout is installed on macos 2021-05-03 13:27:11 -07:00
Sharif Elgamal 17d677dfc9 small changes 2021-05-03 13:21:56 -07:00
Anders F Björklund b4379c326f Run test2json during the test and not afterwards
Running it after the test is completed, means that the timestamps
of the output will be wrong (not reflecting the actual test run).

This should use "go test -json" instead of the "test2json" pipe,
but need something like "gotestsum" to show both out and json...
2021-05-03 08:08:14 +02:00
Steven Powell 82e9a5248a fixed gsutil copy from releases-beta.json 2021-04-30 17:22:21 -07:00
Sharif Elgamal 7cce80e555 trying hyperkit?? 2021-04-30 11:24:27 -07:00
Sharif Elgamal bb9fa3d120 hey, uh, don't kill docker please 2021-04-30 10:44:09 -07:00
Sharif Elgamal d9d251ac38 use external upload script 2021-04-30 08:20:24 -07:00
Sharif Elgamal f26b2df8c3 install pstree on macos as well 2021-04-29 16:36:00 -07:00
Sharif Elgamal eb3f2b7516 Merge branch 'master' of github.com:kubernetes/minikube into macstadium 2021-04-29 16:16:20 -07:00
Medya Ghazizadeh fe0a1774a6
Merge pull request #11140 from govargo/add-cpu-benchmark
Add cpu usage benchmark command `make cpu-benchmark` and website docs
2021-04-29 15:16:01 -07:00
Kenta Iso 43b1dfd433 Change barChart color and add benchmark description to docs of benchmark 2021-04-30 06:41:44 +09:00
Medya Ghazizadeh ac2b98d744
Merge pull request #11169 from spowelljr/addBetaNotifications
Add opt-in notifications for beta releases
2021-04-29 14:03:59 -07:00
Kent Iso e3fd45d079 Update linux auto-pause result with improved method 2021-04-29 20:05:59 +00:00
Kent Iso 6f0391738c Improve verify auto pause step and Update README.md for auto-pause benchmark 2021-04-29 19:56:06 +00:00
Sharif Elgamal 77dd7a7cd6 Merge branch 'master' of github.com:kubernetes/minikube into macstadium 2021-04-28 18:56:24 -07:00
Sharif Elgamal a3b52560cd that was a bad idea 2021-04-28 18:49:24 -07:00
Sharif Elgamal 7ed18e5811 try to propagate sudo creds 2021-04-28 18:21:24 -07:00
Kenta Iso ad7b7fa584 Add verify step for control plane Paused status for cpu benchmark 2021-04-29 05:02:41 +09:00
Kent Iso a981e81f9c Update README about cpu-benchmark 2021-04-29 01:06:27 +09:00
Kent Iso 67da2c88ce Fix lint error 2021-04-29 01:06:27 +09:00
Kent Iso 52ddca0ea4 divide idle only benchmark and autopause benchmark of cpu usage 2021-04-29 01:06:27 +09:00
Kent Iso a6fdc2f8ea Add data label to bar chart 2021-04-29 01:06:26 +09:00
Kent Iso 288eb00810 Add linux cpu benchmark image 2021-04-29 01:06:26 +09:00
Kent Iso 7fe94b5876 Add minikube docker with auto-pause to cpu benchmark 2021-04-29 01:06:26 +09:00
Kent Iso 45a867d3b8 Add cpu usage benchmark 2021-04-29 01:06:26 +09:00
Steven Powell 285457ebda updated releases script to updates releases-beta.json 2021-04-27 13:34:08 -07:00
Sharif Elgamal 0ed1c923a9 Make sure to capture errors in auto kicbase builds 2021-04-26 17:54:07 -07:00
Predrag Rogic 79ba91cd44
fix flake integration tests: cleanups and timeouts 2021-04-23 22:19:59 +01:00
Medya Ghazizadeh 6f97066217
Merge pull request #11095 from ilya-zuyev/ilyaz/preloads_jenkins_job
Move preload generation to Jenkins
2021-04-23 13:25:18 -07:00
Ilya Zuyev 71ba8c19bb add comments 2021-04-20 11:44:29 -07:00
Medya Ghazizadeh 6ad8cd7d22
Merge pull request #11030 from prezha/fix-insufficient-memory
fix insufficient memory issues
2021-04-20 09:52:30 -07:00
Medya Gh 1207de734b bump golang lint ci to latest 2021-04-19 15:16:31 -07:00
Anders F Björklund 9fded7695f Add retro binaries to the all target and release 2021-04-18 13:10:50 +02:00
Ilya Zuyev 739424c5ac reorder k8s versions to process 2021-04-16 13:00:41 -07:00
Ilya Zuyev bf5d87423a fix comments 2021-04-16 10:52:16 -07:00
Ilya Zuyev e0c3ef3f51 improve logs 2021-04-16 10:41:07 -07:00
Ilya Zuyev 9af84a7d95 debug options 2021-04-15 10:40:43 -07:00
Ilya Zuyev 74c1029d9f more logs 2021-04-14 14:01:41 -07:00
Ilya Zuyev ce748474fb more logs 2021-04-14 13:59:42 -07:00
Ilya Zuyev 06c4bf030f goimports 2021-04-13 13:24:57 -07:00
Ilya Zuyev 71080b0860 add command line options to preload-generator 2021-04-13 12:18:44 -07:00
Sharif Elgamal 56517303ff
Merge pull request #11011 from sharifelgamal/prbot
minikube-pr-bot enhancements
2021-04-09 09:23:54 -07:00
Predrag Rogic 3860730a1a
fix insufficient memory issues 2021-04-08 23:39:12 +01:00
Medya Gh 1665c7801d revert pipefail 2021-04-08 10:57:56 -07:00
Sharif Elgamal 2ce5ac0467 run minikube delete before testing 2021-04-07 15:28:12 -07:00
Sharif Elgamal dad89e8223 skip docker for now 2021-04-07 14:12:59 -07:00
Sharif Elgamal 7836e101f8 Merge branch 'master' of github.com:kubernetes/minikube into prbot 2021-04-07 14:05:07 -07:00
Sharif Elgamal 0aee73d612 skip trying to install docker in CI 2021-04-07 11:21:21 -07:00
Sharif Elgamal 400fcc1b9d use params on correct script 2021-04-07 09:54:39 -07:00
Sharif Elgamal 68b903cbb6 escapism 2021-04-07 09:04:47 -07:00
Sharif Elgamal 493f7f8edc fixes 2021-04-06 18:59:04 -07:00
Sharif Elgamal 57eb831883 fix pathing 2021-04-06 18:20:41 -07:00
Sharif Elgamal 782bdae4ed lint 2021-04-06 17:28:22 -07:00
Sharif Elgamal 84f2c86a50 minikube-pr-bot enhancements 2021-04-06 17:07:43 -07:00
Sharif Elgamal c3ae5fa8ed catch auto kicbase failures properly 2021-04-05 15:13:20 -07:00
Sharif Elgamal edd6321694 make sure to capture failures through pipes 2021-04-01 12:29:08 -07:00
Kent Iso 14cde713bd Fix unit test failing boilerplate, TestGenerateDocs 2021-04-01 21:22:05 +09:00
Medya Ghazizadeh 268c53e956
Merge pull request #10917 from spowelljr/addCloudShellTest
Added cloud shell functional tests
2021-03-30 14:57:04 -07:00
Steven Powell 197aca6e1d rename to docker_cloud_shell 2021-03-30 09:30:50 -07:00
hetong07 6db49ee5eb Update powershell script to install kubectl ver 1.20 on jenkins. 2021-03-30 09:22:48 -07:00
Steven Powell 5b5163042d fixed envs and stopped warning 2021-03-29 17:03:36 -07:00
Steven Powell 352b331042 added addon tests 2021-03-29 14:42:55 -07:00
Steven Powell 411c54f41d added cloud shell test to GitHub jobbs 2021-03-29 14:42:32 -07:00
Steven Powell ba25b5a2c8 added cloud shell function tests 2021-03-29 14:42:32 -07:00
Sharif Elgamal c8e8c8fb99 testing macos docker tests again 2021-03-25 15:34:42 -07:00
Ilya Zuyev 246109d00d Restore test timeout 2021-03-23 19:54:17 -07:00
Ilya Zuyev b01e6478b7 debug: decrease timeout to 10 min 2021-03-23 18:40:05 -07:00
Ilya Zuyev a264c351b3 Add jenkins script logs 2021-03-23 15:37:34 -07:00
Ilya Zuyev 587ef87acb fixes 2021-03-23 10:44:52 -07:00
Ilya Zuyev adf7428c28 Restore common.sh 2021-03-22 10:48:13 -07:00
Ilya Zuyev d6572d87a2 Merge branch 'master' into ilyaz/arm64_integration_tests 2021-03-19 14:04:24 -07:00
Ilya Zuyev 7e45721c82 fix report paths 2021-03-18 10:45:43 -07:00
Ilya Zuyev 1adf810ea3 remove debug 'ls' 2021-03-18 10:31:14 -07:00
Ilya Zuyev 6bfc73c1e3 debug logs 2021-03-17 11:01:26 -07:00
Ilya Zuyev c7344212cd Add test scripts for containerd and crio runtimes 2021-03-15 16:44:25 -07:00
Ilya Zuyev 6804e02b1f Fix kubectl installation 2021-03-15 16:14:49 -07:00
Ilya Zuyev 2165d89cc5 Fix kubectl installation 2021-03-15 16:10:14 -07:00
Ilya Zuyev f3b9443111 fix script name 2021-03-15 15:43:30 -07:00
Ilya Zuyev 74866e1b9f update set_pending.sh 2021-03-15 15:28:35 -07:00
Ilya Zuyev bdde5acf22 Restore common.sh; use run_tests.sh for arm jobs instead 2021-03-15 15:00:10 -07:00
Sharif Elgamal 781e3ea105 add cleanup script for docker windows machine 2021-03-15 14:06:11 -07:00
Sharif Elgamal f95d43a2c7
Merge pull request #10835 from sharifelgamal/prune-windows
make sure to prune docker on windows integration test machines
2021-03-15 13:27:05 -07:00
Sharif Elgamal bc5d846a30 point to raw logs when no gopogh 2021-03-15 13:05:54 -07:00
Sharif Elgamal ce3227422e force 2021-03-15 13:03:40 -07:00
Sharif Elgamal fb8b25cb04 make sure to prune docker 2021-03-15 12:50:47 -07:00
Ilya Zuyev 953ddeff2a update jenkins scripts 2021-03-15 11:19:49 -07:00
Anders F Björklund 93aae1fb81 Add deb/rpm packaging for arm32/armv7 as well 2021-03-15 08:54:35 +01:00
Anders F Björklund 7789bdfc35 Refactor: use variables for package revisions 2021-03-15 07:35:39 +01:00
Anders F Björklund 2f8070ace1 Add rpm and deb packaging for ppc64le and s390x 2021-03-15 07:30:07 +01:00
Ilya Zuyev 36b0ec8243 debug prints 2021-03-12 13:14:15 -08:00
Ilya Zuyev 9ca7392688 add upload_integration_report.sh jenkins script 2021-03-11 16:55:00 -08:00
Sharif Elgamal 69ae6d0e54 updating latest release on front page on release 2021-03-10 12:12:16 -08:00
Ilya Zuyev 65acaa745d update common.sh test script 2021-03-10 10:33:34 -08:00
Medya Ghazizadeh 232f69ca35
Merge pull request #10767 from sharifelgamal/auto-error
print out error on failed iso and kicbase builds
2021-03-09 20:30:11 -08:00
Sharif Elgamal d79fc22f82 link to full logs 2021-03-09 17:45:15 -08:00
Sharif Elgamal bddf9faaaf print out error on failed iso and kicbase builds 2021-03-09 16:28:08 -08:00
Sharif Elgamal d247eff130 increase to 5 minutes 2021-03-09 12:09:37 -08:00
Sharif Elgamal 21a5a57048 increase wait for docker starting on windows 2021-03-09 09:53:24 -08:00
Sharif Elgamal b578db7e49 remove autobuild of iso in minikube cross 2021-03-05 12:28:52 -08:00
Sharif Elgamal c785ce3082 change iso bucket to avoid collision 2021-03-04 10:08:19 -08:00
Sharif Elgamal 0a26c1a6bf fix branch name 2021-03-04 10:02:50 -08:00
Sharif Elgamal e19dfa4bd8 Merge branch 'master' of github.com:kubernetes/minikube into auto-iso 2021-03-04 08:53:23 -08:00
Medya Ghazizadeh 18e215fed1
Merge pull request #10709 from ilya-zuyev/ilyaz/check_dirty_releases
Jenkins release job: check if built minikube binary reports 'dirty' commit id
2021-03-03 23:09:22 -08:00
Sharif Elgamal 840c694989 fix version parsing 2021-03-03 20:27:45 -08:00
Sharif Elgamal 90df9d2551 adding bot's git info 2021-03-03 19:09:09 -08:00
Sharif Elgamal f54ff32676 spaces 2021-03-03 18:08:13 -08:00
Sharif Elgamal 934db911a2 point to the correct bucket once iso is built 2021-03-03 17:59:03 -08:00
Sharif Elgamal 0f51fcda50 install 7z 2021-03-03 17:26:15 -08:00
Sharif Elgamal 04844b5c62 install python2 2021-03-03 16:17:06 -08:00
Ilya Zuyev 61a596debe jenkins scripts: check if built version reports dirty commit id 2021-03-03 15:54:46 -08:00
Ilya Zuyev 86117e1197 update hack/jenkins/common.sh to use go 1.16 2021-03-03 14:07:39 -08:00
Sharif Elgamal 7d6bac641a install rsync unzip and bx 2021-03-03 13:56:15 -08:00
Sharif Elgamal 8c1e236d11 yes 2021-03-03 13:29:20 -08:00
Sharif Elgamal 7bc7a4f803 install gcc on agents 2021-03-03 13:14:47 -08:00
Sharif Elgamal 038a6965ba Merge branch 'master' of github.com:kubernetes/minikube into auto-iso 2021-03-03 09:51:18 -08:00
Medya Ghazizadeh 9281117e60
Merge pull request #10634 from ariesliuwei/loggingfix
logging: migrate some logs to structured logging
2021-03-01 13:33:41 -08:00
Sharif Elgamal a379f2c00e add autobuild and push for ISO 2021-03-01 13:28:22 -08:00
Medya Ghazizadeh 5b7af8377e
Merge pull request #10613 from prezha/fix-kube-proxy-metricsBindAddress
make metric server serve on all ipv4 interfaces
2021-03-01 11:22:41 -08:00
Sharif Elgamal d9c02d12a3
Merge pull request #10611 from sharifelgamal/auto-push
ci: try autopushing to PRs for kicbase
2021-03-01 09:19:55 -08:00
Sharif Elgamal 1306f1cc5b explicity use git add 2021-02-26 09:44:54 -08:00
Sharif Elgamal 4c59401121 fix script up 2021-02-26 09:39:58 -08:00
liuwei10 f059b9b43e logging: migrate some logs to structured logging 2021-02-26 14:30:39 +08:00
Sharif Elgamal e0aedf7d6e typo 2021-02-25 13:00:45 -08:00
Sharif Elgamal 74d73cf372 Merge branch 'master' of github.com:kubernetes/minikube into auto-push 2021-02-25 12:54:35 -08:00
Sharif Elgamal 8050aca488 generate-docs on release 2021-02-25 12:50:59 -08:00
Sharif Elgamal ccb1fbaa93 fix up syntax 2021-02-25 12:46:28 -08:00
Sharif Elgamal 8074fb0ddf account for failure 2021-02-25 11:58:23 -08:00
Sharif Elgamal 04486df308 remove old pr comment 2021-02-25 11:20:35 -08:00
Sharif Elgamal f0484d0bc9 switch to ssh for pushing 2021-02-25 10:41:57 -08:00
Predrag Rogic e08ac1ceb6
make metric server server on all ipv4 interfaces 2021-02-25 03:48:43 +00:00
Sharif Elgamal 0405573848 try autopushing to PRs for kicbase 2021-02-24 17:49:58 -08:00
Sharif Elgamal 33a97b85b8 hoo boy formatting 2021-02-24 15:44:57 -08:00
Sharif Elgamal 2f4cafb786 remove the gh directory after installation 2021-02-24 15:20:19 -08:00
Sharif Elgamal 86fac524e0 syntax 2021-02-24 14:58:23 -08:00
Sharif Elgamal 613ffce5aa remove interactivity for gh 2021-02-24 14:44:58 -08:00
Sharif Elgamal 2f67bfd182 change gh installation to curl 2021-02-24 14:39:49 -08:00
Sharif Elgamal 4cd3be7ff9 make sure to continue despite failures 2021-02-24 14:09:51 -08:00
Sharif Elgamal fd1c73fa86 disable prompts 2021-02-24 14:02:56 -08:00
Sharif Elgamal 32e35da997 make gh installer executable 2021-02-24 13:49:36 -08:00
Sharif Elgamal ac19e296b6 switch from curl to gh 2021-02-24 13:41:56 -08:00
Sharif Elgamal 7f75dfffda drop support for github packages for kicbase 2021-02-23 14:16:02 -08:00
Sharif Elgamal 5cbe2691b2 add code for release official kicbase versions 2021-02-23 14:07:49 -08:00
Sharif Elgamal f4d6d2c129 change gh package perms 2021-02-22 15:43:37 -08:00
Sharif Elgamal ba47745660 Merge branch 'master' of github.com:kubernetes/minikube into kic-release 2021-02-22 13:29:37 -08:00
Sharif Elgamal 7951dab76b add github packages 2021-02-22 13:27:24 -08:00
Predrag Rogic f80c8c9dc5
update.GHReleases: replace deprecated semver.Max with semver.Compare 2021-02-22 17:22:13 +00:00
Anders F Björklund 86af69861a Upgrade go version from 1.15.5 to 1.15.8 2021-02-21 15:20:49 +01:00
Medya Gh 7feabad12d install gopogh on windows 2021-02-19 14:53:06 -08:00
Medya Gh 0fce9d4726 add json summary report to gopogh 2021-02-19 12:05:34 -08:00
Medya Gh cfd0dbdfc7 bump gopogh version v0.6.0 2021-02-19 11:41:04 -08:00
Sharif Elgamal 568cae60cc remove gh package stuff for now 2021-02-18 18:06:37 -08:00
Sharif Elgamal e5ed6659af fix up gh package info 2021-02-18 17:46:35 -08:00
Sharif Elgamal b14a1b1188 authenticate with gh packages 2021-02-18 17:22:17 -08:00
Sharif Elgamal 114364409d add github packages to script 2021-02-18 16:17:09 -08:00
Sharif Elgamal 31ea98ca50 update kicbase to newest build 2021-02-18 15:04:34 -08:00
Sharif Elgamal dfc2e85465 proper exit codes 2021-02-18 14:48:46 -08:00
Sharif Elgamal df036e1e00 retrieve sha properly 2021-02-18 14:40:09 -08:00
Sharif Elgamal e0a74c2396 fix variable names 2021-02-18 14:20:08 -08:00
Sharif Elgamal 3f04535045 add dockerhub to autopush 2021-02-18 11:47:59 -08:00
Sharif Elgamal 29ac10b514 formatting is hard 2021-02-17 17:19:45 -08:00
Sharif Elgamal 710b680e16 ok now we're just down to formatting 2021-02-17 17:03:49 -08:00
Sharif Elgamal e6c1a682b5 fix up sed command some more 2021-02-17 16:50:48 -08:00
Sharif Elgamal c3f7e8c7b2 fix up sed command 2021-02-17 16:42:15 -08:00
Sharif Elgamal 687cb22f22 add single sed command to message for simplicity 2021-02-17 16:18:53 -08:00
Sharif Elgamal b94aaf3639 comments 2021-02-17 11:57:12 -08:00
Sharif Elgamal 05df740f12 fail if timestamps are off 2021-02-17 10:57:25 -08:00
Sharif Elgamal e042e2c5c6 check for failure 2021-02-17 10:51:16 -08:00
Sharif Elgamal 6869182195 add repo to instructions 2021-02-17 10:39:24 -08:00
Sharif Elgamal 9aee2bd46a add generate-docs to message 2021-02-17 10:04:02 -08:00
Sharif Elgamal e8f00d726f export the correct variables 2021-02-17 09:23:30 -08:00
Sharif Elgamal de750b73e2 timestamp checks 2021-02-16 19:25:22 -08:00
Sharif Elgamal bba35e25f5 display proper image tag 2021-02-16 18:08:45 -08:00
Sharif Elgamal 5d642c5311 fix up escaping nonsense 2021-02-16 17:39:46 -08:00
Sharif Elgamal 0147378459 boilerplate 2021-02-16 14:28:58 -08:00
Sharif Elgamal 29352b294b make executable 2021-02-16 14:23:23 -08:00
Sharif Elgamal 803934a670 add automation script 2021-02-16 14:22:49 -08:00
Anders F Björklund 76612f669c Remove duplicate binaries from build internals
Due to difference in how things are named between different
operating systems <sigh>, we make multiple copies of files.

But we don't need to upload these extras to the release dir,
since they only risk confusing users further (and lack sha256).
2021-02-09 20:07:11 +01:00
Sharif Elgamal 8d15fbc5e9 make scripts executable and add to list 2021-02-08 18:23:42 -08:00
Sharif Elgamal 95da0ae8ca add new integration test files for containerd and crio 2021-02-08 18:02:23 -08:00
Priya Wadhwa 326ea5033c Add 15 minute timeout to cleanup and reboot crong 2021-02-01 12:32:02 -08:00
priyawadhwa 946d5f5de4
Merge pull request #10271 from priyawadhwa/containerd-pause-tests
Turn on TestPause for containerd
2021-02-01 11:28:22 -08:00
Priya Wadhwa 590376760e Add timeouts to cleaning up 2021-01-29 15:10:40 -08:00
Priya Wadhwa 49210bd8b5 Revert timings back to how they are at HEAD 2021-01-29 15:07:03 -08:00
Priya Wadhwa 8b858290e0 Add timeout to cleaning up tests 2021-01-29 13:52:05 -08:00
Priya Wadhwa 6fd7f20867 Change time to 180m 2021-01-29 11:29:34 -08:00
Priya Wadhwa fe32e66aa7 double timeout time 2021-01-28 12:47:47 -08:00
Sharif Elgamal e2fde96c5c count up instead of countdown 2021-01-28 11:14:48 -08:00
Sharif Elgamal 903212820d make sure docker is off, reduce wait time to 2 minutes 2021-01-28 11:07:41 -08:00
Sharif Elgamal 4056b11295 increase wait time to 4 minutes 2021-01-28 09:47:30 -08:00
Sharif Elgamal a8bae1311e fail docker tests immediately of docker doesn't start up 2021-01-28 09:46:47 -08:00
Priya Wadhwa 10d5d0915f Increase timeout 2021-01-27 20:32:41 -08:00
Priya Wadhwa 95f9c5c0a3 UP timeout to 90m to see if containerd tests pass then 2021-01-27 13:12:14 -08:00
Ilya Zuyev 2320d7c34c fix deb_version issue 2021-01-27 11:33:45 -08:00
Ilya Zuyev 080cf3d83f fix deb_version issue 2021-01-27 11:18:25 -08:00
Ilya Zuyev 5050670631 fix deb_version issue 2021-01-27 11:04:55 -08:00
Ilya Zuyev 8c5e64ce47 add deb make target 2021-01-27 10:02:10 -08:00
Ilya Zuyev ddb5cc02b7 Fix deb_version in build script 2021-01-27 09:41:45 -08:00
Ilya Zuyev faa1706b55 Add deb_version_base make target 2021-01-26 23:22:55 -08:00
Ilya Zuyev 58ee238e4f Fix RPM_VERSION 2021-01-26 23:13:54 -08:00
Ilya Zuyev 4b5163ee29 Merge branch 'master' into ilyaz/add_darwin_arm64_binary 2021-01-26 23:11:31 -08:00
Ilya Zuyev e12283ef85 Trigger build 2021-01-26 22:43:16 -08:00
Ilya Zuyev d621609828 do not set BUILD_IMAGE in hack/jenkins/release_build_and_upload.sh 2021-01-26 18:01:15 -08:00
Ilya Zuyev d01642bab8 use dev/rpm version from makefile 2021-01-26 17:11:06 -08:00
Ilya Zuyev 686bb48812 Build DEB and RPM packages in minikube_cross_build_and_upload.sh 2021-01-26 15:42:20 -08:00
Ilya Zuyev 2f0d3d62ce Add minikube-darwin-arm64 to build script 2021-01-26 15:31:40 -08:00
Ilya Zuyev 7850e18a16 Remove test script 2021-01-26 14:57:06 -08:00
Ilya Zuyev ef34832743 update jenkins build scripts 2021-01-26 13:08:14 -08:00
Ilya Zuyev eaf4f96304 update jenkins build scripts 2021-01-26 13:07:13 -08:00
Sharif Elgamal 2a59bff6fb Merge branch 'master' of github.com:kubernetes/minikube into windows-pr-test 2021-01-26 12:46:35 -08:00
Sharif Elgamal 52ab6a503e boilerplate 2021-01-26 12:46:26 -08:00
Medya Ghazizadeh 3668e15224
Merge pull request #10194 from ilya-zuyev/ilyaz/update_k8s_version_2
update k8s version to  v1.20.3-rc.0
2021-01-22 10:02:44 -08:00
Ilya Zuyev 693dc4d8d7 update hack/update/kubernetes_version templates 2021-01-20 16:21:18 -08:00
Priya Wadhwa 53a99fcf4d Merge branch 'master' of https://github.com/kubernetes/minikube into containerd-integration-tests 2021-01-20 15:17:47 -08:00
Sharif Elgamal 244b9768d2 fix encoding for gopogh 2021-01-20 14:30:40 -08:00
Priya Wadhwa 100fcc811c add curly braces to match other vars 2021-01-20 13:29:17 -08:00
Sharif Elgamal 44699da49f round elapsed minutes properly 2021-01-20 13:20:38 -08:00
Sharif Elgamal f5a7aa2201 fix description for failure 2021-01-20 13:19:04 -08:00
Sharif Elgamal 75fe3cbe07 Merge branch 'master' of github.com:kubernetes/minikube into windows-pr-test 2021-01-20 12:56:45 -08:00
Sharif Elgamal 4f4c292310 move docker rm after minikube delete 2021-01-20 09:43:20 -08:00
Priya Wadhwa 57fe422edc merge master 2021-01-19 18:35:06 -08:00
Sharif Elgamal 68e6ee36b2 run docker rm after starting it 2021-01-19 18:18:53 -08:00
Priya Wadhwa 44ce2ec6e3 only add --container-runtime if it is set 2021-01-19 17:22:49 -08:00
Sharif Elgamal 80c1a4d8b5 conform with other tests 2021-01-19 17:06:13 -08:00
Ilya Zuyev a2ccf09c80 fix update-gopogh-version comment and update gopogh version in jenkins scripts 2021-01-19 16:30:28 -08:00
Priya Wadhwa ebd936c3c2 Add --container-runtime to extra start args if it is set 2021-01-19 16:17:03 -08:00
Priya Wadhwa 9ffbe87052 Add global variable for container runtime to jenkins tests 2021-01-19 15:55:33 -08:00
Sharif Elgamal 46a07ffc20 add detailed description to jenkins status 2021-01-19 13:17:58 -08:00
Sharif Elgamal 2dd37713a4 fix script 2021-01-15 10:11:59 -08:00
Sharif Elgamal efc240deab add script to explicitly start docker desktop on windows because we can't have nice things 2021-01-15 10:06:45 -08:00
Sharif Elgamal 2c62a991ce adding proper integration testing script for docker on windows 2021-01-14 10:44:03 -08:00
Medya Gh f2563c5f39 change name to build 2021-01-05 15:38:45 -08:00
Medya Gh f753287d27 replace build badge on readme 2021-01-05 14:56:53 -08:00
Medya Gh 00d3c6d7ac add back clean up 2020-12-22 21:30:23 -08:00
Medya Ghazizadeh e06f7fcde7
Merge pull request #9959 from tstromberg/jenky-hack
When parsing release notes, parse up to the next version tag
2020-12-21 16:18:46 -08:00
Sharif Elgamal d43261c746 Merge branch 'master' of github.com:kubernetes/minikube into 1.16.0-beta.0 2020-12-15 10:10:33 -08:00
Sharif Elgamal 10f61d83f8 reset vbox timeouts 2020-12-15 09:22:08 -08:00
Sharif Elgamal 6e4eb6c309 Merge branch 'master' of github.com:kubernetes/minikube into test-fixes 2020-12-15 09:21:33 -08:00
Sharif Elgamal 7793149844 fix none tests 2020-12-15 09:06:17 -08:00
Thomas Stromberg 72443e9b3e release notes: fix whitespace before contributors list 2020-12-14 11:43:42 -08:00
Thomas Stromberg 14ed16425a When parsing release notes, parse up to the next version tag 2020-12-14 11:42:05 -08:00
Sharif Elgamal 5b73771ff1 only delete dangling images 2020-12-11 14:42:26 -08:00
Sharif Elgamal 3cc25a5cd3 Merge branch 'master' of github.com:kubernetes/minikube into test-fixes 2020-12-11 12:16:40 -08:00
Medya Ghazizadeh b84f2499fd
Merge pull request #9726 from prezha/cleanup-linux
amend linux cleanup script with full minikube, docker and kvm cleanup
2020-12-10 16:43:20 -08:00
Medya Ghazizadeh 9aac4f7f42
Merge pull request #9912 from prezha/fix-update-kubernetes-version
fix: use release tags and add make targets
2020-12-10 16:03:38 -08:00
Medya Ghazizadeh 6b079476c6
Merge pull request #9918 from lingsamuel/remove-verbose-options
Remove verbose options
2020-12-10 15:58:01 -08:00
Sharif Elgamal 1d4ee01869 fix pending jobs 2020-12-10 13:20:29 -08:00
Sharif Elgamal 1f0bbd6e46 oops part 2 2020-12-10 12:54:44 -08:00
Sharif Elgamal 92e68b19a1 oops 2020-12-10 12:34:02 -08:00
Sharif Elgamal 8a952d98f2 make tests more reliable 2020-12-10 11:51:07 -08:00
Sharif Elgamal 9280a047a9
Merge pull request #9894 from sharifelgamal/hyperkit
fix hyperkit tests
2020-12-10 11:26:44 -08:00
Ling Samuel 634f0ae0a9
Remove verbose options 2020-12-10 14:29:38 +08:00
Predrag Rogic 61a12b313f
fix: use release tags and add make targets 2020-12-10 01:28:40 +00:00
Sharif Elgamal 802c19eac9 rename hyperkit test to add functional 2020-12-09 14:19:29 -08:00
Anders F Björklund 559231fa1d Upgrade go version to 1.15.5
Use same as Kubernetes 1.20
2020-12-09 22:03:12 +01:00
Sharif Elgamal 594272dc6d fix tar command 2020-12-09 11:32:27 -08:00
Sharif Elgamal 8968e51dd7 fix hyperkit tests 2020-12-09 11:06:17 -08:00
Sharif Elgamal aef091198a fix up screwy env vars 2020-12-08 16:18:12 -08:00
Sharif Elgamal c1486f3f65 reduce hyperkit tests to functional 2020-12-08 16:08:44 -08:00
Anders F Björklund 318bdcd788 Add linux packages for the arm64 architecture
In addition to the already existing amd64 packages
2020-12-05 10:37:59 +01:00
priyawadhwa b2e6f2140a
Merge pull request #9856 from priyawadhwa/dont-fail
metrics script: don't fail if one container runtime fails
2020-12-04 13:01:16 -08:00
Medya Ghazizadeh a6d56c61e9
Merge pull request #9852 from prezha/fix-update-scripts
fix GHReleases() to use rls tag name instead of rls name for rls version
2020-12-04 12:37:38 -08:00
Medya Ghazizadeh 9c3c127ced
Merge pull request #9853 from prezha/hack-update--gopogh-version
add script to automate gopogh version update
2020-12-04 12:20:57 -08:00
Priya Wadhwa ab1d2e474a don't fail if one container runtime fails 2020-12-04 11:36:16 -08:00
Priya Wadhwa e38a97c718 collect metrics for each container runtime 2020-12-04 11:09:15 -08:00
Predrag Rogic e442cdef22
restrict cleanup only to jenkins and root user 2020-12-04 15:17:51 +00:00
Predrag Rogic c343113d68
add script to automate gopogh version update 2020-12-04 12:37:55 +00:00
Predrag Rogic 9f5d501509
add script to automate gopogh version update 2020-12-04 12:31:10 +00:00
Predrag Rogic bbd0529f4b
fix GHReleases() to use release tag name instead of release name for release version 2020-12-04 12:12:31 +00:00
Priya Wadhwa 89bb352c6d specify temp file via flag and don't run infintely 2020-12-02 11:11:23 -08:00
Priya Wadhwa 5553f48e36 Add --label flag so we can add custom labels to metric collection
We can later use this flag to specify environment (Cloud Shell, OS), or driver used.
2020-12-01 19:37:15 -08:00
priyawadhwa 5365643640
Merge pull request #9808 from priyawadhwa/metrics-code
Add script to collect metrics for minikube start
2020-12-01 14:56:57 -08:00
Medya Gh aa64b8bf7f bump gopogh 2020-12-01 11:47:23 -08:00
Priya Wadhwa 8590560f83 use same storage.ObjectHandle for downloading file and getting commmit 2020-11-30 19:21:36 -08:00
Priya Wadhwa ae4fa9a2ee Address code review comments` 2020-11-30 19:06:45 -08:00
Priya Wadhwa 2a11844320 Only rebuild latest if commit has changed
Also store commit in the metadata of binaries in GCS so it's easy to figure out what commit they were built at.
2020-11-30 17:01:15 -08:00
Priya Wadhwa a2bc2fe64c Enable tracing when collecting metrics 2020-11-30 10:25:51 -08:00
Priya Wadhwa f3ffb7e966 Merge branch 'master' of https://github.com/kubernetes/minikube into metrics-code 2020-11-30 10:10:45 -08:00
Sharif Elgamal 22a99c55cd small fixes 2020-11-25 17:48:37 -08:00
Sharif Elgamal fc8fd7bf27 Update conformance tests for multinode testing: 2020-11-25 15:17:54 -08:00
Priya Wadhwa 5d0363acc0 rename file and move to dir 2020-11-25 13:16:12 -08:00
Priya Wadhwa 6cc17ae6a7 release latest script 2020-11-24 17:21:11 -08:00
Priya Wadhwa 2a0a01a18c UPDate 2020-11-24 10:14:09 -08:00
Priya Wadhwa 5b2a552091 cleanup 2020-11-23 16:21:13 -08:00
Priya Wadhwa b01bad0ebf add --memory flag to constrain that variable 2020-11-23 16:18:46 -08:00
Priya Wadhwa 46f82272e0 Add metrics script to collect data for cloud monitoring 2020-11-23 16:14:06 -08:00
Priya Wadhwa d370a3e164 fix up script 2020-11-23 12:56:48 -08:00
Priya Wadhwa b5e1d7ef17 metrics 2020-11-20 14:27:55 -08:00
Sharif Elgamal 54461f3d6c Merge branch 'master' of github.com:kubernetes/minikube into docker-script 2020-11-19 16:41:33 -08:00
Sharif Elgamal 5465b94f5f remove unused tests from pending 2020-11-19 16:23:50 -08:00
Sharif Elgamal 312bdd489b make docker installer more extensible 2020-11-19 16:01:20 -08:00
Predrag Rogic cefceebeb2
give minikube a chance to clenup itself 2020-11-17 23:47:25 +00:00
Predrag Rogic 973640c7a5
ensure the script will not fail; keep cached docker images 2020-11-17 19:57:59 +00:00
Predrag Rogic 1b52103df9
amend linux cleanup script with full minikube, docker and kvm cleanup 2020-11-17 14:55:28 +00:00
Predrag Rogic 2852dab628
add testdata templates subfolder to reflect apiVersion of the set 2020-11-16 13:40:30 +00:00
Predrag Rogic 42d46894d3
remove 'changed' from update.apply() return - useless for new files 2020-11-15 04:41:12 +00:00
Predrag Rogic 244aa8da80
generate unit tests with kubernets version update 2020-11-15 04:04:58 +00:00
Sharif Elgamal 0993622e85 add dnsmasq 2020-11-12 10:08:40 -08:00
Sharif Elgamal 499bda8f5d or true 2020-11-11 15:43:46 -08:00
Sharif Elgamal 0e4dd72872 update 2020-11-11 14:48:17 -08:00
Sharif Elgamal 0f0b01fa0d install recommends 2020-11-11 14:44:13 -08:00
Sharif Elgamal bf25c38098 automatically try install kvm for kvm2 tests 2020-11-11 14:21:21 -08:00
Medya Ghazizadeh f67515dec7
Merge pull request #9660 from sharifelgamal/docker-fix
jenkins: docker install script
2020-11-10 15:38:31 -08:00
Thomas Strömberg f6fa0ec0f6
Merge pull request #9529 from prezha/hack-update--kubernetes-version
hack/update: kubernetes version
2020-11-10 14:28:33 -08:00
Sharif Elgamal a85e7ddd26 install psmisc 2020-11-10 13:42:07 -08:00
Sharif Elgamal 3b5eab6e56 Merge branch 'master' of github.com:kubernetes/minikube into docker-fix 2020-11-10 13:38:08 -08:00
Sharif Elgamal ffafd95454 remove newgrp, add lsof 2020-11-10 10:33:27 -08:00
Thomas Strömberg 47396dc7b7
Merge pull request #9532 from prezha/hack-update--kicbase-version
hack/update: kicbase version
2020-11-10 10:17:51 -08:00
Sharif Elgamal fe0e087d91 testing fix for docker install script 2020-11-10 09:22:14 -08:00
Predrag Rogic e1826f2da4
remove redundant hack/kubernetes_version/update_kubernetes_version.go 2020-11-07 20:10:21 +00:00
Predrag Rogic 9654f7bd3d
hack/update: kubernetes version 2020-11-07 20:04:08 +00:00
Sharif Elgamal e298618913 changes to script 2020-11-06 14:55:06 -08:00
Sharif Elgamal 72fa0be5f4 Add script to automatically install docker on jenkins machines 2020-11-06 14:36:41 -08:00
Medya Ghazizadeh 331b64d3b2
Merge pull request #9480 from prezha/fix-kubernetes-version
get greatest instead of just latest Kubernetes version
2020-11-06 12:30:02 -08:00
Ma Xinjian bd9de07865 fix small typo
Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com>
2020-11-03 14:57:24 +08:00
Predrag Rogic e38d49a2a8
hack/update: kicbase version 2020-10-28 22:33:39 +00:00
Predrag Rogic 73c43e5b74
hack/update: golang version 2020-10-28 22:24:40 +00:00
Thomas Strömberg a78fc8bfb4
Merge pull request #9439 from prezha/release-kicbase-version
automate pushing kicbase image from snapshot to stable after release
2020-10-28 11:43:20 -07:00
Thomas Strömberg b8b432c8fe
Merge pull request #9464 from prezha/update-kubernetes-version-i1
Add hack/update package to automate PR generation
2020-10-28 11:17:32 -07:00
Predrag Rogic 3c883f1075
update from glog to klog 2020-10-22 00:57:49 +01:00
prezha 53d87e1c9f
automate pushing kicbase image from snapshot to stable after release 2020-10-22 00:05:42 +01:00
Predrag Rogic 2c1efe857a
fix klog 'no such flag -logtostderr' with InitFlags 2020-10-17 00:59:05 +01:00
Predrag Rogic bcad74de5d
change hack/kubernetes_version/update_kubernetes_version.go in a separate pr[9480] 2020-10-17 00:55:29 +01:00
Predrag Rogic 1337811d49
change hack/kubernetes_version/update_kubernetes_version.go in a separate pr[9480] 2020-10-17 00:52:53 +01:00
Predrag Rogic e42791ea02
fix klog 'no such flag -logtostderr' with InitFlags 2020-10-17 00:43:19 +01:00
Predrag Rogic fa17b9641c
get greatest instead of just latest version 2020-10-17 00:07:25 +01:00
Predrag Rogic 2977a4b1cb
get greatest instead of just latest version 2020-10-16 23:06:28 +01:00
Predrag Rogic 885421ac37
get greatest instead of just latest version 2020-10-16 22:43:10 +01:00
Predrag Rogic 570f4f3c88
Upgrade go version to 1.15.2 2020-10-14 21:00:24 +01:00
prezha 96ac580eff
update: consolidation & automation 2020-10-14 01:44:08 +01:00
Priya Modali 8936a8c7f8 Merge branch 'master' of https://github.com/kubernetes/minikube into klog 2020-10-13 09:08:27 -07:00
Medya Ghazizadeh 7f4e7ee317
Merge pull request #9384 from prezha/update-kubernetes-version-i1
update_kubernetes_version: standalone script v2
2020-10-12 17:41:43 -05:00
Priya Modali ab4a0ab558 Cleaning up flags parsing. 2020-10-08 11:18:50 -07:00
Priya Modali ef2090ac31 Merge branch 'master' of https://github.com/kubernetes/minikube into klog 2020-10-08 10:27:04 -07:00
priyawadhwa 82a5189b93
Merge pull request #9334 from afbjorklund/multiarch-storage-provisioner-manifest
Make storage-provisioner available for all arch
2020-10-07 14:43:47 -04:00
Predrag Rogic b926b802cf
reverting back from klog to glog 2020-10-07 02:21:55 +01:00
Predrag Rogic 5ba07d547b
fix wrongly reported "nothing changed"
when there are changes that has been made in the local filesystem repo
and make the issue mentioned in the PR message ("fixes: ") a parameter
2020-10-04 01:25:27 +01:00
Predrag Rogic 61a579a8f9
update_kubernetes_version: standalone script v2
polls GitHub for the current Kubernetes Stable release and latest RC or Beta pre-release, then automatically updates local repo and/or creates a unique PR in kubernetes/minikube repo
2020-10-03 01:37:18 +01:00
Priya Modali 43cc1a2581 Resolved merg conflicts. 2020-10-02 14:10:55 -07:00
Priya Modali 43ea47f4e0 Fixed merge conflicts. 2020-09-29 16:17:31 -07:00
Priya Modali 97d96bf925 Switching from glob library to klog library. 2020-09-29 15:49:41 -07:00
Medya Gh f0f10d6135 first version 2020-09-29 14:14:24 -07:00
Till Hoffmann 5965b68733
Improved file-filter for github-release-assets 2020-09-29 10:31:34 +02:00
Anders F Björklund 92cce721aa Make storage-provisioner available for all arch
Always use architecture when building the image.

When developing locally, tag the image with version
(this tag now refers to the local host architecture)

When making a release, make a manifest with version
(this manifest now lists all supported architectures)

Don't use architecture, when specifying "image:".
2020-09-27 19:40:42 +02:00
Predrag Rogic 1444ce37d7 update_kubernetes_version: refactor
- add context.WithTimeout - limit the time spent on quering GitHub
  APIs
- extract Kubernetes GitHub Releases API quering into a separate
  fetchKubernetesReleases func
- extract Kubernetes Version Update logic into a separate
  updateKubernetesVersions func
- extract file patching instructions into a separate replaceAllString
  func
- patch '../../site/content/en/docs/commands/start.md' => remove the
  need to run 'make generate-docs' before 'make test'
- resolve 'ERROR: logging before flag.Parse'
- consolidate and add more verbose logging
- add more descriptive code comments
- removed TODO - will stick to the '0' patch version for all testData
  sets
- ensure 'make test' completes w/o any issues
2020-09-22 21:46:18 +01:00
Predrag Rogic 19cc40f420 update_kubernetes_version: implement a standalone program that polls GitHub for the latest Kubernetes release 2020-09-22 03:41:27 +01:00
Sharif Elgamal d0f17a4886 skip building gvisor and storage provisioner on release for now 2020-09-03 12:11:50 -07:00
Medya Ghazizadeh 62b54fb609
Merge pull request #8879 from MaXinjian/test
check_install_golang.sh: fix "HOST_VERSION: command not found" issue
2020-08-10 12:25:02 -07:00
Sharif Elgamal 382629a891 Bump Makefile for 1.12.2 release and add release notes 2020-08-03 14:21:15 -07:00
root d1e8d47f80 fix typos 2020-07-30 12:47:08 +00:00
Ma Xinjian db830c355c check_install_golang.sh: fix "HOST_VERSION: command not found" issue
HOST_VERSION is defined in if, we can't use it in else

Signed-off-by: Ma Xinjian <maxj.fnst@cn.fujitsu.com>
2020-07-30 14:05:00 +08:00
Medya Gh e89b0b4757 move dockerfile to a different folder 2020-07-27 15:59:56 -07:00
Medya Gh 47ed4bc23c update lint version 2020-07-24 14:45:15 -07:00
Medya Ghazizadeh a53f0ffb75
Merge pull request #8779 from priyawadhwa/skaffold
Add integration test to test against latest skaffold release
2020-07-24 12:56:37 -07:00
Medya Ghazizadeh ad7f87fc21
Merge pull request #8774 from afbjorklund/podman-build-downgrade
Podman downgrade to 1.9.3 for the build command
2020-07-22 10:58:44 -07:00
Medya Ghazizadeh 515095a2d2
Merge pull request #8780 from afbjorklund/kic-automount
Add minimal minikube-automount to the kic image
2020-07-21 15:50:16 -07:00
Priya Wadhwa 9627b586bf fix merge conflict 2020-07-21 18:30:02 -04:00
Medya Gh 87bd99c6c7 bump gopogh 2020-07-21 11:23:35 -07:00
Medya Gh 1e526fa300 update gopogh to have sorted test duration 2020-07-20 20:18:49 -07:00
Medya Ghazizadeh 2183c90de0
Merge pull request #8781 from medyagh/update_go_ver
update golang version
2020-07-20 16:02:24 -07:00
Medya Ghazizadeh 79088e6ed2
Merge pull request #8581 from afbjorklund/preload-crio
Generate cri-o container runtime preload tarball
2020-07-20 15:55:31 -07:00
Medya Gh 77c94988eb update golang version 2020-07-20 14:45:26 -07:00
Priya Wadhwa dc9f5c18ab include test in github actions; don't run boilerplate on testdata 2020-07-20 17:03:58 -04:00
Anders F Björklund af6b6db44b Make the kicbase image build by updating dnsutils
(cherry picked from commit 4e4dcbbe80)
2020-07-20 23:02:13 +02:00
Anders F Björklund 302a6b05f2 Add minimal minikube-automount to the kic image
This only needs to mount the required paths for the
storage provisioner, not for docker and minikube etc.
2020-07-20 23:01:56 +02:00
Anders F Björklund 4e4dcbbe80 Make the kicbase image build by updating dnsutils 2020-07-20 18:22:34 +02:00
Anders F Björklund 789a907f8b Downgrade kicbase podman to 1.9.3 for build cmd 2020-07-20 18:21:54 +02:00
RA489 39a4268317 Upgrade go version to 1.14.4 2020-07-08 23:27:38 +05:30
Anders F Björklund b3e5e709fa Need to test storage driver of container runtime 2020-06-30 18:56:30 +02:00
Anders F Björklund 6adf11a888 Upgrade golang version from 1.13.8 to 1.13.9 2020-06-28 20:33:32 +02:00
Anders F Björklund b87a837f2e Use the actual storage driver name for cri-o 2020-06-28 09:49:50 +02:00
Anders F Björklund 1bf268c9f6 Generate cri-o container runtime preload tarball 2020-06-27 20:20:35 +02:00
Thomas Stromberg 5680774f42 Remove unused hack scripts 2020-06-23 20:18:59 -07:00
Thomas Stromberg 9e95435e00 Add --cni flag, fix --network-plugin=kubenet 2020-06-23 20:10:25 -07:00
Priya Wadhwa 561939ce12 Add set -x to entrypoint 2020-06-12 12:20:03 -07:00
Medya Gh 50d7148db3
bump gopogh 2020-06-04 23:49:54 -07:00
Marcin Niemira 1dde16ce48
rm old python scripts 2020-05-28 22:51:26 +10:00
Medya Gh 123d1b6a74 add default versions to preload generation 2020-05-12 18:57:49 -07:00
Thomas Stromberg 60f8386f82 release scripts: use dash instead of underscore for RPM filenames 2020-05-12 08:58:18 -07:00
Thomas Stromberg 436cee2d84 Fix minikube/kubernetes capitalization, make short help consistent 2020-05-07 14:12:10 -07:00
Thomas Stromberg c89b2f5943 Add unversioned names to avoid updating upstream docs each release 2020-05-01 16:13:25 -07:00
Thomas Strömberg dee6d518ce
Merge pull request #7631 from afbjorklund/podman-sudo
Add "sudo" to podman calls
2020-04-29 08:53:41 -07:00
Thomas Strömberg 2f78bff4ed
Merge pull request #7858 from priyawadhwa/upgrade-kic
Upgrade docker driver base image to v0.0.10
2020-04-29 08:48:45 -07:00
Anders F Björklund 78a22f5056 Remove prefix parameter and add prefix command
Move the "sudo" prefix to a central location, instead of
having it all over the place. Assume only needed on Linux.
2020-04-28 13:52:52 +02:00
Anders F Björklund f78e00e99b Merge branch 'master' into podman-sudo 2020-04-28 07:55:38 +02:00
Priya Wadhwa 90b029e359 Add varlink for podman-env
'
2020-04-27 10:45:34 -07:00
Anders F Björklund 28106fa2d7 Use constants instead of the KIC prefix strings 2020-04-26 15:22:57 +02:00
Anders F Björklund 6644c5cc64 Merge branch 'master' into podman-sudo 2020-04-25 18:05:33 +02:00
Priya Wadhwa cfb1d21982 fix lint 2020-04-23 16:10:20 -07:00
Priya Wadhwa 82886dff44 change env to arg 2020-04-23 12:09:58 -07:00
Priya Wadhwa b90a28cc52 Download crio from GCS bucket 2020-04-23 11:05:47 -07:00
Priya Wadhwa 96e03d68e8 Merge branch 'master' of https://github.com/kubernetes/minikube into upgrade-kic 2020-04-23 10:55:07 -07:00
Medya Ghazizadeh 8327b230ac
Merge pull request #7859 from tstromberg/release-everything
release: Replace hardcoded list of assets to upload with a glob
2020-04-22 16:00:00 -07:00
Thomas Stromberg 056af16aab Replace hardcoded list of assets to upload with a glob 2020-04-22 15:06:50 -07:00
Priya Wadhwa 7a3db5078e Update crio and podman in docker driver base image
The dockerfile currently doesn't build because it can't find the specified versions of crio and podman to install.
2020-04-22 14:41:49 -07:00
Priya Wadhwa ac5ef8b0ee fix container runtime in params 2020-04-21 18:17:20 -07:00
Sharif Elgamal 831052032a
Merge pull request #7837 from sharifelgamal/podman_exp
mark podman tests as experimental
2020-04-21 15:19:44 -07:00
Sharif Elgamal 1dcfbc67af mark podman tests as experimental 2020-04-21 14:53:30 -07:00
Priya Wadhwa e068a498f5 Verify ISO exists before releasing binaries 2020-04-21 10:59:01 -07:00
Medya Gh dc84091d59
fix preload script 2020-04-20 21:39:08 -07:00
Medya Gh a14f846a8c add one more delete 2020-04-20 18:00:43 -07:00
Medya Gh 3e97301fe8 clean up at start too 2020-04-20 17:55:10 -07:00
Medya Gh d6ad34b920 missed one 2020-04-20 17:54:06 -07:00
Medya Gh 95eba3f734 delete prune 2020-04-20 17:51:59 -07:00
Medya Gh 3bd1608954 move exec inside func 2020-04-20 17:37:56 -07:00
Medya Gh 9eae9e544c hack preload tune pull 2020-04-20 17:36:11 -07:00
Medya Gh b774db38f3 retry up to 5 times 2020-04-20 16:29:07 -07:00
Medya Gh f7ff943f78 retry image pull 2020-04-20 16:25:58 -07:00
Medya Gh ef134c8519 err message improve 2020-04-20 16:20:10 -07:00
Medya Gh 3cd9a09fe4 return intead of exit 2020-04-20 16:18:33 -07:00
Medya Gh cdd0944723 preload script clean up minikube 2020-04-20 16:17:38 -07:00
Medya Gh 22c2850102
revert unrelated changes 2020-04-20 13:35:15 -07:00
Medya Gh c504f2febd
spell 2020-04-20 13:33:42 -07:00
Medya Gh 366dc8d127
add helper for img plull command 2020-04-20 13:13:37 -07:00
Medya Gh 1bdd9ff7e8 add docker back 2020-04-20 12:25:19 -07:00
Anders F Björklund 45ec38d2e6 Fix hack binary, as pointed out by golangci-lint 2020-04-19 09:45:16 +02:00
Anders F Björklund d7dc7bf7b2 The podman driver should not be run as root
Use sudo for the podman commands instead

Wrap the docker commands with env prefix
2020-04-19 09:42:17 +02:00
Medya Gh 3823304d21
generate preload for containerd 2020-04-18 06:31:15 -07:00
Medya Ghazizadeh 2c4ba8ba9c
Merge pull request #7763 from kubernetes/bump_gopopgh
ci: bump gopogh version for open in new window feature
2020-04-18 01:42:34 -07:00
Medya Gh fb6f68e71d
bump gopogh version for open in new window feature 2020-04-17 22:57:25 -07:00
Medya Ghazizadeh 40442ba281
Merge pull request #7716 from tstromberg/conformance2
conformance: add --wait=all, reduce quirks
2020-04-17 19:57:59 -07:00
Medya Ghazizadeh e0db24d414
Merge pull request #7713 from tstromberg/jenkins-job
Add Docker for Windows to pending job list
2020-04-16 23:25:11 -07:00
Thomas Strömberg 13895fa1da
Merge pull request #7681 from tstromberg/windows-tests
Remove hyperv-virtual-switch argument, delete all profiles
2020-04-16 09:17:13 -07:00
Thomas Stromberg 5b30fd64f4 conformance: add --wait=all, reduce quirks 2020-04-16 07:52:46 -07:00
Thomas Stromberg 42d2b49b17 Add Docker for Windows to pending job list 2020-04-16 07:02:14 -07:00
Thomas Strömberg 1f4f2095a1
Merge pull request #7682 from tstromberg/windows-docker-test
Add Windows integration test for Docker
2020-04-16 06:51:10 -07:00
Medya Ghazizadeh 442c2dc7c3
Merge pull request #7240 from medyagh/macos_ci_docker
fix ci machine for docker on macos
2020-04-15 12:55:39 -07:00
Thomas Stromberg 19ee19d20e Add Windows integration test for Docker 2020-04-15 09:53:50 -07:00
Thomas Stromberg 1dc1ea45f5 Remove hyperv-virtual-switch argument, delete all profiles 2020-04-15 09:51:58 -07:00
Medya Gh 4dd2152fae update crio version in kicbase 2020-04-10 01:42:58 -07:00
Thomas Stromberg 16a8c38682 none: Add support for OpenRC init (Google CloudShell) 2020-04-08 18:20:30 -07:00
Medya Gh f82c2f2dd3 add copy to clipboard to test results 2020-04-07 17:08:34 -07:00
Medya Gh deb16d6751 copy kic overlay image only for docker run time tarball 2020-04-06 18:56:19 -07:00
Medya Gh f72132b5ec lint 2020-04-06 18:56:19 -07:00
Thomas Stromberg 29dbb5c033 cd to SRC_DIR to avoid brew error 2020-04-02 20:55:11 -07:00
Priya Wadhwa 721a57c25a Rebased 2020-03-26 11:01:28 -07:00
Priya Wadhwa e293b38431 Set --preload flag to true so that download.PreloadExists doesn't immeditely return false 2020-03-26 10:42:45 -07:00
Priya Wadhwa c9c324242c add newlines 2020-03-26 10:37:29 -07:00
Priya Wadhwa 2a1ee51083 add logging 2020-03-26 10:31:46 -07:00
Priya Wadhwa 2768552361 Use download.TarballExists to make sure tarball is publicly accessible in script generator 2020-03-26 10:23:30 -07:00
Priya Wadhwa efbe113a94 Add more logging to preload 2020-03-26 10:15:02 -07:00
Medya Gh 7d5b854541 fix ci machine for docker on macos 2020-03-25 15:11:03 -07:00
Medya Gh 093b7c29be improve comments 2020-03-25 13:30:08 -07:00
Medya Gh d18cb6fe09 install socat 2020-03-25 13:26:47 -07:00
Priya Wadhwa d2171be291 rebased' 2020-03-24 16:39:54 -07:00
Medya Ghazizadeh afa09ad5d4
Merge pull request #7182 from priyawadhwa/issue-7172
Upgrade podman and add libglib2.0-0 to kicbase image v0.0.8
2020-03-23 23:01:53 -07:00
Medya Gh 90de1d4c7f install conntrack on integeration machines 2020-03-23 18:37:13 -07:00
Priya Wadhwa abf35cfbc1 Upgrade podman and add libglib2.0-0 to kicbase image
The `TestOffline/group/crio` integration test was failing with the error:

```
crio load image: sudo podman load -i /var/lib/minikube/images/storage-provisioner_v1.8.1: exit status 125
```

I tried SSH'ing into minikube and running the command myself, and got the error:

```
Error: could not get runtime: please update to v2.0.1 or later: outdated conmon version
```

I then tried updating conmon, but got the error:

```
conmon: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
```

I then tried adding the libglib2.0-0 library to the kic base image and upgrading podman, which seems to have resolved the issue.
2020-03-23 17:41:06 -07:00
Priya Wadhwa bfe8aee3b5 Pass in container runtime to preload tarball name
This way we don't have to individually check if we support a container runtime
2020-03-23 12:29:49 -07:00
Thomas Strömberg 8e9d8a221c
Merge pull request #7134 from tstromberg/test-download-only
download_only_test: Fix non-docker runtimes, remove expected-driver test
2020-03-21 14:48:01 -07:00
Thomas Stromberg d75dc6a229 Remove broken ExpectedDefaultDriver test, fix call to PreloadExists 2020-03-21 10:22:45 -07:00
Tacio Costa beadb8626e Fix script to update kubernetes version looking for wrong files and regex 2020-03-21 04:07:10 -03:00
Priya Wadhwa 68baafccf0 fix lint 2020-03-18 10:41:24 -07:00
priyawadhwa 1c9e63312c
Merge pull request #7042 from priyawadhwa/preload-release-script
Refactor preload_images.go to function as an automated release script for preloaded tarballs
2020-03-18 10:33:18 -07:00
Priya Wadhwa 579ac4411c Use one tarballName function for consistency and add amd64 to the name 2020-03-17 13:58:03 -07:00
Priya Wadhwa 5659a1df6e Remove cloudbuild stuff, run preload generation in jenkins 2020-03-17 13:54:00 -07:00
Priya Wadhwa 0acb06bd34 add flag for kubernetes version 2020-03-16 17:51:41 -07:00
Priya Wadhwa c9c597c2e1 get last 30 releases of k8s from github 2020-03-16 17:48:00 -07:00
Priya Wadhwa 316eef44d1 Run preloaded images release script in jenkins 2020-03-16 10:44:19 -07:00
Priya Wadhwa 9c8102dd58 Refactor preload_images.go to generate and upload a preloaded tarball
This script is now responsible for making sure that the DefaultK8sVersion, NewestK8sVersion, and OldestK8sVersion supported by minikube have preloaded tarballs. It will be run on every PR as an automated release script for preloaded tarballs.
2020-03-13 16:05:46 -07:00
Medya Ghazizadeh fb2ec883b4
Merge pull request #6949 from afbjorklund/go-1.13.8
Upgrade go version 1.13.6 -> 1.13.8
2020-03-13 15:14:00 -07:00
Medya Gh 94092c8d6a sudo systemctl 2020-03-12 11:43:34 -07:00
Thomas Strömberg d8f5e769bb
Merge pull request #7013 from tstromberg/debug-preload-upload
Extra debugging for preload generation process
2020-03-11 13:53:13 -07:00
Thomas Stromberg 43ce409e79 Extra debugging for preload generation process 2020-03-11 13:09:55 -07:00
Medya Gh e4a05cd15c fix jenkins commit status duplicate wording 2020-03-10 19:27:05 -07:00
Anders F Björklund ff07ab8bd1 Upgrade go version 1.13.6 -> 1.13.8 2020-03-08 12:32:46 +01:00
Medya Ghazizadeh d5bc3fdc65
Merge pull request #6888 from sharifelgamal/driver
Switch --vm-driver paramter to --driver
2020-03-04 19:04:43 -08:00
Sharif Elgamal ac0c1bad42 missing files 2020-03-04 13:48:21 -08:00
Priya Wadhwa a03c239c93 Add k8s binaries to preloaded tarball
Include k8s binaries in preloaded tarball so that we can skip tranferring this over.

This increases the size of the tarball from around 430 MB to 500MB, but saves a couple seconds on start time.
2020-03-03 11:35:47 -08:00
Priya Wadhwa 3d291fd69e Only add necessary directories to tarball 2020-03-02 17:20:46 -08:00
Priya Wadhwa 59615132a8 Include container runtime and tarball version in preloaded tarball name 2020-03-02 17:04:50 -08:00
Priya Wadhwa 4996b14a28 check for preloaded images before loading again 2020-03-02 15:10:40 -08:00
Priya Wadhwa 481010d8dc added overlay2 to preloaded images tarball name 2020-03-02 14:10:41 -08:00
Priya Wadhwa 742b3e44d6 remove transfer binaries 2020-03-02 13:53:23 -08:00
Priya Wadhwa 697359b4f3 Fixed lint 2020-03-02 13:37:22 -08:00
Priya Wadhwa 6b0e942e7e Rebased on master 2020-03-02 13:33:27 -08:00
Medya Gh e2161049a7 restart docker on mac 2020-02-25 15:55:35 -08:00
Medya Gh 30a926f043 ls volumes 2020-02-25 15:16:18 -08:00
Medya Gh 72a355389d add mac os integration test for docker driver 2020-02-25 13:25:57 -08:00
Priya Wadhwa aefbf2cd18 Rebased on master 2020-02-24 13:41:06 -08:00
sayboras 5626934b0a Upgrade to 1.13.6 2020-02-23 23:10:13 +11:00
Medya Gh 5f8740a15e update kic sha 2020-02-22 15:41:12 -08:00
Medya Gh 73c4c4c323 bump kic version to 7 2020-02-22 14:07:43 -08:00
Medya Gh 95402af363 bump kic version 2020-02-22 13:51:42 -08:00
Medya Gh 9b91ef7590 Add CIO-o runtime to kic drivers and improve kic image 2020-02-22 13:46:17 -08:00
Medya Ghazizadeh 0d8eca677f
Merge pull request #6719 from medyagh/gopogh_update
bump gopogh version
2020-02-21 11:32:23 -08:00
Medya Gh da612a19c2 typo 2020-02-21 11:31:35 -08:00
Medya Gh a0ff852c2b install jq if not availble 2020-02-21 10:56:46 -08:00
Medya Gh 8b8f2c5f35 gopogh status 2020-02-21 09:30:01 -08:00
Medya Gh 644b01aa0e increase retry timeout for update commit 2020-02-20 22:14:11 -08:00
Medya Gh 60019e00ea typo 2020-02-20 17:07:32 -08:00
Priya Wadhwa 94737b4a14 Add lz4 to kic base image and upgrade to v0.0.6 2020-02-20 15:53:09 -08:00
Medya Gh c51dc15187 update gopogh and install by binary instead of compile 2020-02-20 14:19:03 -08:00
Priya Wadhwa 19fa296625 Compress with lz4 2020-02-20 14:07:03 -08:00
Priya Wadhwa 97ea1b0b85 Remove preloaded base image and add makefile rule to upload prelaoded tar to gcs 2020-02-20 11:55:47 -08:00
Priya Wadhwa be8f2c2ecd Clean up docker volumes in jenkins common script 2020-02-19 13:17:31 -08:00
Nguyen Hai Truong 44692fb411
trivial fix typo: kubelets -> kubelet (#6632)
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2020-02-13 21:10:32 -07:00
Medya Ghazizadeh 3bb1a57700
upload "per commit" logs for integration test (#6609)
* make set logs URLs per commit

* add logs per commit to commit status

* logs per commit

* add per commit logs for windows too

* fix windows test script virtualbox

* fix windows script

* forget about windows for now it errors

* fix pending script

* fix typo pending script
2020-02-13 11:27:32 -07:00
Thomas Strömberg d07412fa12
Fix unnecessary conversion (unconvert) (#6607) 2020-02-12 19:19:12 -07:00
Medya Ghazizadeh 398c7ef00b
Add podman driver (#6515) 2020-02-12 19:11:44 -07:00
priyawadhwa 434176ffad
Merge pull request #6531 from priyawadhwa/kic-preload-images
Provide images with pre-loaded Kubernetes images & binaries
2020-02-12 09:55:09 -08:00
priyawadhwa b0edc720b4
Don't install recommended packages in kic base image (#6589)
This reduces base image size from 816MB to 673MB (17.5% reduction)
2020-02-11 16:38:10 -07:00
Priya Wadhwa a2564e4eed Preload /var/lib/minikube/binaries 2020-02-10 18:51:05 -08:00
Priya Wadhwa 7f0f3dcbdd Addressed review comments, still need to copy over /var/lib/minikube/binaries 2020-02-10 17:55:04 -08:00
Thomas Stromberg 656ddf43ca Update script to use bump-formula-pr 2020-02-07 15:11:22 -08:00
Priya Wadhwa c35bd75b5c fix lint 2020-02-07 14:19:44 -08:00
Priya Wadhwa 4a0fb0eeb1 Add separate makefile target for preloaded images
and convert shell script to go script
2020-02-07 11:15:34 -08:00
Priya Wadhwa e055ee6929 Preload docker images into kic base image
Adds support for specifying kubernetes version and preloading docker
images into the kic base image.

Though this increases the kic base image by ~1.6G, it should improve
start latency in conjunction with removing 'kubeadm pull images' in
another PR.
2020-02-06 13:12:43 -08:00
tstromberg 4776bb7a2d Set GOPATH for the entire script 2020-02-05 10:18:17 -08:00
Medya Gh 6c95a28c10 remove default crictl setting 2020-02-03 23:25:55 -08:00
Medya Gh e231e7ae96 rever dockefile changes 2020-02-03 22:32:08 -08:00
Medya Gh a2f2df9f81 add options to docker service for kic 2020-02-03 20:21:41 -08:00
Medya Ghazizadeh 3dd5495d2f
trim kic base image (#6478) 2020-02-03 16:31:52 -07:00
Medya Ghazizadeh 4bf3fc422a
Add docker run-time for kic driver (#6436)
* Add docker container run time for kic
2020-01-30 14:30:04 -08:00
Anders Björklund a9af9d0bd3
Use the complete filenames for the packages (#6283)
Follow standard file naming practices, for each package manager.

This opens up for allowing additional architectures, in future.
2020-01-29 16:15:32 -08:00
Medya Gh 0760859e62 remove not needed check 2020-01-28 18:27:35 -08:00
Medya Gh 987e5dc91e set pending for docker driver too 2020-01-28 17:08:02 -08:00
Medya Gh d8a348c0c8 add integration test script for docker driver 2020-01-28 16:05:49 -08:00
Medya Gh 1e05b11703 Add ssh to kic image 2020-01-23 18:24:51 -08:00
Medya Gh 773510b9c1 Add ssh to kic container image 2020-01-23 17:45:50 -08:00
Sharif Elgamal b0968a37db
change github-release calls to verbose 2020-01-17 14:20:16 -08:00
Anders F Björklund d623f35d55 Move away from go.mod when installing gopogh tool 2020-01-13 20:21:58 +01:00
Medya Ghazizadeh 19c8ddee9f
Merge pull request #6151 from medyagh/kic_exp
Experimental verison of kic
2020-01-10 00:42:01 -08:00
Medya Gh 8a0c840e52 move kic docker image to minikube gcr 2020-01-08 13:52:07 -08:00
tstromberg 7632ff9731 Rebuild docker images for each release 2020-01-08 09:47:21 -08:00
Medya Gh 07c0e32954 improve kic image 2020-01-07 13:54:00 -08:00
Medya Gh 77394db9aa add Dockerfile for kic images 2020-01-07 13:54:00 -08:00
Medya Ghazizadeh 177099ec5e
typo 2019-12-20 10:00:34 -08:00
Medya Ghazizadeh 593249f277
Bump gopogh version 2019-12-20 08:40:23 -08:00
Medya Gh 45bc738b9f add number of failures to commit status 2019-12-20 03:27:08 -08:00
Medya Ghazizadeh 7a9dec9b83
Merge pull request #6081 from medyagh/pretty_logs
Generate prettier logs for integration tests
2019-12-20 00:47:41 -08:00
Medya Gh bfa7931659 skip prettifying windows for now 2019-12-19 23:58:09 -08:00
Medya Gh b4e43bbfe6 bump gopogh and attempt to fix windows script 2019-12-19 22:21:02 -08:00
Medya Gh f1933f44dd fix script 2019-12-19 19:03:59 -08:00
Medya Gh d23abdcd38 fix bash script 2019-12-19 18:26:30 -08:00
Medya Gh 7f79828f21 add -test.v back 2019-12-19 16:07:46 -08:00
Medya Gh 8174151a9c fix windows hyperscript 2019-12-19 16:03:44 -08:00
Medya Gh c8c5081e4a Fix wc -l logic 2019-12-19 15:57:35 -08:00
Medya Gh 2e113249f3 enable gomod 2019-12-19 15:15:11 -08:00
Medya Gh d626c93203 install gopogh by go get 2019-12-19 14:24:33 -08:00
Medya Gh 0ebe3646a0 add go path to path 2019-12-19 12:08:37 -08:00
Medya Gh ed4b6146e4 change file name for pending 2019-12-19 09:34:18 -08:00
Medya Gh 104d7c64cd resolve code review comments 2019-12-19 09:32:09 -08:00
Medya Gh 6e91e983d6 fix script 2019-12-18 11:08:17 -08:00
Medya Gh 7fa17934d8 install gopogh using binary 2019-12-17 14:21:23 -08:00
Medya Gh 26236f55b1 hyperv intg script 2019-12-17 11:21:51 -08:00
Medya Gh bf7db0775c fix sh command 2019-12-17 09:39:32 -08:00
Medya Gh cd7cac61d3 attempting to add gopogh for hyperv 2019-12-17 00:55:10 -08:00
Medya Gh a5ec6adafb fix bash 2019-12-16 19:47:46 -08:00
Medya Gh 17baddce45 typo 2019-12-16 18:38:50 -08:00
Medya Gh 502a433ff0 upgrade to gopogh 0.0.12 2019-12-16 17:33:02 -08:00
Thomas Stromberg 8a6e94de8f jenkins: delete all clusters 2019-12-16 15:41:22 -08:00
Medya Gh 2e19a6aa25 docker_bin 2019-12-15 01:10:37 -08:00
Medya Gh 62f435f24f fix public log url 2019-12-15 01:08:34 -08:00
Medya Gh e98e5794e9 docker path linux 2019-12-15 00:08:52 -08:00
Medya Gh 6478138c36 fix syntax 2019-12-15 00:07:21 -08:00
Medya Gh 9a2753d211 if no html put txt 2019-12-14 20:31:21 -08:00
Medya Gh 52b3615c5f upload test.out as well 2019-12-14 18:34:26 -08:00
Medya Gh ff12983411 mount testout files to docker 2019-12-14 18:11:43 -08:00
Medya Gh ed647e2e5f no tty for docker run 2019-12-14 17:09:51 -08:00
Medya Gh d6872b9b8b fix bash interpolation 2019-12-14 16:38:03 -08:00
Medya Gh 362d65a9f7 try to capture exit code 2019-12-14 15:54:10 -08:00
Medya Gh a151947307 add right folder 2019-12-14 15:14:28 -08:00
Medya Gh 7866712003 generate inside docker 2019-12-13 16:53:06 -08:00
Medya Gh 824ce7c255 chmod 2019-12-13 02:19:09 -08:00
Medya Gh 738a972d5e install golang for integration machines 2019-12-13 02:12:05 -08:00
Medya Gh 1c840d7d1f install go 2019-12-13 01:42:44 -08:00
Medya Gh 4eb47925ce install go on integration boxes 2019-12-13 01:03:41 -08:00
Medya Gh dc12daa28f go bin 2019-12-13 00:38:57 -08:00
Medya Gh f4006edcd5 generate prettier logs in html 2019-12-13 00:20:56 -08:00
Medya Gh b0ba1ff0c6 use tail instead of bc for div 2019-12-10 15:43:43 -08:00
Medya Gh dabf8c1cde better wording 2019-12-10 14:51:19 -08:00
Medya Gh e428b29ed2 fix typo 2019-12-10 14:48:23 -08:00
Medya Gh 8c806cc663 CI: adding integration test duration to commit status 2019-12-10 14:43:58 -08:00
Sharif Elgamal 29691a67b7 fix up release notes script 2019-12-02 14:46:31 -08:00
Thomas Stromberg 5efde8bf7d The PR field is actually the commit field 2019-11-11 19:21:46 -08:00
Thomas Stromberg f69498ca99 Include GitHub response to make debugging easier, escape strings 2019-11-11 19:00:31 -08:00
Thomas Stromberg cfcb498448 Send output to /dev/null to avoid corrupting write_out 2019-11-11 18:14:41 -08:00
Thomas Stromberg e96059df21 Remove headers from output, as they corrupted --write-out 2019-11-11 18:04:28 -08:00
Thomas Stromberg bed9b128a8 Fix argument indexes 2019-11-11 17:58:11 -08:00
Thomas Stromberg dac8f12e9f Update function name 2019-11-11 17:18:50 -08:00
Thomas Stromberg a1b8d571bd Increase retry limit to 8, just in case 2019-11-11 17:14:22 -08:00
Thomas Stromberg 2b025b17f9 Retry GitHub status updates 2019-11-11 17:08:48 -08:00
Medya Gh 154522b007 fix cron cleanup script 2019-11-01 13:00:39 -07:00
tstromberg f66c8d0193 exit 99 2019-10-31 12:48:45 -07:00
tstromberg 52bba15b38 Disable brew cask updater 2019-10-31 12:47:01 -07:00
Thomas Strömberg 94e0f289e9
Merge pull request #5648 from tstromberg/cleanup-scripts
Automatically install periodic cleanup script on macOS and Linux
2019-10-30 10:51:52 -07:00
Thomas Stromberg 07ab2751ec Output warning rather than fail if install does not work 2019-10-30 09:33:43 -07:00
Thomas Stromberg 67181c6dd6 Merge 2019-10-30 06:37:48 -07:00
Thomas Stromberg bf69daf93b Invoke wall in the older BSD style for macOS compat 2019-10-30 06:34:40 -07:00
Thomas Stromberg 96a96a044a Add software update to macOS for behavioral parity 2019-10-30 06:30:59 -07:00
Thomas Stromberg 52e965ecc0 Unify behavior between macOS and Linux cleanup scripts 2019-10-30 06:30:10 -07:00
Thomas Strömberg ba8aeaae71
Merge pull request #5784 from tstromberg/podwait-none2
Improve reliability of TestStartStop with none driver
2019-10-30 06:08:53 -07:00
Thomas Stromberg 042d509085 kill VboxHeadless processes, move load warning until after processes are killed 2019-10-29 22:57:14 -07:00
Thomas Stromberg 3238542390 Fix awkward typo in macOS script 2019-10-29 22:51:22 -07:00
Thomas Stromberg ce8e7e1510 Merge and fix LOAD calculation 2019-10-29 22:12:23 -07:00
Thomas Stromberg 9a8c26c2fe Call sudo to install cleanup script on Linux 2019-10-29 22:05:39 -07:00
Thomas Stromberg 970fc60403 Remove old kubeadm reset hack, also forcibly kill docker processes 2019-10-29 21:50:02 -07:00
Thomas Stromberg 0b65bbf1d9 Use underscores for script names, clear dhcpd leases 2019-10-29 21:33:39 -07:00
Thomas Stromberg f8a114ada9 t fetch
Merge branch 'cleanup-scripts' of github.com:tstromberg/minikube into cleanup-scripts
2019-10-29 21:29:17 -07:00
Thomas Stromberg af6468f5a4 Move gvisor testing to live behind a flag, double timeout 2019-10-29 20:20:33 -07:00
Thomas Stromberg 2c960a1435 Remove PARALLEL_COUNT 2019-10-29 20:15:35 -07:00
Thomas Stromberg df2dff532a Increase timeout to 90m, unset PARALLEL_COUNT 2019-10-29 20:03:39 -07:00
tstromberg f8f38f917b Fix issues with crontab installation 2019-10-29 16:10:13 -07:00
Thomas Strömberg d32431efba
Merge pull request #5735 from tstromberg/gvisor-yiso
gvisor: Use chroot instead of LD_LIBRARY_PATH
2019-10-25 15:41:28 -07:00
tstromberg 30614d1fbe Mention GVISOR_IMAGE_VERSION 2019-10-25 15:08:46 -07:00
tstromberg 416f132ebb Pass --expected-default-driver to the test rather than minikube
Improve VBoxManage detection on Windows

Add missing install_test
2019-10-25 10:43:30 -07:00
Thomas Stromberg 4d84ac2561 Merge branch 'master' into cleanup-scripts 2019-10-24 15:46:33 -07:00
Thomas Stromberg 33ef4e1103 Add comment explaining why EXPECTED_DEFAULT_DRIVER=hyperkit 2019-10-24 15:26:34 -07:00
Thomas Stromberg c2fd3c6504 Move expected driver check to its own subtest 2019-10-24 15:23:39 -07:00
Thomas Stromberg 32c3ccd486 Use print instead of printf to preserve whitespace 2019-10-24 13:01:52 -07:00
Thomas Stromberg bdd937d360 Adjust -expected-default-driver invocation 2019-10-23 22:06:48 -07:00
Thomas Stromberg dcdac36e98 Add integration tests 2019-10-23 21:45:23 -07:00
Thomas Strömberg 989dc02ec3
Merge pull request #5544 from duohedron/boilerplate
Get rid of python scripts in build process
2019-10-23 11:58:25 -07:00
tstromberg 255e755622 Merge branch 'master' into cleanup-scripts 2019-10-21 11:37:39 -07:00
tstromberg fb6295823f rsync cron directory 2019-10-21 11:37:32 -07:00
duohedron f9110b2ff4 Regexes are made top-level var. 2019-10-18 08:35:17 +02:00
Thomas Strömberg 60ae033a6a
Merge pull request #5623 from corneliusweig/w/release-notes-helper
Delegate release notes generation to external tool
2019-10-17 14:36:36 -07:00
Thomas Stromberg 0ce8ab0524 Add boilerplate 2019-10-17 13:11:31 -07:00
Thomas Stromberg 0c77885329 Add boilerplate 2019-10-17 13:11:04 -07:00
Thomas Stromberg b5f071d67f Fix 'grep: invalid character range' error on macOS 2019-10-17 13:09:05 -07:00
Thomas Stromberg c3e20bac5e Add boilerplate 2019-10-17 12:42:14 -07:00
Thomas Stromberg 305209e869 Automatically install periodic cleanup script on macOS and Linux 2019-10-17 12:19:43 -07:00
Thomas Stromberg 554f553c9e Include top output with load warning 2019-10-17 11:54:52 -07:00
Thomas Stromberg 23e94a3257 Use full paths consistently in cleanup 2019-10-17 11:37:14 -07:00
Thomas Stromberg 53136c8bb6 Add load warning, fix profile deletion, make vbox iface cleanup less noisy 2019-10-17 11:23:55 -07:00
Thomas Strömberg 7a7689bef3
Merge pull request #4780 from marekschwarz/DELETE_ALL_PROFILES
Added option to delete all profiles
2019-10-16 13:06:25 -07:00
Medya Ghazizadeh 89bc5922d9
Merge pull request #5622 from tstromberg/jenkins-mystery
jenkins: rsync needs -R, add version output
2019-10-14 15:08:52 -07:00
Thomas Stromberg a4e8b63de9 Calculate OS_ARCH, as the variable doesn't exist in this context 2019-10-14 14:37:03 -07:00
Cornelius Weig 7ef4654087 Delegate release notes to external tool 2019-10-14 23:18:15 +02:00
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
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
Aaron Prindle 6c03d96042 Fixed file contents for release build and upload shell script 2016-10-12 15:34:55 -07:00
Dan Lorenc f1ecb1ba74 Fix xhyve integration tests. 2016-10-12 08:34:54 -07:00
Aaron Prindle 50126ffc62 Merge pull request #682 from aaron-prindle/jenkins-changes
Made changes to Jenkins files for new github flow
2016-10-11 16:56:59 -07:00
Aaron Prindle 9bf5c43a67 Made changes to Jenkins files for new github flow 2016-10-11 16:32:16 -07:00
Aaron Prindle b838813187 Added appropriate executable permissions (755) in github shell scripts so jenkins can run them w/o modifying 2016-10-11 13:50:30 -07:00
Aaron Prindle 602fd82bd3 Adding Jenkins files to /hack/jenkins After this commit goes throught, changes to jenkins should be made to use the scripts in this /hack/jenkins folder directly 2016-10-11 11:41:27 -07:00
Dan Lorenc c615dad881 Add the main Jenkins build script to git. 2016-09-13 12:57:44 -07:00
Dan Lorenc 5d6d029230 Start moving Jenkins scripts to source control.
This script is what sets the pending statuses in Github before the builds
and tests run.
2016-09-13 09:35:59 -07:00
dlorenc 3c54559154 Add a script to generate coverage results. 2016-07-14 10:43:42 -07:00
Dan Lorenc f2f6b2d336 Remove the hardcoded constant. 2016-06-03 15:23:35 -07:00
Lucas Käldström db5dc1b24e Build localkube statically, use a python container to remove the python dep on the build env, and use kube-cross for building on non-linux 2016-05-25 23:23:12 +03:00
Dan Lorenc 2858ff3b3e Check boilerplate in all files.
Also fix misisng boilerplate.
2016-05-24 21:57:16 -07:00
Dan Lorenc a0fc571b06 Add gitTreeState argument. 2016-05-19 10:00:24 -07:00