Victor Agababov
e3b4e9c229
Step I: move memstats to metrics ( #1799 )
...
step II: update deps (serving and eventing)
step: III: remove from shared main
For https://github.com/knative/serving/issues/9787
2020-10-12 15:14:17 -07:00
Dave Protasowski
54ad6c6d39
logstream v2 ( #1793 )
...
* create a log stream that doesn't reach for pkg/test globals
* v1 can now use v2's implementation
* fix godoc
* fix self comments
* fix lints
* fix t.Error message
* guard the buffer to avoid races
* rename file to stream so that logs make more sense
2020-10-12 09:32:17 -07:00
Matt Moore
18350095f5
upgrade to latest dependencies ( #1798 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-11 20:36:16 -07:00
tianfeiyu
975a1cf9e4
feat: get cluster domain use utility ( #1795 )
2020-10-11 15:54:16 -07:00
Victor Agababov
ea1fd5a413
Final sync/atomic removals ( #1794 )
...
There's one sync/atomic.Value, but value already is a wholesome
type, so no need to change that one.
2020-10-09 17:22:22 -07:00
Scott Nichols
49103e3170
leverage the go_update_deps method from test-infra ( #1792 )
...
* leverage the go_update_deps method from test-infra
* update test-infra
2020-10-09 13:35:21 -07:00
Yanwei Guo
3c4df8c272
clean up ( #1790 )
2020-10-09 10:51:21 -07:00
Dave Protasowski
3eb7d13dae
Drop the usage of knative.dev/pkg/test in the helpers package ( #1791 )
...
This has the side effects of pulling in a bunch of global variables
2020-10-09 08:37:21 -07:00
Matt Moore
73da5142da
upgrade to latest dependencies ( #1789 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-08 19:38:21 -07:00
Matt Moore
c0496d5e1b
upgrade to latest dependencies ( #1771 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-07 22:26:21 -07:00
Matt Moore
03e8c35800
Update common github actions ( #1787 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-07 21:35:22 -07:00
Victor Agababov
7bad843466
Enable golint and exclude some other generated or additional dirs ( #1783 )
...
* Enable golint and exclude some other generated or additional dirs
Also remove `test` ignore, since it's covered by path ignore rule.
* meh
* fixes
* more
* progressing
* further
* like a boss
2020-10-07 14:58:20 -07:00
Pierangelo Di Pilato
1a4c99a865
Allow override QPS and Burst via flag ( #1778 )
...
* Allow override QPS and Burst via flag.
Add `--kube-api-qps` and `--kube-api-burst` command-line flags
to control client QPS and Burst respectively.
The default value is set to 0 to keep backward compatibility.
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
* Inline validation functions
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
2020-10-07 10:06:21 -07:00
Scott Nichols
4c07e187d4
Scott to owners on pkg ( #1781 )
...
* Scott to owners on pkg
* lower the codecov bar
* nit
2020-10-07 09:20:21 -07:00
Ville Aikas
fb7f15ff41
add fuzzers ( #1770 )
...
* add fuzzers
* fix boilerplate
* fuzz conditions
2020-10-07 08:02:20 -07:00
Ville Aikas
bdfed02123
add codecov badge ( #1784 )
2020-10-07 06:30:21 -07:00
Scott Nichols
46761ba7c3
Put EnableInjectionOrDie back on the main path ( #1772 )
...
* put EnableInjectionOrDie back on the main path
* nil check pointer type
* move enable injeciton out of sharedmain
* lint
* nit picking fmt....
* add documentation
* feedback cleanup
* injection.GetRESTConfig
* redirect code that moved:
2020-10-06 16:58:20 -07:00
Victor Agababov
8922d5c471
Include REST and reorder items to be sorted ( #1780 )
...
We're still doing a linear search... but one day may be.
2020-10-06 13:40:20 -07:00
capri-xiyue
b3f27fd930
move binding duck to v1 ( #1774 )
...
* move biding duck to v1
* fixed naming
2020-10-06 10:24:21 -07:00
Zhimin Xiang
d97a1e527c
Explicitly exclude cutting release for client repo in the release instruction ( #1760 )
...
* Explicity exclude cutting client repo from the release instruction
* add client repo for pinning
* Address comments
* reformat
2020-10-06 09:54:21 -07:00
Victor Agababov
247841408e
Apply the cleanup to the pkg ( #1776 )
...
* Apply the cleanup to the pkg
This is probably the final iteration of my cleanup application.
* codegen
* one more try
2020-10-05 21:41:20 -07:00
Montgomery Carter
21cb070a8b
Introduce pkg/metrics allMeter cache ( #1741 )
...
We currently keep all metrics exporters created since start.
For a busy, long running server, this will be a problem. Clean
these up when they get old so we don't dedicate memory to non-existent
2020-10-05 10:51:34 -07:00
Matt Moore
f9bf419acc
upgrade to latest dependencies ( #1769 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-04 19:33:34 -07:00
Zhongduo Lin (Jimmy)
ea7374e811
Delay start of informers in sharedmain ( #1767 )
...
The EnableInjectionOrDie starts informers immedidately in a go
routine, which changes the order of informer start and controller
setup. As a result setting resync period to informer handler will
be ignored as the informer is already started. Though this will
likely affect more components, changing the EnableInjectionOrDie
function will break the API, so this is a temporary solution to
fix all the controllers depending on sharedmain.
2020-10-03 10:57:33 -07:00
Victor Agababov
84e91da23c
Add IsWithinParent ( #1765 )
2020-10-02 12:33:33 -07:00
Matt Moore
735a38c032
upgrade to latest dependencies ( #1766 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-01 22:28:29 -07:00
Matt Moore
7c082ac1c0
Update common github actions ( #1763 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-30 19:22:29 -07:00
Matt Moore
41ee63575a
upgrade to latest dependencies ( #1758 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-30 19:10:29 -07:00
Victor Agababov
29e3385d1b
Fix the resource naming for known terms ( #1761 )
...
It's been a longterm pet peeve of mine that we don't name test functions TestAutoTLS etc, because this
function will mutilate the names in to t-l-s, etc.
So collect a list of well known names and catch them separately.
This is not superperformant, some trie would do this job better, but since
this is test name generation, I'll let it slide :-D
2020-09-30 13:15:29 -07:00
Scott Nichols
c9e147b0b2
trades release lead role with nacho ( #1759 )
2020-09-30 10:34:28 -07:00
Victor Agababov
1e373a9e5d
take 2 ( #1755 )
2020-09-29 14:10:29 -07:00
Victor Agababov
a371418524
v2 ( #1754 )
2020-09-29 13:18:29 -07:00
Victor Agababov
236c084e37
Fix the racy test. ( #1753 )
...
The problem is that the original test presumed the 2 other backgound calls have
finished already.
Which is not really true always.
E.g. here: https://github.com/knative/pkg/pull/1746/checks?check_run_id=1179720602
Also other nits around the file
2020-09-28 22:20:28 -07:00
Matt Moore
4efcf05498
upgrade to latest dependencies ( #1746 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-28 19:27:28 -07:00
Shuhei Kitagawa
ae03601838
Fix CONTRIBUTING.md link ( #1752 )
...
* Fix CONTRIBUTING.md link
* Update CONTRIBUTING.md
Co-authored-by: Matt Moore <mattmoor@vmware.com>
Co-authored-by: Matt Moore <mattmoor@vmware.com>
2020-09-28 16:46:28 -07:00
Victor Agababov
5d1dfa9ef7
Improve the logging messages in the reconciler generator. ( #1750 )
...
And other minor nits.
2020-09-28 13:32:28 -07:00
Victor Agababov
fee994de4d
Make codecov post only a single email ( #1749 )
2020-09-28 09:20:45 -07:00
Victor Agababov
01f66333d4
Match pkg codecov with serving ( #1748 )
2020-09-25 16:06:44 -07:00
Victor Agababov
d86a08b1d8
Some more replacements to atomic.* types ( #1747 )
...
* Some more replacements to atomic.* types
* fix
2020-09-25 10:54:44 -07:00
Matt Moore
7b99ff5a0b
Update common github actions ( #1745 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-25 00:38:43 -07:00
Matt Moore
dc16821b96
upgrade to latest dependencies ( #1744 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-24 14:53:40 -07:00
Matt Moore
f0b8769399
upgrade to latest dependencies ( #1743 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-24 08:21:40 -07:00
Matt Moore
84e88546e8
upgrade to latest dependencies ( #1739 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-23 19:50:40 -07:00
Matt Moore
8bc2c39332
Update common github actions ( #1742 )
...
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-23 19:31:40 -07:00
Scott Nichols
01609c8862
Updates to release leads workflow from 0.18 learnings ( #1733 )
...
* test-infra no longer deps on pkg
* adding new sandbox repos
2020-09-23 13:09:40 -07:00
Markus Thömmes
5fbbde31b3
Align linters with serving (enables stylecheck and asciicheck) ( #1738 )
2020-09-23 07:37:40 -07:00
Victor Agababov
58028584ae
Remove apicoverage from pkg ( #1728 )
...
and update the deps
2020-09-22 14:49:39 -07:00
Yanwei Guo
7f9b02e2c0
Add a func to return a connection which has been established ( #1729 )
...
* add sync func
* add comment
* Update websocket/connection.go
Co-authored-by: Victor Agababov <vagababov@gmail.com>
* reviews
Co-authored-by: Victor Agababov <vagababov@gmail.com>
2020-09-22 11:03:40 -07:00
Markus Thömmes
754da4653a
Enable unparam linter to catch unused parameters ( #1731 )
2020-09-22 09:13:40 -07:00
Markus Thömmes
e4ecf702a3
Apply gosec checks to the codebase, except tests. ( #1725 )
...
* Apply gosec checks to the codebase, except tests.
* Fix YAML whitespace.
* Tune back file mode change and add a comment.
2020-09-22 08:55:40 -07:00