Joe Beda
ddcd2e1d2b
Merge pull request #3463 from jlowdermilk/gendocs
...
Autogenerate markdown docs for kubectl
2015-01-14 13:32:38 -08:00
Jeff Lowdermlk
250c948ae7
Autogenerate markdown docs for kubectl
...
Add test to verify generated docs are up to date.
2015-01-14 13:21:14 -08:00
Zach Loafman
0c4119fb07
Revert "Add --v=4 to e2e bash executions by default"
...
This reverts commit abc621759a
, which
interacts weirdly with Jenkins on the GKE provider. Tactical revert
until that can be figured out:
https://github.com/GoogleCloudPlatform/kubernetes/issues/3474
2015-01-14 13:10:45 -08:00
Zach Loafman
e14d5f3416
Merge pull request #3464 from smarterclayton/fix_invalid_json_in_services.sh
...
Fix e2e invalid JSON, ensure CLI communicates invalid JSON errors effectively
2015-01-14 10:26:34 -08:00
Clayton Coleman
ccdc20d90c
Ignore empty objects from streams and error when nothing passed to create
...
Passing zero objects to create should be an error
2015-01-14 13:12:33 -05:00
Clayton Coleman
31413c8727
Add more tests around JSON/YAML decoding from the CLI
...
Switch the ignore stream errors behavior to print a Warningf on
failure to parse, not v(2)
2015-01-14 12:38:36 -05:00
Clayton Coleman
abc621759a
Add --v=4 to e2e bash executions by default
...
Will allow more debugging output to be available in CLI
2015-01-14 12:37:40 -05:00
Clayton Coleman
d986028cf7
Remove trailing commas from e2e services.sh
2015-01-14 12:36:25 -05:00
Zach Loafman
1f210d4961
Merge pull request #3438 from zmerlynn/fix_pd_sh
...
Deflake pd.sh: Try really, really hard to detach and delete PD
2015-01-14 07:57:39 -08:00
Zach Loafman
21e81de190
Deflake pd.sh: Try really, really hard to detach and delete PD, up pod-up timeout
2015-01-14 07:48:34 -08:00
Clayton Coleman
ec803cb809
Allow resource.Builder to stream YAML from the CLI
...
Add both JSON and YAML STDIN tests in test-cmd
2015-01-14 00:50:13 -05:00
Clayton Coleman
be8d97077e
hack/test-cmd.sh can be easier to read if we set PATH
...
instead of using a replacement var. Makes cut and paste testing
easier.
2015-01-13 19:04:47 -05:00
Clayton Coleman
80260f4cb9
Improve hack/test-cmd.sh tests to check versions and default API behavior
2015-01-13 18:46:13 -05:00
Zach Loafman
ba618db226
Fix kubernetes-e2e-gke build
...
Got a little aggressive combining options here. Accidentally forgot
that this parameter would bork normal GKE.
2015-01-12 16:55:56 -08:00
Zach Loafman
c5c70dfcbb
Merge pull request #3417 from brendandburns/e2e
...
Don't just sleep and hope when deleting the pd pod.
2015-01-12 16:13:00 -08:00
Brendan Burns
bdcb0c53f5
Don't just sleep and hope when deleting the pd pod.
2015-01-12 16:06:57 -08:00
Daniel Smith
14b718973a
Merge pull request #3415 from zmerlynn/e2e_jenkins_script
...
Add Jenkins e2e script
2015-01-12 15:11:28 -08:00
Brendan Burns
a6f6f25dda
Merge pull request #3387 from zmerlynn/fix_monitor_flake
...
Fix monitoring.sh flake (hopefully)
2015-01-12 14:32:31 -08:00
Zach Loafman
3095f1bf64
Add Jenkins e2e script
...
This commit adds and documents the e2e script that Jenkins runs
2015-01-12 13:49:24 -08:00
Zach Loafman
0b3baad0f4
Kill the forced upload to GCS.
...
This actually tickles the -opipefail, and is only necessary if you're
rebuilding (which isn't really safe, because it can slice downstream
builds.)
2015-01-12 09:52:58 -08:00
Zach Loafman
c5ab2412a3
chmod 755 hack/jenkins/build.sh (sorry)
2015-01-12 09:33:50 -08:00
Dawn Chen
724e766f91
Merge pull request #3360 from zmerlynn/jenkins_scripts_start
...
Initial commit of Jenkins script + README
2015-01-12 09:22:39 -08:00
Zach Loafman
0918bdbd88
Fix monitoring.sh flake (hopefully)
...
This was staring at me yesterday, and I even commented that "huh,
there's got to be something wrong with the firewall rules, but then
job/kubernetes-e2e-gce/1002/tapResults/ made it obvious: If you have
two e2e jobs running at the same time in the same project (hint:
Jenkins does), they'll race with each other, since resource names are
project scoped.
2015-01-10 08:19:55 -08:00
Zach Loafman
ca1753e51f
Initial commit of Jenkins script + README
...
And a config description. This doesn't yet have much - first want to
make sure I can do the build job. Next I'll submit the e2e script with
its twiddles and switch those over. (After going to 3 e2es, I think
it's finally time for version control.)
2015-01-09 16:28:48 -08:00
Clayton Coleman
dcd11761e7
Reenable Coverage and Race detection for travis and integration test
2015-01-09 13:16:30 -05:00
bgrant0607
7bff03fb41
Merge pull request #2878 from smarterclayton/enable_v1beta3
...
Enable v1beta3 API via --runtime_config=api/v1beta3 flag
2015-01-08 11:04:06 -08:00
Tim Hockin
812e8346ac
Merge pull request #3314 from zmerlynn/fix_services_sh_version_skewed
...
GKE: Fix services.sh for server versions < 0.8.0
2015-01-08 10:55:31 -08:00
Zach Loafman
e250c46598
GKE: Fix services.sh for server versions < 0.8.0
...
Commit e045c6ce
broke this test against all server versions <0.8.0,
which immediately broke the GKE Jenkins runs.
2015-01-08 10:42:01 -08:00
Clayton Coleman
7fd887df61
Enable v1beta3 API via --runtime_config=api/v1beta3 flag
...
This exposes the proper v1beta3 API endpoint when the user specifies
the --runtime_config=api/v1beta3 argument to the apiserver. v1beta3
is still considered experimental and subject to change.
--runtime_config is a map of string keys and values, that can be
specified by providing
--runtime_config=a=b,b=c,d,e
Only the key must be specified, the value can be omitted.
Enables v1beta3 in hack/local-up-cluster.sh and hack/test-cmd.sh
2015-01-08 13:01:24 -05:00
Clayton Coleman
8262c30c97
Improve serialization round trip test and add v1beta3
2015-01-08 12:44:28 -05:00
Clayton Coleman
2495174ab7
test-cmd should test all api versions
2015-01-08 10:47:53 -05:00
Vish Kannan
869f06c4e8
Merge pull request #3257 from brendandburns/monitoring
...
Add some more robustness to the curl check.
2015-01-08 07:40:16 -08:00
Zach Loafman
3ddde070f3
Merge pull request #3309 from brendandburns/race
...
Add some retry around the wget, in an effort to deflake the test
2015-01-07 22:20:42 -08:00
Brendan Burns
dba7248d0e
Add some more robustness to the curl check.
2015-01-07 21:07:49 -08:00
Brendan Burns
eda47206bd
Add some retry to the wget checking from container.
2015-01-07 21:05:19 -08:00
Eric Tune
0d4d1e28b2
Merge pull request #3270 from smarterclayton/kubelet_fixes
...
Cleanup to client initialization in Kubelet
2015-01-07 15:55:38 -08:00
Tim Hockin
d314862e46
Merge pull request #3285 from erictune/public_reflectors
...
Make Reflector helpers reusable.
2015-01-07 14:10:57 -08:00
Eric Tune
7d5ac856c5
Make Reflector helpers reusable.
...
Scheduler uses Reflector from pkg/client/cache.
It defines some helper classes.
I'd like to use those helpers with pkg/client/cache
in kube-proxy and kubelet too.
2015-01-07 13:49:37 -08:00
Clayton Coleman
ba53d723d3
Clean up how client is passed to Kubelet in preparation for reading pods
...
Also fixes how Kubelet server looks up pods by name when there are multiple
sources.
2015-01-07 14:40:37 -05:00
Rohit Jnagal
62ecd5f3ff
Fix few vet errors.
...
There are quite a few 'composite literal uses unkeyed fields' errors that I have kept out of this patch.
And there's a couple where vet just seems confused. These are the easiest ones.
2015-01-07 08:40:16 +00:00
Eric Tune
ee2f63a877
Merge pull request #3221 from thockin/integ
...
Reduce verbosity on integration tests
2015-01-06 12:50:38 -08:00
Eric Tune
823d878b30
Merge pull request #3246 from zmerlynn/newline_printable
...
Fix newlines in TAP stdout/stderr output
2015-01-06 11:41:08 -08:00
Zach Loafman
9312af4f79
Fix newlines in TAP stdout/stderr output
...
It turns out, newlines are not "printable", causing the TAP
stderr/stdout output to be smushed. Also address etune's comment on
pr3208.
2015-01-06 08:08:19 -08:00
Brendan Burns
cdad54ba48
Merge pull request #3232 from nikhiljindal/third_party
...
Moving swagger-ui files from www/swagger-ui to third_party/swagger-ui
2015-01-05 21:38:41 -08:00
nikhiljindal
1db30aeb51
Moving swagger-ui files from www/swagger-ui to third-party/swagger-ui
...
and adding LICENSE and README files
2015-01-05 16:27:33 -08:00
Joe Beda
943ed6d289
Merge pull request #3146 from zmerlynn/limit_liveness_gke
...
GKE: Limit liveness.sh to server version >0.7.2
2015-01-05 14:41:39 -08:00
Zach Loafman
7d507a4fa9
Merge pull request #3228 from jbeda/dns-release
...
Create cluster/addons for things to put into a kubernetes cluster
2015-01-05 14:26:04 -08:00
Zach Loafman
e965fc1f79
GKE: Limit liveness.sh to server version >0.7.2
...
What I really want is
https://github.com/GoogleCloudPlatform/kubernetes/issues/2953 , but
haven't had a chance to code that yet. Maybe it's time. (Then I'd
remove the provider-specific test and just say "is it > 0.7.2, or does
it claim to be capable of something from the future?" The latter
covers the HEAD server case .. though just bumping the server version
immediately after release might also accomplish that, too.)
2015-01-05 14:21:21 -08:00
Clayton Coleman
d90cf9b8ac
Boilerplate checks on 2014, but commit included a 2015 (breaks travis)
...
Revert boilerplate to 2014 until hack/verify-boilerplate.sh is fixed
2015-01-05 16:28:52 -05:00
Joe Beda
9aa48b7628
Move heapster data files to cluster/addons.
...
Also pretty up the JSON (make it real JSON) and streamline the sed in cluster/gce/init.sh.
2015-01-05 12:32:35 -08:00