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