Commit Graph

1022 Commits

Author SHA1 Message Date
Zach Loafman
53d61d94da 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-21 10:23:48 -07:00
Mike Danese
6badb7575e make mungedoc exit 1 if manual changes are needed and wire up erro message. 2015-07-21 10:23:46 -07:00
Zach Loafman
8e7331649a 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-21 10:23:45 -07:00
Tim Hockin
c3c83ed891 fix test-cmd from file moves 2015-07-21 10:23:44 -07:00
Tim Hockin
1d74f53feb Fix test-cmd after file moves 2015-07-21 10:23:43 -07:00
Daniel Smith
17014e95e7 run munger over examples dir 2015-07-21 10:23:40 -07:00
Daniel Smith
4db0a4cb2d 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-21 10:23:40 -07:00
Zach Loafman
f4b17975b9 hack/cherry_pick_pull.sh: Coach user on how to make a pull against non-master 2015-07-21 10:23:39 -07:00
Mike Danese
b4d7005ffd fake realpath, and standardize treatment of trailing / of dirs in gendoc 2015-07-21 10:23:38 -07:00
Mike Danese
093f1f3844 fix run-gendocs to point to new repo location 2015-07-21 10:23:37 -07:00
Tim Hockin
f5c64c3491 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-21 10:23:37 -07:00
Zach Loafman
06ba9f6ad9 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-21 10:23:35 -07:00
nikhiljindal
b02e0e6f30 Updating update-swagger-spec to build the apiserver before running 2015-07-17 12:30:13 -07:00
nikhiljindal
aa430bbd7e Introduce a new service generator that leaves service port unnamed 2015-07-17 02:07:23 -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
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
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
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