Commit Graph

1961 Commits (1fdaa0ea510ec151af99f558357fc721d1cb6671)

Author SHA1 Message Date
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