Mike Danese
59a1dd4267
Merge pull request #11789 from mbforbes/nodesNetwork
...
Implement 'Nodes Network' test for GKE
2015-07-29 17:43:33 -07:00
Clayton Coleman
732647ea97
Improve conversion to support multiple packages
...
OpenShift uses multiple API packages (types are split) which
Kube will also eventually have as we introduce more plugins.
These changes make the generators able to handle importing different
API object packages into a single generator function.
2015-07-29 17:05:54 -04:00
Joe Beda
55e4941c5e
Fix up memory requirements for release w/ boot2docker.
2015-07-29 13:13:59 -07:00
Mike Danese
6294070c51
Merge pull request #11803 from wojtek-t/move_back_from_flaky
...
Move remaining PD test back from flaky
2015-07-29 11:24:40 -07:00
Mike Danese
daa6d4dde6
Merge pull request #11285 from liggitt/ca
...
Use self-signed cert as CA for local-up-cluster.sh
2015-07-29 11:13:23 -07:00
Mike Danese
9f16fd900e
Merge pull request #11860 from ingvagabund/delimiter-for-X-option-eparis
...
Use the correct delimiter for -X option of --ldflags (more readable solution)
2015-07-29 10:52:59 -07:00
Wojciech Tyczynski
4b9903ec17
Move remaining PD test back from flaky
2015-07-29 08:18:07 +02:00
Brendan Burns
a546a2979c
Merge pull request #11726 from caesarxuchao/fix-types-link
...
Auto commit by PR queue bot
2015-07-28 13:24:11 -07:00
Zach Loafman
4363f14e77
Enacting versioning.md
...
This PR changes how we version going forward in the following ways:
* mark-new-version.sh is changed to a new policy of just splitting
branches, rather than the old backmerge policy, as discussed in
vX.Y.0, and a tag for vX.(Y+1).0-alpha.0 back to master.
* I eliminated PRs back to master by making the version/base.go
gitVersion and gitCommit just be `export-subst`. I testing that this
works with GitHub's source export tarballs. There's no reason to
bother with forcing the version into `base.go` (especially twice). The
tarball versions outside a git tree aren't perfect (master looks like
"v0.0.0+hash", and the release branches look more accurate), but our
build contract has never allowed that version is perfect in this
situation, so I think we can relax this.
* That master tag gets picked up by "git describe" on master, so e.g.
master would have immediately become v1.1.0-alpha.0
* In order to be more semVer compatible, the gitVersion field for the
master branch now looks something like 1.1.0-alpha.0.6+84c76d1142ea4d.
This is a tiny translation of the "git describe". I did this because
there are a ton of consumers out there of the "gitVersion" field
expecting it to be the full version, but it would be nice if this
field were actually semver compliant. (1.1.0-alpha.0-6-84c76d1142ea4d
is, but it's not *usefully* so.)
Fixes #11495
2015-07-28 11:58:44 -07:00
Wojciech Tyczynski
b69ef7b5ca
Remove shell services test
2015-07-28 17:14:18 +02:00
gmarek
36aff274f1
Add test that verifies that we don't allow resource overallocation on Nodes
2015-07-27 16:37:57 +02:00
Marek Grabowski
831827b4bb
Merge pull request #11056 from wojtek-t/rewrite_services_in_go
...
Rewrite services shell test in Go.
2015-07-27 09:21:44 +02:00
Chao Xu
464385281b
add a tool in cmd/ to check links in go file. Currently it's only used to check the links in api descriptions (pkg/api/.../types.go).
2015-07-24 20:21:16 -07:00
Mike Danese
c0acfbcd4b
Merge pull request #11421 from nikhiljindal/exposeServcPort
...
Updating kubectl expose to extract ports from the service being cloned
2015-07-24 17:16:31 -07:00
Max Forbes
bd9e09ba00
Implement 'Nodes Network' test for GKE
2015-07-24 17:05:30 -07:00
nikhiljindal
242910e57c
kubectl expose should extract ports from service
2015-07-24 15:17:48 -07:00
Prashanth Balasubramanian
be0bfa97cc
Fix resource aliasing flake
2015-07-24 11:15:38 -07:00
Mike Danese
ae1c8e55ef
Merge pull request #11737 from thockin/cleanup-remove-v1beta3
...
Remove v1beta3
2015-07-24 10:25:56 -07:00
Mike Danese
01ee1b8634
Merge pull request #10840 from jbeda/master
...
Fix up check for min memory for parallel builds
2015-07-24 08:02:33 -07:00
Jan Chaloupka
3a90386c78
golang 1.4 was happy with -X key val
...
golang 1.5 complains ans wants -X key=val
2015-07-24 16:56:18 +02:00
Jordan Liggitt
5893f1c5b6
Use self-signed cert as CA for local-up-cluster.sh
2015-07-24 07:16:07 -07:00
Tim Hockin
1c3233a1d4
Remove v1beta3
2015-07-23 17:21:27 -07:00
Vish Kannan
136d53466a
Merge pull request #10892 from nikhiljindal/beta1
...
Removing references to pre v1beta3 apis in code
2015-07-23 17:05:43 -07:00
Jeff Grafton
4d45945b3b
Require at least one healthy startup pod in GCE Jenkins e2e tests
...
Includes a small fix relative to e7547b97
to handle
$E2E_MIN_STARTUP_PODS being null.
2015-07-23 15:31:41 -07:00
Wojciech Tyczynski
fdd7f1e4b2
Rewrite services shell test in Go.
2015-07-23 16:16:45 +02:00
gmarek
be59c5a935
Change a value that join_regex returns for empty input and use it in ginkgo.focus statements
2015-07-23 13:30:01 +02:00
He Simei
a210a96f5f
build hyperkube as a nonstatic binary
2015-07-23 09:18:08 +08:00
Jeff Grafton
55e050e3f3
Create a Jenkins project to run only the examples e2e tests on GCE.
2015-07-20 13:39:09 -07:00
Wojciech Tyczynski
a0f30586dd
Move PD on two hosts test to flaky
2015-07-20 11:08:11 +02:00
David Oppenheimer
e5208c83b7
Merge pull request #11357 from caesarxuchao/api-type-doc-tool-2
...
generate docs for types defined in pkg/api/v*/types.go
2015-07-17 15:57:17 -07:00
Chao Xu
ab740cf93b
Dockerfile and related scritps for a container that generates docs for API types
2015-07-17 15:46:54 -07:00
Tim Hockin
261d2ce423
Ignore whitespace when diffing generated docs
2015-07-17 15:28:58 -07:00
nikhiljindal
4734b938de
Updating update-swagger-spec to build the apiserver before running
2015-07-17 12:10:56 -07:00
nikhiljindal
496f30a92f
Introduce a new service generator that leaves service port unnamed
2015-07-16 20:40:40 -07:00
Brendan Burns
59bc8db554
Merge pull request #11360 from zmerlynn/fix_silly_backslash
...
Fix hack/cherry_pick_pull.sh on OS X (sigh):
2015-07-16 11:42:31 -07:00
Zach Loafman
fb8613201b
Fix hack/cherry_pick_pull.sh on OS X (sigh):
...
On OS X bash, for whatever reason, the ancient, forsaken bash version
(3.2!?) that will never be updated because it might insult the memory
of Steve Jobs doesn't allow me to accidentally escape the hash
character. Fix the unnecessary escaping.
For reviewers out there wondering about this syntax, it's documented
here: http://www.tldp.org/LDP/abs/html/parameter-substitution.html
under:
```
${var/#Pattern/Replacement}
If prefix of var matches Pattern, then substitute Replacement for Pattern.
```
It just looks odd here because I'm adding the hash character to the
start of each array element.
2015-07-15 21:09:56 -07:00
Eric Tune
8c891cfb70
Merge pull request #11291 from thockin/jenkins
...
Better handling of ginkgo args in jenkins
2015-07-15 15:00:51 -07:00
Eric Tune
c208c1c9a3
Merge pull request #11270 from mbforbes/jenkinsTypo
...
(jenkins/e2e) Fix typos and clarify instructions in comments
2015-07-15 12:57:46 -07:00
Eric Tune
97d13c25c2
Merge pull request #11314 from mikedanese/mungdocs-error
...
mungedoc should exit 1 when manual changes are required.
2015-07-15 12:54:20 -07:00
Mike Danese
d4d99deb97
make mungedoc exit 1 if manual changes are needed and wire up erro message.
2015-07-15 11:20:11 -07:00
Zach Loafman
af1a8b825a
Add hack/cherry_pick_list.sh to list all automated cherry picks
...
* Adds hack/cherry_pick_list.sh to list all automated cherry picks
since the last tag.
* Adds a short python script to extract title/author and print it in
markdown style like our current release notes.
* Revises patch release instructions to use said script.
2015-07-15 10:30:00 -07:00
Tim Hockin
38d51f33e5
Better handling of ginkgo args in jenkins
2015-07-14 23:54:39 -07:00
Wojciech Tyczynski
635e82897f
Fix tests on Jenkins
2015-07-15 08:27:41 +02:00
Mike Danese
337772a91f
fix all tests
2015-07-14 21:51:30 -07:00
Tim Hockin
f330a43329
fix test-cmd from file moves
2015-07-14 17:59:59 -07:00
Tim Hockin
43e315d686
Fix test-cmd after file moves
2015-07-14 15:57:41 -07:00
Max Forbes
392ca97d90
(jenkins/e2e) Fix typos and clarify instructions in comments
2015-07-14 15:12:05 -07:00
Eric Tune
4635cf381b
Merge pull request #11211 from gmarek/flaky
...
Update Jenkins Flaky suite
2015-07-14 14:59:06 -07:00
Eric Tune
13434cea60
Merge pull request #11194 from zmerlynn/louder_release_fork
...
hack/cherry_pick_pull.sh: Coach user on how to make a pull against non-master
2015-07-14 13:00:47 -07:00
gmarek
9d55842a02
Move MaxPods back from Flaky suite
2015-07-14 12:09:27 +02:00
Daniel Smith
ffcc6cadb0
run munger over examples dir
2015-07-13 17:47:48 -07:00
Daniel Smith
bf77ecc3a9
Various munger changes
...
* Add analytics munger w/ munge heading
* More link autofixes
* Allow running a subset of munges
* Fix repo root detection
* Only process non-preformatted blocks
* Gendocs no longer adds the analytics link; mungedocs does that in a
second pass.
2015-07-13 17:47:48 -07:00
Tim Hockin
a41f508451
Merge pull request #11198 from thockin/fix-services-sh-e2e
...
Don't use a shell array where not needed
2015-07-13 17:40:26 -07:00
Tim Hockin
957514d932
Don't use a shell array where not needed
2015-07-13 17:17:51 -07:00
Tim Hockin
a7364c08b0
Merge pull request #10994 from erictune/conformance_master
...
Conformance test update
2015-07-13 17:04:47 -07:00
Zach Loafman
4c078b1a99
hack/cherry_pick_pull.sh: Coach user on how to make a pull against non-master
2015-07-13 16:16:59 -07:00
Mike Danese
055115a109
fake realpath, and standardize treatment of trailing / of dirs in gendoc
2015-07-13 15:27:33 -07:00
Mike Danese
b4514ee1f3
fix run-gendocs to point to new repo location
2015-07-13 13:01:20 -07:00
Tim Hockin
64e3047397
Merge pull request #11124 from thockin/docs-munge-branch-warnings_filter_munges
...
Make all docs have a warning if unversioned
2015-07-13 11:30:50 -07:00
Tim Hockin
558ae212a5
Merge pull request #11165 from brendandburns/e2e2
...
increase NUM_MINIONS to 3 for e2e + jenkins by default.
2015-07-13 11:28:38 -07:00
Tim Hockin
06a6623a70
Filter munges out during doc generation
...
This allows us to apply content-mutating munges to generated files and nothave
the verifier flag them as needing regeneration later.
2015-07-13 11:23:07 -07:00
Brendan Burns
910857a4a8
increase NUM_MINIONS to 3 for e2e + jenkins by default.
2015-07-13 10:35:15 -07:00
Tim Hockin
2ad0774562
Merge pull request #11122 from zmerlynn/multi-pick
...
hack/cherry_pick_pull.sh: Allow multiple pulls
2015-07-13 10:17:14 -07:00
Wojciech Tyczynski
403c39d742
Fix shell Services test
2015-07-13 16:43:06 +02:00
Zach Loafman
180a38c181
hack/cherry_pick_pull.sh: Allow multiple pulls
...
Reorder the arguments to allow for multiple pulls at the end:
hack/cherry_pick_pull.sh <remote branch> <pr-number>...
This solves some common A-then-immediate-A' cases that appear
frequently on head. (There's a workaround, but it's a hack.) Updates
the documentation.
2015-07-13 07:11:12 -07:00
Rohit Jnagal
e5ce898058
Merge pull request #9264 from derekwaynecarr/limit_range_readme
...
LimitRange example improvements, detailed README
2015-07-10 19:14:23 -07:00
Rohit Jnagal
869df32d00
Merge pull request #10987 from stefwalter/setup-golang-update-hack
...
hack: Add $GOPATH to hack/update-generated-xxx.sh scripts
2015-07-10 14:15:37 -07:00
Daniel Smith
59dca5ba7d
fix verify-gendocs to call mungedocs --verify on the originals
2015-07-10 10:54:47 -07:00
Quinton Hoole
f653932b87
Demote Shell.*services e2e test as it cannot be run in parallel with other tests (yet)
...
Fixes #10127
2015-07-10 08:33:22 -07:00
derekwaynecarr
c8ad995462
LimitRange example improvements, detailed README
2015-07-10 11:07:54 -04:00
Wojciech Tyczynski
22e63a76b9
Merge pull request #11039 from nikhiljindal/beta3Conversion
...
Updating the scripts to not delete v1beta3 conversions and copies
2015-07-10 09:58:47 +02:00
Stef Walter
a38a148e02
hack: Add $GOPATH to hack/update-generated-xxx.sh scripts
...
So that not everyone has to figure this out.
2015-07-10 09:47:47 +02:00
Wojciech Tyczynski
dc711ee92d
Promote Services shell out of flaky. Demote Elasticsearch
2015-07-10 08:26:42 +02:00
nikhiljindal
1350cc8bc3
Set KUBE_API_VERSIONS appropriately
2015-07-09 19:04:20 -07:00
Max Forbes
6b609f644b
Jenkins: Allow fetching new tars for multi-job tests
2015-07-09 11:28:51 -07:00
Eric Tune
2459cfa96c
Update conformance test.
...
Fix formatting and quote variable.
Fix comments from a previous review.
Move instructions to the top.
Change from using tag to using branch.
Improve documentation of conformance test.
Use stable random seed.
Fix bug where there was a double quote as a prefix and suffix to the
skip regexp.
Remove .* not needed in regex.
Skip a few more tests that are not reliable for me in the
Conformance test environment.
2015-07-09 09:08:48 -07:00
Victor Marmol
b7da593d7c
Merge pull request #10762 from erictune/toc
...
Automatic Doc Editing, with Table of Contents Generation
2015-07-09 08:13:45 -07:00
Wojciech Tyczynski
6d864527c9
Merge pull request #10932 from zmerlynn/fork-jenkins-release-21
...
Add skip/flaky arguments for gce-release job
2015-07-09 15:20:04 +02:00
Wojciech Tyczynski
b33954c45e
Merge pull request #10963 from thockin/cherrypick-fixes
...
Ignore untracked files in cherrypick
2015-07-09 11:28:11 +02:00
Wojciech Tyczynski
977b1d9579
Merge pull request #10823 from piosz/real_test
...
Added load test with pods doing real works
2015-07-09 11:26:47 +02:00
Wojciech Tyczynski
9d32830040
Merge pull request #10978 from wojtek-t/fix_shell_services
...
Fix Shell services test
2015-07-09 10:08:57 +02:00
Wojciech Tyczynski
9cb7bc2e90
Fix Shell services test
2015-07-09 09:46:10 +02:00
Wojciech Tyczynski
e5836cc933
Merge pull request #10952 from mbforbes/JenkinsRemoveServer
...
Jenkins: remove dead 'use server version' code
2015-07-09 09:09:13 +02:00
Zach Loafman
1d6db553b0
Fix two issues in cherry_pick_pull:
...
* Ignore errexit in trap handler
* Check for branch (since two people have complained now..)
2015-07-08 18:16:27 -07:00
Tim Hockin
b61985ad87
Ignore untracked files in cherrypick
2015-07-08 17:09:14 -07:00
Victor Marmol
cfbc64e3c5
Merge pull request #10864 from mbforbes/gcloudUpdateJenkins
...
Fully update gcloud before Jenkins runs
2015-07-08 16:13:27 -07:00
Zach Loafman
a6594dc38b
Add skip/flaky arguments for the jenkins-gce-e2e-release job
...
I haven't added the job yet. Want to get the args in place first.
Related to #10676
2015-07-08 16:12:50 -07:00
Victor Marmol
f5cbf5af0f
Merge pull request #10923 from wojtek-t/promote_tests_2
...
Promote ElasticSearch test to non-flaky suite
2015-07-08 16:11:56 -07:00
Eric Tune
c51e35e835
Support for in-place modification of docs
...
Adds cmd/mungedocs which is framework for processing
all files under docs/ and either verifying that no changes needed or
making in-place changes.
Did not reuse kube::util::gen-docs because that seemed to be
centered around handling added files, and this pass does not
add files.
Planned uses:
- table of contents automatic updating
- linkification
- internal link checker
- link-path-relativizer or absolutizer
- example file syncer
- header inserter.
Just table-of-contents updating in this PR.
Added Table of Contents to docs/networking.md.
Demonstrates use of new TOC generator presubmit.
Other docs will be added in future PRs.
Additional development will be needed to handle some
of the more complex cases.
2015-07-08 14:58:54 -07:00
nikhiljindal
fc4da6844e
removing references to pre v1beta3 apis
2015-07-08 13:51:43 -07:00
Max Forbes
38f2f4dab9
Jenkins: remove dead 'use server version' code
2015-07-08 13:32:37 -07:00
Zach Loafman
390bb58f48
Brendan noticed this silly inconsistency.
2015-07-08 11:53:33 -07:00
Victor Marmol
faa573f995
Merge pull request #10922 from wojtek-t/fix_proxy_2
...
Fix service shell e2e test
2015-07-08 11:34:03 -07:00
Victor Marmol
dbc0e7636b
Merge pull request #10757 from zmerlynn/pull-propose
...
Add cherry_pick_pull.sh <pr-number> <branch>
2015-07-08 11:25:43 -07:00
Zach Loafman
4f3accec00
Add cherry_pick_pull.sh <pr-number> <branch>
...
This script checks out a branch based on <branch>, cherry picks pull
request <pr> into it commit by commit, then instructs the user on how
to propose that branch as a PR to the branch.
For bonus points, this could be integrated with something like the
"hub" tool (https://github.com/github/hub ) and be made about 2x more
automated.
Fixes #10730
2015-07-08 11:15:28 -07:00
Wojciech Tyczynski
de3a36c904
Promote ElasticSearch test to non-flaky suite
2015-07-08 16:26:04 +02:00
Wojciech Tyczynski
ff727ede74
Increase timeouts in services shell script
2015-07-08 15:32:05 +02:00
Piotr Szczesniak
3fb39542d0
Added load test with pods doing real works
2015-07-08 11:01:41 +02:00
Quinton Hoole
4a26114a9a
Make merge conflicts less likely in jenkins/e2e.sh with multiline regexs.
2015-07-07 20:10:00 -07:00
Max Forbes
5f9dc8c84c
Fully update gcloud before Jenkins runs.
2015-07-07 13:22:54 -07:00
Joe Beda
6c4ae61f6b
Fix up check for min memory for parallel builds
2015-07-07 10:14:23 -07:00
Wojciech Tyczynski
9854d47923
Move Proxy logs out of flaky
2015-07-07 13:54:22 +02:00
Wojciech Tyczynski
73cb04ad6b
Merge pull request #10819 from wojtek-t/fix_services_shell
...
Fix service shell test
2015-07-07 11:44:35 +02:00
Wojciech Tyczynski
f658988ad1
Fix service shell test
2015-07-07 11:19:17 +02:00
Wojciech Tyczynski
78c1117cb9
Promote no-longer flaky tests to gce suite
2015-07-07 08:27:11 +02:00
Quinton Hoole
ac3e3db579
Demote e2e test as per #10792
...
Demote e2e test as per #10792 .
2015-07-06 17:43:36 -07:00
Yu-Ju Hong
dad97b6224
Merge pull request #10691 from thockin/shutup-presubmit
...
Shutup presubmit
2015-07-06 09:56:41 -07:00
Zach Loafman
af781d8df4
Ban MaxPods to flaky test list. See #10720 .
...
If you revert this, please notify @zmerlynn to fix the GKE list.
2015-07-04 09:16:50 -07:00
Nikhil Jindal
974377b306
Merge pull request #10481 from gmarek/max_pods_e2e
...
Add max-pods e2e test
2015-07-02 15:26:46 -07:00
Tim Hockin
efa76b72ae
Run the build once during presubmit
2015-07-02 14:43:43 -07:00
Tim Hockin
a95814b593
make swagger presubmit not spew noise
2015-07-02 14:03:02 -07:00
Jeff Grafton
44f3c9e01e
Re-enable namespace test on the pull request Jenkins
2015-07-01 17:53:27 -07:00
Zach Loafman
b60c8e567f
Merge pull request #10077 from timstclair/ui-server
...
Move dashboard UI out of the apiserver to a separate pod
2015-07-01 15:56:33 -07:00
Zach Loafman
c7fb07a6aa
Merge pull request #10428 from mikedanese/nightly
...
add documentation and script on how to get recent and "nightly" builds
2015-07-01 15:55:49 -07:00
Zach Loafman
e5670c104d
Merge pull request #10604 from nikhiljindal/v1
...
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
nikhiljindal
274792d7bb
Stop exposing v1beta3 by default
2015-07-01 14:38:02 -07:00
Tim St. Clair
b6b2d6df42
Add kube-ui cluster addon for serving k8s dashboard UI.
...
Changes include:
- Add kube-ui binary for serving static dashboard UI
- Add kube-ui docker image, replication controller, and service
- Make the kube-ui a cluster-addon (enabled by default)
- Split the compiled pkg/ui/datafile.go into separate dashboard and swagger packages
- Update docs to reflect changes
2015-07-01 14:21:47 -07:00
Zach Loafman
0b2efd8d28
Merge pull request #10633 from saad-ali/enablePDE2ETest
...
Enable readonly PD tests for Jenkins GCE E2E run
2015-07-01 14:15:44 -07:00
Zach Loafman
4f9cfc84c4
Merge pull request #10180 from mwielgus/e2e_examples
...
E2E tests for Redis and Celery-RabbitMq examples
2015-07-01 12:02:27 -07:00
saadali
c84b0e0f4f
Enable readonly PD tests for Jenkins GCE E2E run
2015-07-01 11:10:00 -07:00
nikhiljindal
2e9e46dd08
Updating scripts to use v1 instead of v1beta3
2015-07-01 00:23:16 -07:00
gmarek
c86e18846b
Add max-pods e2e test
2015-07-01 09:21:42 +02:00
Marcin Wielgus
b5600fee12
E2E tests for Redis and Celery-RabbitMq examples
2015-07-01 00:25:58 +02:00
Jeff Grafton
0c321c3759
Jenkins GCE e2e: "Service endpoints latency" is not flaky in parallel
2015-06-30 13:47:46 -07:00
Chao Xu
7f89a29aad
add "kubectl patch". It will replace "kubectl udpate --patch" in the future
2015-06-29 16:36:45 -07:00
Alex Robinson
764d34d363
Merge pull request #10468 from caesarxuchao/add-cmd-replace
...
Add command "kubectl replace"
2015-06-29 16:06:33 -07:00
Mike Danese
c053b9a51b
add documentation and script on how to get recent and "nightly" builds
2015-06-29 14:50:41 -07:00
Mike Danese
719870fdcf
add publishing of latest-green.txt to jenkins e2e tests on success
2015-06-29 14:50:41 -07:00
Alex Robinson
fb9c126fd4
Merge pull request #10078 from ixdy/jenkins-e2e-gce-configs
...
Determine e2e test configs for GCE using Jenkins project name
2015-06-29 14:34:05 -07:00
Anastasis Andronidis
697e07f864
Correctly parse multiple resources from files
...
Refactored how files, directories and stdin are handled. Every file must pass
through the FileVisitor and then streamed through StreamVisitor. FileVisitor
takes care of opening/closing files and StreamVisitor is parsing multiple
resources.
2015-06-29 23:11:46 +02:00
Chao Xu
9b3d42c090
Add command "kubectl replace". "kubectl update" is still supported as an alias.
...
"kubectl replace --patch" is NOT supported. It's moved to "kubectl patch" as a separate command in another commit.
2015-06-29 12:14:24 -07:00
Jeff Grafton
8c70fa42ee
Determine e2e test configs for GCE using Jenkins project name.
...
Most parameters can still be overridden by specifying them in the
Jenkins configs.
Additionally, remove --noColor option, since the ANSI Jenkins plugin
can handle the color codes.
2015-06-26 17:32:50 -07:00
Robert Bailey
91589143a3
Merge pull request #10370 from mikedanese/no-more-machines
...
remove --machines and related deprecated flags from code and docs
2015-06-26 10:54:01 -07:00
Robert Bailey
508f7f1697
Merge pull request #10358 from caesarxuchao/add-force-update
...
Add --force to `kubectl update`
2015-06-26 10:49:04 -07:00
Mike Danese
1e130e0794
remove --machines from code and docs
2015-06-25 18:29:11 -07:00
Chao Xu
ef5de91fd7
add "--force" flag to "kubectl update";
...
update relevant tests
2015-06-25 17:16:20 -07:00
Maxwell Forbes
24de9afded
Merge pull request #10364 from brendandburns/e2e2
...
Add some sleep to the verification loop.
2015-06-25 16:31:07 -07:00
Brendan Burns
da938dc190
Add some sleep to the verification loop.
...
Programming is hard, sleep 5!
2015-06-25 14:50:46 -07:00
Maxwell Forbes
5e748c1d47
Merge pull request #10070 from lavalamp/e2eProxyFix
...
proxy e2e test improvements
2015-06-25 13:15:03 -07:00
Maxwell Forbes
66752bfb93
Merge pull request #10310 from nikhiljindal/local
...
Updating local-cluster-up to v1
2015-06-24 17:56:45 -07:00
nikhiljindal
e6c83bca5f
updating local-cluster-up to v1
2015-06-24 14:08:27 -07:00
Daniel Smith
5eb5b4a130
Test kubectl proxy in test-cmd.sh
2015-06-24 13:54:15 -07:00
Maxwell Forbes
26d3a4429d
Merge pull request #9816 from erictune/conformance
...
Revive conformance test.
2015-06-24 13:20:46 -07:00
Eric Tune
c5efb12a62
Revive conformance test.
...
Use KUBE_CONFIG_FILE instead of AUTH_CONFIG (and CERT_DIR).
Pass GINKGO_TEST_ARGS for a subset of e2e tests which
@erictune has deemed initially sufficient for conformance.
Allow GINKGO_TEST_ARGS to pass through hack/ginkgo-e2e.sh.
Set NUM_MINIONS (need better way to handle this).
Remove use of "KUBERNETES_CONFORMANCE_TEST" variable
and use of KUBERNETES_PROVIDER="conformance_test" convention,
both of which have no apparent purpose.
Allow unset testContext.provider in test/e2e/e2e_test.go
Allow testContext.Provider to be unset in providerIs().
2015-06-22 22:29:02 -07:00
Chao Xu
59b654c996
fix tests for 22f1b07858
2015-06-22 17:10:09 -07:00
CJ Cullen
ff0546da4f
Merge pull request #10133 from mbforbes/gkeLivingUpgrade
...
GKE upgrade tests
2015-06-20 15:02:11 -07:00
Max Forbes
434f968715
GKE upgrade tests
2015-06-20 09:44:19 -07:00
Jeff Lowdermilk
bdd3602eb7
Allow explicit pinned versions to be specified for jenkins runs
2015-06-19 16:19:02 -07:00
Satnam Singh
b964f3c911
Merge pull request #9739 from bprashanth/sno
...
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Jeff Lowdermilk
9e4c5bc3b4
fix bash typo in jenkins/e2e.sh
2015-06-19 11:57:44 -07:00
Jeff Lowdermilk
8f5d8da7d6
yet another special case for e2e script
2015-06-19 11:13:55 -07:00
Satnam Singh
4bf6058919
Merge pull request #9988 from mikedanese/upgrade-pre-e2e
...
remove e2e run before cluster upgrade
2015-06-18 14:25:26 -07:00
Satnam Singh
d2c2f7e35e
Merge pull request #9993 from mikedanese/re-patch
...
reenable patch serverside using strategic-merge-patch
2015-06-18 14:13:10 -07:00
Jeff Lowdermilk
e72431033a
Fix a few e2e references to allow gke to test dogfood builds
2015-06-18 13:39:51 -07:00
Jeff Lowdermilk
1a7d811b4a
Add a test to test-cmd.sh for update --patch
2015-06-18 12:06:46 -07:00
Mike Danese
dbb47fe248
remove e2e run before cluster upgrade
2015-06-17 17:02:04 -07:00
Saad Ali
56083489e3
Merge pull request #9884 from brendandburns/gcr
...
Switch to loading busybox from gcr.
2015-06-17 11:38:24 -07:00
Saad Ali
9f60f3ce44
Merge pull request #9831 from jayunit100/local-up-from-docker
...
Allow docker/ or other source directory for local-up
2015-06-16 16:17:06 -07:00
Brendan Burns
9fda26e5da
Switch to loading busybox from gcr.
2015-06-16 11:31:33 -07:00
Jeff Lowdermilk
47901b7edd
Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh
2015-06-16 10:58:04 -07:00
jayunit100
ecdc025b61
Allow docker/ or other source directory for local-up
2015-06-15 19:44:35 -04:00
Fabio Yeon
3f62e420cb
Merge pull request #9784 from saad-ali/jenkinsSymlinkFix
...
Jenkins E2E build should not fail if symlink to junit file already exists
2015-06-15 13:37:09 -07:00
saadali
3bc1c18e12
Jenkins E2E build should not fail if symlink to junit file already exists.
2015-06-15 10:52:47 -07:00
Fabio Yeon
652eed5bce
Merge pull request #9479 from jayunit100/local-up-clean
...
[hack/] Modularize local-up into clean functions so its self documenting
2015-06-15 09:54:24 -07:00
Abhi Shah
22a4d555c6
Merge pull request #9517 from mikedanese/e2e-cluster-upgrade
...
e2e test cluster stability during master upgrade
2015-06-12 13:53:09 -07:00
Abhi Shah
52db576617
Merge pull request #8882 from mesosphere/upstream_k8sm
...
Upstream Kubernetes-Mesos framework
2015-06-12 06:36:20 -07:00
Mike Danese
de55e17f75
e2e test cluster stability during upgrade
2015-06-11 15:10:52 -07:00
Quinton Hoole
ec0dd2db00
Merge pull request #9678 from dchen1107/podstatus
...
Using bigger node for minions for jenkin-e2e tests.
2015-06-11 14:13:54 -07:00
Dawn Chen
a1065d1e24
Using bigger node for master node for jenkin-e2e tests.
2015-06-11 14:09:02 -07:00
Dawn Chen
bf6d4d6d7e
Using bigger node for minions for jenkin-e2e tests.
2015-06-11 14:07:41 -07:00
Abhi Shah
b37190b784
Merge pull request #9513 from lavalamp/fixFlake
...
improve output of kube_get_url & fix #6548
2015-06-11 11:28:32 -07:00
Abhi Shah
c5553af281
Merge pull request #9506 from cjcullen/resize
...
Make resize tests work on GKE
2015-06-11 11:05:07 -07:00
Abhi Shah
f4e3c97a0b
Merge pull request #9539 from quinton-hoole/2015-06-09-fix-e2e.sh
...
Don't require a space at the end of GINKGO_TEST_ARGS
2015-06-11 11:01:08 -07:00
James DeFelice
91238f8b44
Make building contrib code optional
2015-06-10 20:30:10 +00:00
jayunit100
a2ea0ba467
Modularize local-up into clean functions so its self documenting
2015-06-10 13:24:59 -04:00
Brendan Burns
1dc723b4cb
Fix testing to skip the release directories.
2015-06-10 09:22:18 -07:00
Quinton Hoole
e774717f6c
Don't require a space at the end of GINKGO_TEST_ARGS
...
8703#commitcomment-11336307
2015-06-09 15:48:13 -07:00
Daniel Smith
97ebc1aad9
improve output of kube_get_url
2015-06-09 15:26:09 -07:00
CJ Cullen
abc4e53648
Make resize tests work on GKE
2015-06-09 12:00:10 -07:00
krousey
cf4b4a313b
Merge pull request #9335 from swagiaal/e2e-test-prefix
...
Add a prefix option to e2e for use with resources
2015-06-09 11:50:02 -07:00
Sami Wagiaalla
899cf360ba
Add a prefix option to e2e for use with resources
...
This is helpful when cleaning manually up after a failed test in
shared a gce environment.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-09 13:29:41 -04:00
krousey
d8d295d647
Merge pull request #9385 from pmorie/local-privileged
...
Allow privileged containers in local cluster
2015-06-09 10:18:44 -07:00
krousey
b2449746b4
Merge pull request #9388 from nikhiljindal/verify-swagger
...
Adding a script to verify that swagger spec is updated
2015-06-08 16:49:46 -07:00
Paul Morie
5d7418707a
Allow privileged containers in local cluster
2015-06-08 19:40:12 -04:00
Filip Grzadkowski
b999e6655c
Do not overwrite bash variables in jenkins for scalability tests
2015-06-08 13:51:24 +02:00
nikhiljindal
a89d2da249
Adding a script to verify that swagger spec is updated
2015-06-08 04:04:57 -07:00
Chao Xu
5a54a0118d
fix
2015-06-04 16:35:24 -07:00
Chao Xu
21bea6e8e7
since v1 is defaultly enabled, don't explicit enable it in update-swagger-spec.sh
2015-06-04 11:57:20 -07:00
Daniel Smith
1690617ee6
remove ro service
2015-06-03 16:45:54 -07:00
Brian Grant
f8bf996000
Merge pull request #9211 from lavalamp/no-ro-nonbreaking
...
Nonbreaking pieces of #8155
2015-06-03 16:44:24 -07:00
Daniel Smith
6e95388672
allow kubectl to be built statically
...
* Package kubectl in a container
* Add example with a pod using kubectl as a sidecar
2015-06-03 15:41:09 -07:00
Brian Grant
6898a7957c
Merge pull request #9206 from thockin/services-e2e
...
Make services e2e more debuggable
2015-06-03 13:14:15 -07:00
Tim Hockin
a2b7117ee4
Make services e2e more debuggable
2015-06-03 12:09:54 -07:00
Brian Grant
1845ca88fc
Merge pull request #9169 from caesarxuchao/hack/test-update-storage-objects.sh
...
enable v1 in hack/test-update-storage-objects.sh
2015-06-03 11:20:35 -07:00
Brian Grant
53b8728528
Merge pull request #9154 from caesarxuchao/hack/test-cmd.sh
...
enable v1 for hack/test-cmd.sh
2015-06-03 11:20:10 -07:00
Brian Grant
895ad68422
Merge pull request #9145 from caesarxuchao/hack/test-integration
...
enable v1 in hack/test-integration.go
2015-06-03 11:19:41 -07:00
Chao Xu
d52cef11a4
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-03 09:50:41 -07:00
Brian Grant
3bdde89a68
Revert "Make services e2e test more debuggable"
2015-06-02 23:46:46 -07:00
Chao Xu
bdf43eb66d
enable v1 in hack/test-update-storage-objects.sh
2015-06-02 20:31:01 -07:00
Tim Hockin
e6a7f85d70
Make services e2e test more debuggable
2015-06-02 19:01:12 -07:00
Chao Xu
a4887bc6d4
enable v1 in hack/test-cmd.sh
2015-06-02 17:13:13 -07:00
Brian Grant
202343799e
Revert "Make services.sh e2e more reliable(?) and debuggable"
2015-06-02 16:54:12 -07:00
Brian Grant
6cfa260745
Revert "Make a namespace before using it"
2015-06-02 16:46:30 -07:00
Chao Xu
89c8949e78
add v1 to hack/test-integration.sh
2015-06-02 14:55:45 -07:00
Chao Xu
ff6947625d
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-02 14:55:45 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Tim Hockin
3211f851ff
Make a namespace before using it
2015-06-02 14:37:18 -07:00
Brian Grant
ca733221e2
Merge pull request #8953 from thockin/services-e2e
...
Make services.sh e2e more reliable(?) and debuggable
2015-06-02 13:08:17 -07:00
Brian Grant
00005f4da8
Merge pull request #9088 from caesarxuchao/add-v1-swagger
...
add v1 swagger-spec; update existing swagger-spec
2015-06-02 10:41:58 -07:00
Tim Hockin
96caf1b582
Make services.sh e2e more reliable(?) and debuggable
2015-06-01 21:34:18 -07:00
Clayton Coleman
984692d205
Verify in hack/test-cmd
2015-06-01 19:24:01 -04:00
Chao Xu
66e4f7b053
add v1 swagger-spec; update existing swagger-spec
2015-06-01 16:16:20 -07:00
Eric Tune
1f526a5f89
Merge pull request #9027 from jlowdermilk/kubectl-deprecate-minion
...
Stop supporting the minion alias for nodes in kubectl
2015-06-01 10:26:51 -07:00
Eric Tune
936c6842e0
Merge pull request #8733 from justinsb/nodeport_aws
...
Enable support for AWS LB
2015-06-01 09:25:15 -07:00
Kris
f4e2c738f6
Delete deprecated API versions
...
pkg/service:
There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.
pkg/apiserver:
The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.
pkg/kubectl:
Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Rohit Jnagal
99c9c54c05
Merge pull request #8983 from jlowdermilk/update-patch
...
Disable --patch for kubectl update
2015-05-29 16:30:16 -07:00
Rohit Jnagal
5aed389f0a
Merge pull request #8594 from nikhiljindal/swagger
...
Stop generating v1beta1,2 swagger spec
2015-05-29 16:27:02 -07:00
Justin Santa Barbara
1e99426d5b
Support for AWS ELB
2015-05-29 18:53:35 -04:00
Jeff Lowdermilk
0c44be833d
Stop supporting the minion alias for nodes in kubectl
2015-05-29 15:40:47 -07:00
Zach Loafman
2eccd87ccb
Adjust the Jenkins E2E_REPORT_DIR to something less silly
...
Start of a fix for complaints on #8852 .
2015-05-29 13:54:18 -07:00
nikhiljindal
c0e26d2f38
Modify update-swagger-spec to stop generating v1beta1,2 spec
2015-05-29 13:39:01 -07:00
Jeff Lowdermilk
90a5b8c845
Disable --patch for kubectl update
2015-05-29 09:31:49 -07:00
Tim Hockin
3005471100
Add new apiserver flags for clusterIP (nee portal)
...
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
081ab3abac
Merge pull request #8853 from caesarxuchao/HostToNodeName
...
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Tim Hockin
e456e8d63e
Merge pull request #8921 from wojtek-t/update_instructions
...
Update instructions on auto-generating conversions.
2015-05-28 15:01:24 -07:00
Tim Hockin
f8d0060d6e
Merge pull request #8388 from pmorie/third-party-tests
...
Run tests for third-party code
2015-05-28 14:58:26 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Wojciech Tyczynski
cb414d8bc4
Delete generated deep-copy files before updating.
2015-05-28 17:41:58 +02:00
Tim Hockin
0721377646
Merge pull request #8596 from andronat/fix_8319
...
Kubectl command renaming (run-container to run and resize to scale)
2015-05-27 15:37:54 -07:00
Tim Hockin
a3d5367156
Merge pull request #8765 from eparis/hack-test-failure
...
Fix build with --use_go_build (e2e.test failure)
2015-05-27 12:43:04 -07:00
Tim Hockin
f69eb0af67
Merge pull request #8831 from a-robinson/tp
...
Adjust the sleep time before tearing down e2e clusters and add a rough formula
2015-05-27 12:42:49 -07:00
Anastasis Andronidis
9e3a540940
rename resize to scale
2015-05-27 19:08:06 +02:00
Tim Hockin
244b10e8ba
Merge pull request #8812 from jayunit100/kubectlparam
...
Parameterized kubectl once and for all :)
2015-05-27 09:35:23 -07:00
Piotr Szczesniak
cd2c7e16d7
Merge pull request #8320 from wojtek-t/generated_deep_copy
...
Code to automatically generate functions for DeepCopy
2015-05-27 13:14:07 +02:00
jayunit100
6e4160eeb0
Set option for KubectlPath (kubectl-path) for E2E tests.
2015-05-26 21:46:59 -04:00
Alex Robinson
9d61a95464
Adjust the sleep time before tearing down e2e clusters and add a rough formula
...
for determining how long the sleep should be.
2015-05-26 21:09:05 +00:00
Alex Robinson
0188e9af8c
Sleep before deleting the cluster to give the controller manager time to
...
delete any cloudprovider resources still around from the last test.
2015-05-26 20:11:03 +00:00
Wojciech Tyczynski
b2280db724
Deep-copy functions autogeneration.
2015-05-26 21:16:26 +02:00
Eric Paris
d8187e26d3
Fix build with --use_go_build (e2e.test failure)
...
hack/build-go.sh --use_go_build would fail because e2e.test was not being
excluded from the set of things that we were "go build"ing
Instead of walking all binaries, only walk static and nonstatic
```
$ hack/build-go.sh
+++ [0524 18:09:51] Building go targets for linux/amd64:
cmd/kube-proxy
cmd/kube-apiserver
cmd/kube-controller-manager
cmd/kubelet
cmd/hyperkube
cmd/kubernetes
plugin/cmd/kube-scheduler
cmd/kubectl
cmd/integration
cmd/gendocs
cmd/genman
cmd/genbashcomp
examples/k8petstore/web-server
github.com/onsi/ginkgo/ginkgo
test/e2e/e2e.test
+++ [0524 18:09:51] +++ Warning: stdlib pkg with cgo flag not found.
+++ [0524 18:09:51] +++ Warning: stdlib pkg cannot be rebuilt since /usr/lib/golang/pkg is not writable by eparis
+++ [0524 18:09:51] +++ Warning: Make /usr/lib/golang/pkg writable for eparis for a one-time stdlib install, Or
+++ [0524 18:09:51] +++ Warning: Rebuild stdlib using the command 'CGO_ENABLED=0 go install -a -installsuffix cgo std'
+++ [0524 18:09:51] +++ Falling back to go build, which is slower
**************can't load package: package github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test: cannot find package "github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test" in any of:
/usr/lib/golang/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test (from $GOROOT)
/storage/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test (from $GOPATH)
/storage/kubernetes/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test
!!! Error in /storage/kubernetes/hack/lib/golang.sh:339
'go build -o "${outfile}" "${goflags[@]:+${goflags[@]}}" -ldflags "${version_ldflags}" "${binary}"' exited with status 1
Call stack:
1: /storage/kubernetes/hack/lib/golang.sh:339 kube::golang::build_binaries_for_platform(...)
2: /storage/kubernetes/hack/lib/golang.sh:488 kube::golang::build_binaries(...)
3: hack/build-go.sh:26 main(...)
Exiting with status 1
!!! Error in /storage/kubernetes/hack/lib/golang.sh:406
'( kube::golang::setup_env; local version_ldflags; version_ldflags=$(kube::version::ldflags); local host_platform; host_platform=$(kube::golang::host_platform); local goflags; eval "goflags=(${KUBE_GOFLAGS:-})"; local use_go_build; local -a targets=(); local arg; for arg in "$@";
do
if [[ "${arg}" == "--use_go_build" ]]; then
use_go_build=true;
else
if [[ "${arg}" == -* ]]; then
goflags+=("${arg}");
else
targets+=("${arg}");
fi;
fi;
done; if [[ ${#targets[@]} -eq 0 ]]; then
targets=("${KUBE_ALL_TARGETS[@]}");
fi; local -a platforms=("${KUBE_BUILD_PLATFORMS[@]:+${KUBE_BUILD_PLATFORMS[@]}}"); if [[ ${#platforms[@]} -eq 0 ]]; then
platforms=("${host_platform}");
fi; local binaries; binaries=($(kube::golang::binaries_from_targets "${targets[@]}")); local parallel=false; if [[ ${#platforms[@]} -gt 1 ]]; then
local gigs; gigs=$(kube::golang::get_physmem); if [[ ${gigs} -gt ${KUBE_PARALLEL_BUILD_MEMORY} ]]; then
kube::log::status "Multiple platforms requested and available ${gigs}G > threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in parallel"; parallel=true;
else
kube::log::status "Multiple platforms requested, but available ${gigs}G < threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in serial"; parallel=false;
fi;
fi; if [[ "${parallel}" == "true" ]]; then
kube::log::status "Building go targets for ${platforms[@]} in parallel (output will appear in a burst when complete):" "${targets[@]}"; local platform; for platform in "${platforms[@]}";
do
( kube::golang::set_platform_envs "${platform}"; kube::log::status "${platform}: go build started"; kube::golang::build_binaries_for_platform ${platform} ${use_go_build:-}; kube::log::status "${platform}: go build finished" ) &> "/tmp//${platform//\//_}.build" &
done; local fails=0; for job in $(jobs -p);
do
wait ${job} || let "fails+=1";
done; for platform in "${platforms[@]}";
do
cat "/tmp//${platform//\//_}.build";
done; exit ${fails};
else
for platform in "${platforms[@]}";
do
kube::log::status "Building go targets for ${platform}:" "${targets[@]}"; kube::golang::set_platform_envs "${platform}"; kube::golang::build_binaries_for_platform ${platform} ${use_go_build:-};
done;
fi )' exited with status 1
Call stack:
1: /storage/kubernetes/hack/lib/golang.sh:406 kube::golang::build_binaries(...)
2: hack/build-go.sh:26 main(...)
Exiting with status 1
```
2015-05-24 19:16:26 -04:00
Quinton Hoole
b8ca74ab66
Don't clobber GINKGO_TEST_ARGS in hack/jenkins/e2e.go
2015-05-22 14:54:05 -07:00
Dawn Chen
cc6a31354e
Merge pull request #8169 from kargakis/expose-use-resource-builder
...
expose: Use resource builder
2015-05-22 12:29:24 -07:00
Jerzy Szczepkowski
ef965a60f2
Implementation of e2e test that resizes cluster (works on GCE).
2015-05-22 02:59:25 +02:00
Dawn Chen
b33c4259f8
Merge pull request #8566 from markturansky/generator_godep
...
Added GOPATH vars and godep to generator script
2015-05-21 09:34:12 -07:00
kargakis
30958f892d
expose: Use resource builder
...
Plus:
* Rename flag --service-name to --name
* Some refactoring
2015-05-20 23:55:07 +02:00
Wojciech Tyczynski
2df11cea32
Automatically generate conversions
2015-05-20 17:11:18 +02:00
markturansky
10258c46d7
Added GOPATH vars and godep to generator script
2015-05-20 10:56:54 -04:00
Jeff Grafton
e968b6be81
Merge pull request #8442 from mbforbes/e2ePodsReady
...
Ensure pods both running and ready before starting e2e tests
2015-05-19 13:40:08 -07:00
Tim Hockin
97abc19810
Merge pull request #8299 from thockin/import-names
...
rename imported pkgs for readability
2015-05-19 12:01:57 -07:00
Tim Hockin
76a0a7dff2
Shush minor stdout noise on builds
2015-05-19 11:24:44 -07:00
Tim Hockin
70c94fad6d
Don't rename api imports in conversions
2015-05-19 11:21:21 -07:00
Max Forbes
1da46ca3d0
Ensure pods both running and ready before starting e2e tests
2015-05-19 10:53:02 -07:00
Jeff Grafton
90f61f3005
Change into the output directory before running go test -c.
2015-05-19 10:04:27 -07:00
Jeff Grafton
bf1de72f4a
Revert "Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)""
...
This reverts commit f4bb6aa37d
.
2015-05-19 09:13:08 -07:00
Quinton Hoole
f4bb6aa37d
Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)"
2015-05-18 21:04:26 -07:00
Nikhil Jindal
0a6007b299
Merge pull request #8429 from jackgr/master
...
Fix portability bugs in hack/local-up-cluster.sh
2015-05-18 18:17:47 -07:00
Tim Hockin
2307350d1b
Merge pull request #8443 from wojtek-t/conversion_improvements
...
Script for regenerate auto-generated conversions.
2015-05-18 17:24:08 -07:00
Wojciech Tyczynski
9a93206774
Script for automatically generate conversions.
2015-05-19 02:17:58 +02:00
Daniel Smith
5e056f119d
Merge pull request #6694 from bprashanth/bench
...
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -07:00
jackgr
87a26e2fd2
Fixes portability issues in cleanup() that cause the pid expansion to fail when host_os=darwin by replacing ps --ppid and ps --pid with pgrep -P and ps -p, and by suppressing header line in output with ps -o pid=.
2015-05-18 12:14:21 -07:00
Jeff Grafton
35c4b92e92
Make e2e compatible with Go 1.3 and OS X.
...
Go 1.4 added the -o flag to the "go test" command as well as support for
the TestMain() function, so we must work around these not existing in
Go 1.3.
The version of readlink on OS X does not have the -f flag - so we'll
just skip canonicalizing the path.
2015-05-18 12:11:33 -07:00
Jeff Grafton
b79fae5d71
Revert "Revert "Once again, use native Ginkgo test runner instead of cmd/e2e.""
...
This reverts commit 67da1ac0c8
.
2015-05-18 11:39:21 -07:00
Victor Marmol
d431e98604
Merge pull request #8234 from nak3/terminate-child-process-local-up-cluster
...
Ensuring that we never call kill with empty arguments in local-cluster-up
2015-05-18 08:40:41 -07:00
Paul Morie
3b8e4d97a1
Run tests for third-party code
2015-05-16 16:52:23 -04:00
Jeff Lowdermilk
553f9f822b
Add ga-beacon analytics to gendocs scripts
...
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Daniel Smith
cf337051e0
Merge pull request #7819 from nikhiljindal/etcdTranslation
...
Adding a script to update etcd objects as per the latest API Version
2015-05-15 18:28:36 -07:00
Prashanth Balasubramanian
4200033c0a
Add a simple master benchmark and a wrapper to run it.
2015-05-15 17:30:17 -07:00
Jeff Grafton
67da1ac0c8
Revert "Once again, use native Ginkgo test runner instead of cmd/e2e."
...
This change broke compilation on go 1.3 and running e2e tests on OS X.
This reverts commit 86b023fdd6
.
2015-05-15 16:41:55 -07:00
nikhiljindal
fa9f864782
Adding a script to update etcd objects
2015-05-15 16:20:35 -07:00
Kenjiro Nakayama
4c859c7e35
Ensuring that we never call kill with empty arguments in local-cluster-up
2015-05-16 07:50:31 +09:00
Quinton Hoole
c4fa78509d
Merge pull request #7653 from ixdy/native-ginkgo-runner
...
Once again, use native Ginkgo test runner instead of cmd/e2e
2015-05-15 15:29:19 -07:00
David Oppenheimer
b8c469e4f0
Merge pull request #8134 from nikhiljindal/test-go
...
Fixing the number of times our unit tests are run
2015-05-15 15:28:34 -07:00
Jeff Grafton
86b023fdd6
Once again, use native Ginkgo test runner instead of cmd/e2e.
...
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.
The test tarball now includes a built version of the test/e2e test
binary, which includes all tests under test/e2e. This was accomplished
by updating the build scripts to use 'go test -c' when a target name
ended with '.test', and adding a dependency on test/e2e/e2e.test.
This prebuilt test binary is passed to the Ginkgo runner in
hack/ginkgo-e2e.sh. In a future change, we can add support to run
Ginkgo against the source tree if it is available.
This change is generally intended to have no externally visible changes,
aside from the following caveats:
- The -t/--tests flag has been removed
- Calling cmd/e2e/e2e directly obviously won't work, but that was never
intended to be supported anyway
- If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
will run test specs in parallel. (Currently defaults to n, since some
tests are broken in this mode.)
Additionally, several tests which made poor assumptions about cwd or
used testContext before it had been set have been fixed.
2015-05-15 11:54:53 -07:00
Rohit Jnagal
bd0156c65a
Merge pull request #8204 from jlowdermilk/gke-todos
...
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
Yifan Gu
621dc01f42
Remove 'auth-path' in the arguments for kubelet.
...
Otherwise kubelet will fail to create the client because it can't
find the nonexisting auth file.
2015-05-13 16:26:22 -07:00
Paul Morie
8fcf470167
Merge pull request #8174 from liggitt/local_up_cluster
...
Fix key generation in local-up-cluster.sh
2015-05-13 17:33:25 -04:00
Jeff Lowdermilk
3f3760a14a
Cleanup some todos for gke + rip out dead AuthConfig code
2015-05-13 13:54:02 -07:00
Tim Hockin
8e7970f2a1
mkdir -p in doc generation
2015-05-13 12:50:25 -07:00
nikhiljindal
0e9d7d1451
Fixing the number of times our unit tests are run
2015-05-13 09:56:13 -07:00
Jordan Liggitt
b552503c07
Fix key generation in local-up-cluster.sh
2015-05-13 10:04:40 -04:00
Robert Bailey
c47b9178b4
Replace the auth config file with a kubeconfig file when
...
starting the kubelet on GCE.
2015-05-13 01:03:28 -07:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
Max Forbes
579aed4161
Add zone to jenkins version-getting call.
2015-05-12 09:23:41 -07:00
Max Forbes
a161800e13
Allow Jenkins to get the version from the GKE server.
2015-05-11 17:31:29 -07:00
Jordan Liggitt
7e14a80f63
ServiceAccount admission plugin
2015-05-11 17:18:06 -04:00
Jordan Liggitt
db1f0dc906
JWT token generation/verification
2015-05-11 17:18:06 -04:00
saadali
94643ce6c9
Modify Jenkins E2E to not fetch/unpack Kuberenetes, when deployment is
...
disabled,
2015-05-11 12:31:31 -07:00
Nikhil Jindal
3d8f94ed59
Merge pull request #8040 from nak3/terminate-child-process-local-up-cluster
...
Terminate child process by cleanup() in local-up-cluster.sh
2015-05-11 10:11:28 -07:00
Jeff Lowdermilk
6523d18130
Future proof GKE kubeconfig handling in e2e driver
2015-05-11 09:57:54 -07:00
Kenjiro Nakayama
e39f29ca16
Terminate child process by cleanup() in local-up-cluster.sh
2015-05-11 00:07:22 +09:00
Shawn Smith
ecce796ee8
Use Fatalf
2015-05-10 13:08:55 +09:00
Justin SB
a442918d31
AWS: Don't try to copy gce_keys in jenkins e2e job
...
Should fix e2e builds.
For the AWS jenkins jobs, I've been using the secret plugin.
2015-05-09 08:55:35 -07:00
Max Forbes
590d3873ea
Make jenkins e2e runs reuse one key, take two.
2015-05-08 15:52:56 -07:00
Zach Loafman
c6400cab1f
Revert "Make jenkins e2e runs reuse one SSH key."
2015-05-08 15:46:42 -07:00
Max Forbes
41cc8027ab
Make jenkins e2e runs reuse one key.
2015-05-08 14:51:42 -07:00
saadali
7cc25842fa
Add control variables to Jenkins E2E script
2015-05-07 17:01:25 -07:00
CJ Cullen
fbd125e4e2
Remove restriction that cluster-cidr be a class-b
2015-05-06 15:01:13 -07:00
Paul Morie
5c3bf0b08f
Remove unnecessary bind-mount from dockerized kubelet run
2015-05-06 15:38:17 -04:00
Paul Morie
fa1d065595
Add ability to dockerize kubelet in local cluster
2015-05-06 09:36:52 -04:00
Zach Loafman
875e83a741
Revert "Revert "Security context - types, kubelet, admission""
2015-05-05 16:02:13 -07:00
Zach Loafman
f48904fd5e
Revert "Security context - types, kubelet, admission"
2015-05-05 15:20:39 -07:00
Yifan Gu
102a2c4269
hack/local-up-cluster.sh: Add env to enable rkt in local cluster.
...
This makes testing rkt easier.
2015-05-05 14:07:10 -07:00
Paul Morie
1625e231dd
Merge pull request #7343 from pweil-/security-context-types
...
Security context - types, kubelet, admission
2015-05-05 16:26:09 -04:00
Eric Paris
63e3366581
Merge pull request #7757 from nak3/build_genbashcomp_with_make_all
...
Add genbashcomp to KUBE_TEST_TARGETS
2015-05-05 13:47:11 -05:00
Paul Weil
982bf19c20
security context initial implementation - squash
2015-05-05 13:46:13 -04:00
Jeff Lowdermilk
87cdc3f032
Merge pull request #7672 from eparis/boilerplate-python
...
Check license boilerplate for python files
2015-05-05 09:23:36 -07:00
Jeff Lowdermilk
c1ae69da14
Merge pull request #7705 from bprashanth/rollingupdate_2
...
Reliable updates in rollingupdate
2015-05-05 09:23:25 -07:00
Kenjiro Nakayama
4c9f2d89ba
Add genbashcomp to KUBE_TEST_TARGETS
2015-05-05 16:42:23 +09:00
Eric Paris
c9cd50dc49
Check python files for valid license boilerplate
2015-05-04 18:37:47 -04:00
Prashanth Balasubramanian
faa65cbd20
More reliable updates in rollingupdate
2015-05-04 15:29:30 -07:00
Daniel Smith
838b59cb4d
make benchmark able to run only specific packages
2015-05-04 14:28:37 -07:00
Clayton Coleman
dd8184247e
Merge pull request #7629 from caesarxuchao/new-fix-7260-7491
...
Change the order the different versions of API are registered
2015-05-04 15:01:59 -04:00
Jeff Lowdermilk
dda0af07b3
Merge pull request #7654 from eparis/boilerplate-speedup
...
Boilerplate speedup
2015-05-04 09:46:21 -07:00
Wojciech Tyczynski
690c991415
Merge pull request #7692 from BenTheElder/e2e_fixes
...
Fix typo in e2e
2015-05-04 12:01:22 +02:00
Wojciech Tyczynski
a7205b1fe9
Merge pull request #7685 from jayunit100/etcd-minor
...
(minor) Add pgrep debugging to etcd error
2015-05-04 11:21:02 +02:00
BenTheElder
129d7f8d26
Fix typo in e2e
...
Correct comment in e2e.go ’…at least 3 minions running’ -> ‘…at least minMinionCount
minions running’.
2015-05-04 04:42:07 -04:00
jayunit100
cdf068495a
(minor) Add pgrep debugging to etcd error
2015-05-03 16:59:45 +00:00
Eric Paris
f4d0b8df3a
Do all boilerplate checks in 1 python call
...
It's just a little bit faster.....
BEFORE:
$ time hack/verify-boilerplate.sh
real 0m9.378s
user 0m3.405s
sys 0m13.906s
AFTER:
$ time hack/verify-boilerplate.sh
real 0m0.181s
user 0m0.114s
sys 0m0.068s
2015-05-01 20:46:57 -04:00
Chao Xu
4787c66214
Register the API versions to the DefaultRESTMapper in the order of preferred versions first.
...
This makes kubectl sends requests to URLs in the format defined by the latest API version.
2015-05-01 15:14:15 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Zach Loafman
230449f122
Merge pull request #7593 from ixdy/jenkins-godep
...
Build github.com/onsi/ginkgo/ginkgo as a part of the release
2015-05-01 14:10:31 -07:00
Jeff Grafton
1359125a4e
Build github.com/onsi/ginkgo/ginkgo as a part of the release.
...
Additionally, add hack/lib to the testing tarball.
2015-05-01 11:29:11 -07:00
Jeff Lowdermilk
ec9942e995
Merge pull request #7540 from bprashanth/rollingupdate
...
Fix rolling update --image
2015-05-01 10:07:46 -07:00
Alex Robinson
1bb76633da
Make hack/test-go.sh friendlier to OS X bash by not using a -1 array index.
...
Without this, everytime I run test-go.sh I get the following error:
./hack/test-go.sh: line 215: apiVersions: bad array subscript
2015-04-30 14:56:02 -07:00
Quinton Hoole
bfaf976df7
Revert "Use native Ginkgo test runner instead of cmd/e2e"
2015-04-30 13:45:46 -07:00
Quinton Hoole
3602884d32
Merge pull request #7462 from ixdy/native-ginkgo-runner
...
Use native Ginkgo test runner instead of cmd/e2e
2015-04-30 13:27:04 -07:00
Prashanth Balasubramanian
c8ea0c27e9
Fix rollingupdate --image
2015-04-30 11:28:18 -07:00
CJ Cullen
615906ccca
Fix parallel-e2e.sh to work on my macbook (bash v3.2)
2015-04-29 10:52:21 -07:00
Jeff Grafton
57750ccb51
Use native Ginkgo test runner instead of cmd/e2e.
...
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.
Additionally, several tests which made poor assumptions about cwd or
used testContext before it was set have been fixed.
This change is generally intended to have no externally visible changes,
aside from the following caveats:
- The -t/--tests flag has been removed
- Calling cmd/e2e/e2e directly obviously won't work, but that was never
supported anyway
- If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
will run test specs in parallel. (Currently defaults to n, since some
tests are broken in this mode.)
2015-04-28 18:42:37 -07:00
Alex Robinson
79b9b1b0ef
Build hyperkube into a static binary.
2015-04-28 02:13:09 +00:00
Tim Hockin
a3d45fada8
Change flags to use dashes in help
2015-04-27 15:11:03 -07:00
Daniel Smith
83093af8b0
Merge pull request #5707 from endocode/kbeecher/etcd_prefix
...
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Karl Beecher
a7623ca6cc
Adds ability to define a prefix for etcd paths
...
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.
Refs: #3476
2015-04-24 12:12:39 +02:00
Prashanth Balasubramanian
080bc5b3dd
Configurable log levels for integration tests.
2015-04-23 18:12:48 -07:00
David Oppenheimer
e8b28c59c6
Merge pull request #7228 from jlowdermilk/describe-examples
...
Add examples for kubectl describe, make gendocs less spammy
2015-04-23 16:08:35 -07:00
Jeff Lowdermilk
a8e2f6e9c8
Add examples for kubectl describe, and make gendocs less spammy
...
Makes hack/{run/verify}-gendocs.sh ignore generated-timestamp-only
changes so minor changes to kubectl don't have to touch the entire
set of md docs.
2015-04-23 14:53:10 -07:00
nikhiljindal
1e323d77bc
Updating the guestbook example to v1beta3
2015-04-23 14:34:36 -07:00
Brian Grant
97302af015
Merge pull request #5012 from smarterclayton/podtemplates
...
Pod templates as their own type
2015-04-22 11:50:24 -07:00
Zach Loafman
e055ee0b71
Use KUBE_SKIP_UPDATE in Jenkins
...
After #7146 , we need to protect Jenkins from the internal gcloud bug (again).
2015-04-22 10:08:09 -07:00
Clayton Coleman
10c2ace6bf
Pod Templates
2015-04-22 12:54:25 -04:00
Max Forbes
5880166845
Add support for using released tars (instead of just ci) as well as using a stable version (instead of just latest).
2015-04-21 15:56:23 -07:00
Daniel Smith
1ebe994ba7
Merge pull request #7056 from kubernetes-ui/kubernetes-ui-dashboard
...
Kubernetes UI with Dashboard component
2015-04-21 12:16:47 -07:00
Robert Bailey
a50e02bb3b
Merge pull request #7078 from jlowdermilk/gke-kubectl
...
Use standalone kubectl for gke, remove special case for vagrant
2015-04-21 12:11:45 -07:00
Jeff Lowdermilk
70a576e25a
Use standalone kubectl for gke, remove special case for vagrant
...
also fix hack/local-up-cluster.sh kubeconfig instructions
2015-04-21 11:01:45 -07:00
Patrick Reilly
716d98c39e
initial commit of chrome only of new replacement web ui
...
remove node modules
make new data file for web ui
initial commit of dashboard
switch back to non SSL request
move port splitting to common place; add to node resource location
Signed-off-by: Patrick Reilly <patrick@kismatic.io>
various path fixes
make svg path relative
work around missing mime type
Signed-off-by: Patrick Reilly <patrick@kismatic.io>
fix paths
fix karma path
remove bad protractor test
2015-04-21 07:24:06 -07:00
Wojciech Tyczynski
21788d8e66
Merge pull request #7033 from nak3/add-cert_dir-option-to-apiserver
...
Add cert_dir option to kube-apiserver
2015-04-21 09:16:01 +02:00
Jeff Lowdermilk
89fba5ff63
Merge pull request #6942 from smarterclayton/simplify_object_export
...
List output with differing types should be more resilient
2015-04-20 13:48:57 -07:00
Jeff Grafton
fafd1df7a6
Revert "Continue after failed unit test"
...
This reverts commit f70752d9e1
.
This change caused Travis and Shippable to report success on all test
runs, even if any tests failed or timed out.
2015-04-20 11:59:18 -07:00
Clayton Coleman
545a5a865f
List output with differing types should be more resilient
...
kubectl get can output a series of objects as a List in versioned
form, but not all API objects are available in the same schema.
Make the act of converting a []runtime.Object to api.List more
robust and add a test to verify its behavior in Get.
Makes it easier for client code to output unified objects.
2015-04-20 14:44:16 -04:00
Jeff Lowdermilk
196b3d066d
Merge pull request #6919 from zmerlynn/sharded-e2e
...
Add hack/parallel-e2e.sh to run hack/e2e.go on multiple clusters
2015-04-20 11:34:18 -07:00
Zach Loafman
a5f7f4c9a1
Add hack/parallel-e2e.sh to run hack/e2e.go on multiple clusters
...
$ hack/parallel-e2e.sh
Usage: hack/parallel-e2e.sh <number of clusters> [options to hack/e2e.go]
Output is logged to _output/e2e/<prefix>. Test failures are aggregated
by slurping the junit results from the parallelized output and
summarized at the end of the run.
2015-04-20 11:18:09 -07:00
Jeff Lowdermilk
3787fc5eca
set KUBECONFIG in common.sh, default to new location
...
and preserve value in ginkgo e2e test driver
2015-04-20 11:07:35 -07:00
Kenjiro Nakayama
51d0443dde
Add cert_dir option to kube-apiserver
2015-04-19 17:40:08 +09:00
Eric Paris
2915c90200
Remove -installsuffix from go build
...
This is a go install argument which has no use in go build. Clean it up.
2015-04-17 15:33:00 -04:00
Eric Paris
d7fefb6f39
Indicate progress when doing a go build
...
It is slow.
2015-04-17 15:32:26 -04:00
Brian Grant
95183dde5a
Merge pull request #6988 from zmerlynn/flock_gcloud_update
...
Use flock around gcloud component update to avoid race
2015-04-17 12:23:58 -07:00
Brian Grant
2cd04755c5
Merge pull request #6953 from eparis/cgo-build-fallback
...
fall back to go build when static cgo not possible
2015-04-17 12:03:50 -07:00
Jeff Lowdermilk
2a8291a67e
Retry Move KUBECONFIG to common.sh, change default to new location
2015-04-17 10:33:12 -07:00
Zach Loafman
d5f02b2970
Use flock around gcloud component update to avoid race
2015-04-17 09:50:15 -07:00
Clayton Coleman
3bc42f1635
Merge pull request #6573 from kargakis/setup-resource-aliases
...
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
kargakis
9d056c6bd8
Support setting up aliases for groups of resources
...
Closes #5278
2015-04-17 16:31:59 +02:00
Eric Paris
5fb8602c65
fall back to go build when static cgo not possible
...
Instead of just failing, use go build if people don't have the magic cgo
stuff we need build-able/write-able.
2015-04-17 09:50:54 -04:00
Zach Loafman
0232888a4b
Merge pull request #6975 from zmerlynn/dont_error_on_update
...
Don't error out if gcloud update fails
2015-04-17 06:17:12 -07:00
Zach Loafman
db7e640bb5
Don't error out if gcloud update fails
...
Fixes #6974
2015-04-17 06:16:17 -07:00
Zach Loafman
e87ae8f8e3
Merge pull request #6891 from nak3/fix_obsolete_option
...
Replace obsolete tests option
2015-04-16 15:21:15 -07:00
Eric Tune
14eb70b1dc
Merge pull request #6899 from nak3/fix-unittest-after-fail
...
Continue after failed unit test
2015-04-16 13:21:45 -07:00
Kenjiro Nakayama
f70752d9e1
Continue after failed unit test
2015-04-16 16:53:07 +09:00
Kenjiro Nakayama
1d804629b6
Escape integration test codes from unit tests
2015-04-16 15:41:03 +09:00
Kenjiro Nakayama
9a7b842d17
Replace obsolete tests option
2015-04-16 11:49:55 +09:00
Brian Grant
29e68ad392
Merge pull request #6790 from nikhiljindal/encoder
...
Removing references to v1beta1 from hack/ and test/
2015-04-15 10:25:33 -07:00
Wojciech Tyczynski
586bae7948
Bigger performance test cluster
2015-04-15 09:25:35 +02:00
Dawn Chen
012a35bd02
Merge pull request #6816 from jlowdermilk/make-clean-is-your-friend
...
Suggest running make clean on verify-gendocs failure
2015-04-14 15:42:16 -07:00
Jeff Lowdermilk
797903798e
Suggest running make clean on verify-gendocs failure
2015-04-14 13:21:43 -07:00
Jeff Lowdermilk
b59266ad84
Merge pull request #6798 from xiang90/fix_doc
...
docs: fix docs for #6776
2015-04-14 13:15:10 -07:00
Xiang Li
5466dd8138
hack: reliable sort in util.sh
2015-04-14 12:52:28 -07:00
nikhiljindal
a2c29d48ec
Removing references to v1beta1 from hack/ and test/
2015-04-14 11:31:37 -07:00
Dawn Chen
913dc4e490
Revert "Use a helper to find built binaries"
2015-04-14 11:24:49 -07:00
Dawn Chen
7bfe57b30d
Merge pull request #6783 from eparis/use-hack-lib-find-binaries
...
Use a helper to find built binaries
2015-04-14 09:18:14 -07:00
Wojciech Tyczynski
8fb22a750b
Explicitly define scalability test suite
2015-04-14 14:55:11 +02:00
Fabio Yeon
e99141de0d
Merge pull request #6729 from smarterclayton/chaosclient
...
Add a new Chaos transport that can simulate network failure and add it to the kubelet
2015-04-13 16:06:53 -07:00
Eric Paris
6d4ab258f0
Use a helper to find built binaries
...
We should not be determining the arch/os and all the possible
directories binaries can live. Let a hack/lib/ helper do it for us.
2015-04-13 18:57:36 -04:00
Clayton Coleman
ca335d7be9
Add support for chaos to Kubelet and hack/local-up-cluster.sh
2015-04-13 18:21:20 -04:00
Eric Paris
26149bd83d
Doc generation should remove old doc files
...
Right now, our doc generation scripts notice if you make changes and
don't regen docs, don't include new docs, etc. But they miss it if your
changes should have REMOVED a doc. Both kubectl-apiversion and
kubectl-clusterinfo should have been removed, but weren't.
This patch starts tracking all generated doc files and will cause
problems if files should be removed and aren't.
2015-04-13 17:48:24 -04:00
Eric Paris
d7a89117b7
Use a helper to find built binaries
...
Instead of doing it all outselves....
2015-04-13 15:27:55 -04:00
Eric Paris
ebb0affc21
Automatically generate bash completions for kubectl
2015-04-13 15:27:55 -04:00
Dawn Chen
f345aec360
Merge pull request #6762 from justinsb/e2e_fix_aws
...
Specify equivalent instance types for AWS, in hack/jenkins/e2e.sh
2015-04-13 10:16:36 -07:00
Jeff Lowdermilk
4a41a7ffe5
Merge pull request #6745 from eparis/auto-gen-markdown
...
Auto gen markdown
2015-04-13 10:00:55 -07:00
Justin Santa Barbara
cf02d8cef2
Specify equivalent instance types for AWS, in hack/jenkins/e2e.sh
...
This should unbreak the AWS e2e tests
2015-04-13 08:28:24 -07:00
Wojciech Tyczynski
f7fbc2d0c5
Prepare for running scalability test on Jenkins
2015-04-13 11:36:12 +02:00
Eric Paris
263dc981db
Use spf13/cobra md generation instead of doing it outselves
2015-04-12 15:03:13 -04:00
derekwaynecarr
2484adbbfe
Local-up-cluster does not have admission control
2015-04-10 15:50:33 -04:00
Yu-Ju Hong
faf47b6f0b
Limit the number of concurrent tests in integration.go
...
Integration test often time out because the machine is loaded. Instead of
increasing timeout, this change hopes to address the issue by limiting the
number of tests running simultaneously.
Add a new flag in integration.go to specify the maximum number of concurrent
tests. Set the default in travis and shippable configurations to be 4.
2015-04-09 16:54:23 -07:00
nikhiljindal
08d9e244f7
Removing some references to v1beta1 from test code
2015-04-08 17:28:06 -07:00
Brian Grant
c4cbc9bc46
Merge pull request #6581 from nikhiljindal/v1beta3
...
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 14:01:57 -07:00
nikhiljindal
fe60be3179
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 13:08:13 -07:00
Tim Hockin
f9a3315367
Remove useless e2e noise
2015-04-07 17:52:32 -07:00
Rohit Jnagal
8b4914dd0f
Merge pull request #6472 from zmerlynn/fix_build_status
...
Add kube::util::wait-for-jobs to report status, unlike builtin wait
2015-04-06 13:39:58 -07:00
Zach Loafman
2bc5dd559a
Add kube::util::wait-for-jobs to report status, unlike builtin wait
...
** Sigh **
Fixes an additional complaint in #6463
2015-04-06 11:11:49 -07:00
Nikhil Jindal
7270010a3a
Merge pull request #6444 from you-n-g/master
...
etcd should be started after the trap func set
2015-04-06 10:50:14 -07:00
Rohit Jnagal
6b51476791
Merge pull request #6460 from jayunit100/gofmtmsg
...
Make gofmt message precise (-s option)
2015-04-06 08:58:20 -07:00
markturansky
95bd170ca2
PV & PVC Client implementation
2015-04-06 08:46:43 -04:00
jayunit100
8d6c163650
Make gofmt message explicit about -s option
2015-04-06 00:12:06 -04:00
Young
802610b13a
etcd should be started after the trap func set
2015-04-05 03:41:26 -04:00
Brian Grant
b0b6418ca3
Merge pull request #6377 from nikhiljindal/kubevtl
...
Updating components to use v1beta3
2015-04-03 15:58:09 -07:00
nikhiljindal
f2b72931fc
Updating components to use v1beta3
2015-04-03 15:19:14 -07:00
Brendan Burns
88dbdc4a69
Merge pull request #6203 from brendandburns/qps
...
Add a QPS limiter to the kubernetes client.
2015-04-03 14:24:29 -07:00
Eric Tune
e49424785e
Merge pull request #6380 from roberthbailey/kubelet-ssl
...
Configure the kubelet to use HTTPS (take 2)
2015-04-03 13:43:00 -07:00
Brendan Burns
3f98ac07c2
Add a QPS limiter to the kubernetes client.
2015-04-03 11:58:51 -07:00
Zach Loafman
c0ed73a10d
Only build in parallel if the build machine is >8G
2015-04-02 17:56:45 -07:00
Zach Loafman
e159c02a2a
Completely neutral commit that just factors each platform build out to
...
a function (to make it kinder on reviewers for the next piece).
2015-04-02 17:56:44 -07:00
Zach Loafman
04813f0dcd
Revert "Revert "Parallelize architectures in both the building and packaging phases of make release
""
...
This reverts commit 9f60dde320
.
2015-04-02 17:56:44 -07:00
Robert Bailey
f15e34a1bf
Revert "Merge pull request #6309 from GoogleCloudPlatform/revert-6243-kubelet-ssl"
...
This reverts commit 96a0a0d618
, reversing
changes made to 2af9b54147
.
2015-04-02 10:44:37 -07:00
Zach Loafman
9f60dde320
Revert "Parallelize architectures in both the building and packaging phases of make release
"
2015-04-02 08:49:11 -07:00
Jerzy Szczepkowski
ad306c9c6e
Merge pull request #6340 from zmerlynn/upgrade_gcloud
...
Automatically upgrade gcloud in Jenkins (reenable)
2015-04-02 09:37:27 +02:00
Jerzy Szczepkowski
8cff43dfb7
Merge pull request #6330 from jayunit100/local-up-fix
...
Check to prevent split brain api-servers/api-clients which can happen if...
2015-04-02 09:34:19 +02:00
Quinton Hoole
46e5ec3617
Merge pull request #6339 from zmerlynn/skip_paranoia
...
Skip cleaning docker cache prior to build
2015-04-01 20:21:49 -07:00
Zach Loafman
6ba14f1c28
Skip cleaning docker cache prior to build
...
This seems to be more trouble than its worth, and much of
the remaining build time (except the push itself). We can
cache the cross-build/golang images between builds - it's
not going to kill us, and it'll save the occasional weird
flake of not finding an image when it tries to rm one of
these.
2015-04-01 20:04:24 -07:00
jayunit100
1cc61174ea
Check to prevent split brain api-servers/api-clients which can happen if etcd dies between rerun of local-up-cluster.sh
2015-04-01 22:56:34 -04:00
Zach Loafman
4fa84a4f41
Automatically upgrade gcloud in Jenkins (reenable)
2015-04-01 19:27:17 -07:00
Zach Loafman
1ff0a1e2a1
Merge pull request #6270 from jlowdermilk/gcloud-updates
...
Updates for gcloud 0.9.54
2015-04-01 19:14:57 -07:00
Quinton Hoole
3a724b2622
Merge pull request #6196 from zmerlynn/parallel_arch
...
Parallelize architectures in both the building and packaging phases of `make release`
2015-04-01 17:55:43 -07:00
Victor Marmol
312bc71c8b
Merge pull request #6304 from roberthbailey/test-cmd-timeout
...
Increase the time we wait for the kubelet to be healthy.
2015-04-01 17:36:44 -07:00
Zach Loafman
0bbf4e99f6
Re tab-ify golang.sh
2015-04-01 17:31:15 -07:00
Zach Loafman
44b4c9ff26
Parallelize architectures in "make release"
...
On my desktop, this took the KUBE_RELEASE_RUN_TESTS=n
"make release" down from 172s to 115s
2015-04-01 17:29:22 -07:00
Satnam Singh
3c119c008d
Convert kubernetes/serve_hostname to gcr.io/google_containers/server_hostname
2015-04-01 15:39:05 -07:00
Robert Bailey
1fa7955807
Increase the time we wait for the kubelet to be healthy.
2015-04-01 15:10:32 -07:00
Victor Marmol
0cf3590c36
Merge pull request #6299 from thockin/faster_build
...
Make the build faster - call 'go install' once
2015-04-01 14:41:53 -07:00
Robert Bailey
32a1c052dc
Revert "Configure the kubelet to use HTTPS"
2015-04-01 13:59:31 -07:00
Robert Bailey
836fb4ac0b
Remove liveness.sh.
2015-04-01 11:56:39 -07:00
Tim Hockin
005da75f4a
Make the build faster - call 'go install' once
2015-04-01 10:10:27 -07:00
Jeff Lowdermilk
cfc04f41b8
Updates for gcloud changes (alpha, kubeconfig)
2015-04-01 09:27:06 -07:00
Robert Bailey
dd9ec46cc0
Fix test-cmd to work with the kubelet listening on HTTPS.
2015-04-01 09:09:29 -07:00
Paul Morie
fdae6748d2
Fix typo in std install instructions for build
2015-03-31 17:36:47 -04:00
Brian Grant
3354cffbf0
Merge pull request #6182 from thockin/plural_services_20
...
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Abhishek Shah
745368d6b2
Nicer error msg if stdlib pkg with cgo flag is not installed
2015-03-31 08:37:33 -07:00
Tim Hockin
eeff1b74fb
Fixes from feedback and testing
2015-03-30 23:52:37 -07:00
Zach Loafman
8fff5338e2
Fix gke_test (should've realized why the cut -c 2- was there above this)
2015-03-30 13:38:29 -07:00
Zach Loafman
ec53868d4f
Allow gke-test to run on latest release version
2015-03-30 12:11:23 -07:00
Clayton Coleman
eb0eff69fe
Move watch to being a resthandler resource and expose it on LIST
...
GET /pods?watch=true&resourceVersion=10
will now function equivalent to GET /watch/pods.
2015-03-27 15:03:58 -04:00
Clayton Coleman
1618c39a46
Convert List query parameters via object conversion
...
Convert url.Values -> an object, with appropriate versioning. ListOptions
should also expose parameter names to swagger.
2015-03-27 15:03:57 -04:00
nikhiljindal
f56aa58741
Some improvements to #5687
2015-03-26 15:36:41 -07:00
Jeff Lowdermilk
653b7e629d
Merge pull request #5977 from smarterclayton/allow_expose_to_handle_other_resources
...
Allow `kubectl expose` to be polymorphic to the source of the selector
2015-03-26 13:23:21 -07:00
Jeff Lowdermilk
fc2eb66d9f
Merge pull request #5976 from smarterclayton/support_resource_builder_on_label
...
`kubectl label` should support resource builder
2015-03-26 13:21:56 -07:00
Clayton Coleman
64f91f7dac
Allow kubectl expose
to be polymorphic to the source of the selector
...
Allows exposing new resource types to be exposed (OpenShift deployment
controllers, copying services, and other resources that will have
pod label selectors).
Also fixed a bug where the selector wasn't exposed because of parameter
defaulting.
2015-03-26 14:36:53 -04:00
Clayton Coleman
1e496696ca
Merge pull request #5903 from smarterclayton/support_resources_by_type_and_name
...
Allow resource.Builder commands to take arguments by type/name
2015-03-26 14:23:03 -04:00
Clayton Coleman
68c46e7f52
kubectl label
should support resource builder
...
Allow applying labels to all resources, by existing selector, and
soon allow multiple selection.
2015-03-26 14:01:05 -04:00
Nikhil Jindal
5d379a2cb8
Merge pull request #5974 from nikhiljindal/testBranch
...
Fixing broken hack/test-go.sh
2015-03-25 18:10:56 -07:00
nikhiljindal
6b69ebda5b
Fixing broken hack/test-go.sh
2015-03-25 18:04:59 -07:00
Clayton Coleman
581d7cd789
Allow resource.Builder commands to take arguments by type/name
...
Will allow xarg behavior to fetch resources across multiple types.
Changes 'create', 'get', 'update', 'stop', and 'delete' to output
<resourceType>/<name>.
2015-03-25 20:39:22 -04:00