Commit Graph

1091 Commits (3342b781b4c212f4d25b2d781d119534b21b6566)

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