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
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
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
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
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
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
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
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
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
370beb5a65
Cleanup exited containers before build.
...
So we don't run out of space
2017-08-04 14:33:18 -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
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
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
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
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
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
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
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
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
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