Commit Graph

330 Commits

Author SHA1 Message Date
knative-automation e6cf1ce04e
upgrade to latest dependencies (#1247)
bumping knative.dev/serving 472f8e2...a4908c6:
  > a4908c6 Fix wrong function name in test log (# 10902)
  > 6e46a52 Format markdown (# 10898)
  > 6087145 e2e - wait for deployments to be available (# 10883)
  > 5b07374 Update net-certmanager nightly (# 10888)
  > 39cd0ea Update net-contour nightly (# 10886)
  > 2955f95 rename queueproxy flag probe-period to probe-timeout (# 10855)
  > 17e40b1 Bump timeout to (hopefully) avoid flake (# 10892)
  > b089ba7 Update net-istio nightly (# 10889)
  > 59c9461 Update contributing link (# 10894)
  > c508400 Update net-kourier nightly (# 10887)
  > 3ee7319 upgrade to latest dependencies (# 10884)
  > 267697a Add DomainMapping namespace label annotation (# 10868)
  > c4e05e5 Lint use of type-safe atomics (# 10882)
  > 9419b6a Update net-kourier nightly (# 10877)
  > 6d84c5b Don't override the queue-proxy image on pre-upgrade tests (# 10872)
  > 0b07d94 Parallelise tests in activator/net (# 10880)
  > 4301fa1 Update net-contour nightly (# 10876)
  > eb873de Update net-istio nightly (# 10875)
  > 79faf2b Use type-safe atomics (# 10881)
  > 94451d1 Make sure to reinitialise loop var in parallel tests (# 10879)
  > 041dca1 upgrade to latest dependencies (# 10874)
  > e9ea07e Only use exec probe at startup time (# 10741)
  > 6dcd8a6 Extend the e2e tests to use the new weighted averaging algorithms (# 10859)
  > 9478d4e Update net-contour nightly (# 10870)
  > 8e0ac01 Update net-kourier nightly (# 10869)
  > 092ddd9 Apply security best practises to domain-mapping-webhook (# 10867)
  > cd77781 Update net-kourier nightly (# 10863)
  > 2743018 Update net-istio nightly (# 10864)
  > f397d58 Use new filter function constructors (# 10862)
  > 26fd2fc upgrade to latest dependencies (# 10866)
bumping knative.dev/eventing 2db6877...554c1cc:
  > 554c1cc Delete unused params in IMC controller reconciler (# 5015)
  > db81746 fix # 4994 use trigger's namespace only when subscriber's namespace is nil (# 4995)
  > dbf1859 Remove v1alpha1 channelable (# 5005)
  > ef6d89e upgrade to CRDv1, add more unit tests around the workings of event types (# 5013)
  > d6d48a7 add unit tests to reconciler/source/config_watcher (# 5012)
  > 21bcd68 Add buckets example to config-leader-election CM (# 4993)
  > 0f2612e add test for trigger having a wrong UID (# 5004)
  > 4282f45 fix broken in-mem ns mode (# 4906)
  > 9089b8e adding code coverage to adapters v2 (# 5000)
  > eb12f8a update to breaking change for feature.T in reconciler-test (# 5003)
  > c5f92fa upgrade to latest dependencies (# 5001)
  > f220668 add more coverage (# 4999)
  > fba3dbf Use common script in GH Actions (# 4997)
bumping knative.dev/networking 54c0eb1...f813b59:
  > f813b59 upgrade to latest dependencies (# 361)
  > c369ab0 upgrade to latest dependencies (# 360)
bumping knative.dev/pkg 9039dc1...8fbab7e:
  > 8fbab7e Redo the comment a bit further (# 2042)
  > 08fc626 Fix comment for skipKeyError (# 2041)
  > 2bc944b Fix race: Make informed watcher start wait for Add event 🏎️ (# 2036)

Signed-off-by: Knative Automation <automation@knative.team>
2021-03-05 15:06:20 -08:00
knative-automation 270e322401
upgrade to latest dependencies (#1245)
bumping knative.dev/networking 94bfc01...54c0eb1:
  > 54c0eb1 upgrade to latest dependencies (# 358)
  > d5e05ad Update common github actions (# 357)
bumping knative.dev/serving b9576f5...472f8e2:
  > 472f8e2 drop k8s 1.17 from kind e2e testing (# 10854)
  > c1a0496 Fix race condition with Prober logger in upgrade tests (# 10815)
  > 527416d upgrade to latest dependencies (# 10861)
  > 0282521 Introduces h2c auto-detection support in health prober (# 10628)
  > 4aa9840 Thread the metric aggregation algorithm through collector. (# 10850)
  > 6826a1b Don't validate autoscaling annotations where they're not allowed (# 10847)
  > b039ea5 Update net-contour nightly (# 10853)
  > a8e67e0 Add algorithm possible values and annotation validation. (# 10846)
  > cbc2a29 Update net-istio nightly (# 10849)
  > 56f645c Update net-contour nightly (# 10842)
  > ee588f5 Add the annotation for averaging algorithm selection. (# 10840)
  > 18b149f Update the setup of HTTP01 challenge tests (# 10843)
  > c4193ed relax annotation constraints and some cleanup (# 10837)
  > 6e788d7 Fix KeepAlives for HTTPProbe (# 10820)
  > 86b92e0 bump k8s versions for kind e2e (# 10809)
  > 28b910b More deep cleaning of the Route reconciler it needed for some time. (# 10839)
  > a70d100 Use Revision from context in request log (# 10836)
  > a675c75 Backfill some test coverage for annotation validation (# 10834)
bumping knative.dev/eventing 207aa26...2db6877:
  > 2db6877 Add missing singular resource names to source/sinkbinding crds (# 4992)
  > 184fa2f mtping adapter now cleans up internal cache when it stops leading (# 4908)
  > 6fb67cd update deps + codegen (# 4990)
  > 00b44e9 Format markdown (# 4980)
  > 235dba5 refactor for better testability, add ut (# 4979)
  > 44b0a0e Add roadmap for 2021 for Eventing, Eventing Sources and Event Delivery WGs (# 4863)
  > 5451f19 add more ut coverage (# 4978)
bumping knative.dev/pkg 584933f...9039dc1:
  > 9039dc1 moved release docs to github.com/knative/release (# 2040)
  > 07b5ddf add demoteFunc controller option (# 2033)
  > 8a8de5f Move IsKProbe to drainer, since it's the only place it's used (# 2038)
  > 5367a43 Fix potential deadlock when k8s client is used (# 2031)
  > b5bf07b adding retry event count metric for source (# 2016)
  > 17a36e7 Format markdown (# 2037)
  > 29be1c1 Add the release badge for all of the repos (# 2035)
  > e90ac15 Remove the system.Clock and it's mock in a different location (# 2034)
  > 8a9bf76 Add symmetric filter helped based on OwnerRefable. (# 2032)
  > 29092fe Format markdown (# 2030)
  > d733bb4 Add nightly badged to release tables (# 2029)
  > 7b5bcc3 Use the constant for UserAgent (# 2028)
  > 86a8236 Format markdown (# 2025)
  > 6c2f94a Unregister views to avoid slow oom issue during meter cleanup (# 2005)
  > 7689cce Update common github actions (# 2024)
  > f4650d8 Add releasability badges for each repo (# 2023)

Signed-off-by: Knative Automation <automation@knative.team>
2021-03-01 15:06:49 -08:00
Roland Huß 09c5129c96
Update to 0.21 deps (#1239) 2021-02-23 12:59:46 -08:00
knative-automation 8bcc09fbba
upgrade to latest dependencies (#1237)
bumping knative.dev/serving 8ed54bc...b9576f5:
  > b9576f5 Add the same decoding Revision logic to request_log as context_handler (# 10824)
  > 6ef778d Fix the helpers in the service to be more readable. (# 10833)
  > fa538e3 Make Route table_test more palatable (# 10832)
  > e6ac4a7 Switch single item switch statements to if statements (# 10831)
  > 2a13625 fix various nits (# 10823)
  > 8a1782a Drop some label constraints for our top level resources (# 10808)
  > aca51ad Update net-certmanager nightly (# 10828)
  > 6c1b2a6 Update net-kourier nightly (# 10830)
  > e334a0a Update net-istio nightly (# 10829)
  > 0fddff4 Update net-contour nightly (# 10827)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-23 07:35:46 -08:00
knative-automation dfdf62b1a0
upgrade to latest dependencies (#1235)
bumping knative.dev/serving 2516dae...8ed54bc:
  > 8ed54bc Remove mapToHeader helper. (# 10818)
  > 5600cc6 Remove the User-Agent inline constant with standard constant from pkg (# 10817)
  > c4a8a39 Implement exponential decay algorithm for average computation (# 10803)
  > 5d936c7 Remove unused TimeoutFunc stuff and revert to simple duration (# 10793)
  > 418970e Update docs for revision timeoutSeconds field (# 10806)
  > af6faba Update net-contour nightly (# 10813)
bumping knative.dev/eventing 4e5bdf9...207aa26:
  > 207aa26 Add unit tests for parallel_validation_test (# 4845)
  > 86f455c swap lberk/vaikas shifts (# 4900)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-21 22:30:03 -08:00
knative-automation 18ff596041
upgrade to latest dependencies (#1233)
bumping knative.dev/eventing ef5f61d...4e5bdf9:
  > 4e5bdf9 💄 adding check for -1 status code for the default impl (# 4897)
  > 403aefa Ported Broker ingress conformance test to the new test framework (# 4859)
  > c44a698 upgrade to latest dependencies (# 4896)
  > e063a8d update default-pingsource configmap checksum (# 4895)
  > fb8e3b4 Fixup ping source dataMaxSize configmap (# 4894)
  > 78ee789 Adding checkRetry from kafkaChannel (# 4890)
  > 30d9fa3 Format markdown (# 4891)
  > dbdb339 [doc] Debugging Knative controllers and friends locally with Intellij Idea (# 4886)
bumping knative.dev/serving 7aa62c5...2516dae:
  > 2516dae swap path for domainmapping kingress for kourier (# 10811)
  > 130f8ac Update net-istio nightly (# 10807)
  > cc0209f Remove outdated todo's (# 10804)
  > 493918e Update net-contour nightly (# 10801)
  > 87bf1a9 Update net-kourier nightly (# 10800)
  > 7f9dd35 Update net-certmanager nightly (# 10799)
  > c24dc14 Validate domain mapping is not a cluster local name (# 10798)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-19 10:47:03 -08:00
knative-automation 2930137a32
upgrade to latest dependencies (#1219)
bumping knative.dev/networking 8550923...94bfc01:
  > 94bfc01 upgrade to latest dependencies (# 356)
  > 088986a upgrade to latest dependencies (# 355)
  > 9757667 Add header for signifying that requests should not be loadbalanced again (# 354)
  > 0b3dac0 Update common github actions (# 353)
bumping knative.dev/pkg a02dcff...584933f:
  > 584933f Format markdown (# 2022)
  > 84c98f3 remove reflector metrics (# 2020)
  > adbe77d Updates to the release process with 0.20 (# 1982)
  > 448ae65 Metric unit fixes (# 2018)
  > e38bb89 Update common github actions (# 2017)
bumping knative.dev/eventing 7ce8283...ef5f61d:
  > ef5f61d Update common github actions (# 4888)
  > 84b99db jsonDataLimit# 4055 (# 4233)
  > bb87cb1 Use ConfigAccessor's ToEnvVars method (# 4880)
  > 3c090d3 Remove suffix, since it's already in the PDB kind... 💄 (# 4885)
  > 56dbe58 s/Veroute/Version (# 4882)
  > 82130ea upgrade to latest dependencies (# 4883)
  > 24b1685 Setting tracing config for PingSource (# 4877)
  > 71031c0 💄 Updates for kind (newer version and newer images) (# 4879)
  > d8468ca upgrade to latest dependencies (# 4878)
  > 1c771ce Change broker spec to indicate brokerclass should be immutable (# 4827)
  > d7cf344 tracing fixed for apiserversource (# 4842)
  > 1efec2b expose ChannelReference in UnknownChannelError (# 4875)
  > 47d7a02 Update deps (# 4874)
  > 47ee8fa Update common github actions (# 4869)
  > c4e9c3b ut for trigger/broker updates check immutable (# 4843)
bumping knative.dev/serving ebc6584...7aa62c5:
  > 7aa62c5 Reflow the code to follow a better builder pattern. (# 10796)
  > 317d055 Remove the last check for percentage to be nil (which it can't anymore). (# 10797)
  > c6a28b7 Update common github actions (# 10794)
  > 96f41b5 Update net-kourier nightly (# 10790)
  > 47a730e Update net-contour nightly (# 10789)
  > 30ba285 Update net-certmanager nightly (# 10788)
  > 2cbea46 upgrade to latest dependencies (# 10787)
  > 5b94d2c Monday off cleanup: minor brush up of the traffic.go (# 10786)
  > f5d7845 We removed the possibility of traffic target % being nil (# 10785)
  > 0ff5fc4 Drop outdated HPA code regarding concurrency and RPS (# 10782)
  > 4bfc7e5 Unexport some methods (# 10784)
  > 9778deb Fix race in health state (# 10781)
  > ccbfdad A few touchups around the autoscaling tests (# 10780)
  > 20ddcbe Update net-contour nightly (# 10777)
  > 60fd6be Fix up health state tests (# 10779)
  > 395bda9 Update net-kourier nightly (# 10778)
  > af4c914 Refactor scrape client to actually take an HTTP request (# 10766)
  > 9892df5 upgrade to latest dependencies (# 10775)
  > fc68cd8 disable tls (# 10774)
  > ba73ae7 Resume HTTP01 challenge E2E tests (# 10759)
  > 6fcd198 Update net-contour nightly (# 10761)
  > fabcc2a Remove v2 gc folder. There can be only one. (# 10768)
  > eabab7d Update net-certmanager nightly (# 10760)
  > 0f52ebf Update net-kourier nightly (# 10762)
  > 3816201 upgrade to latest dependencies (# 10758)
  > fd9d9f5 Clean up the code in the service test (# 10756)
  > 81e0d61 Update the docs for the traffic package. (# 10757)
  > 13e15fd Hide the things that are private now in effect (# 10755)
  > 56ef7a9 Relax the grace period minival vaue to be any positive value (# 10754)
  > 4211c26 Update net-contour nightly (# 10752)
  > f2373c3 Update net-istio nightly (# 10753)
  > 4cc5d79 Update net-kourier nightly (# 10737)
  > 3e1dd65 Update common github actions (# 10746)
  > 597896d Deep cleaning of the time manipulation in config and revision and other fixes to the codebase (# 10745)
  > c20629d Remove the redundant test setup now there's just one GC (# 10744)
  > 17fb0e0 Change interface to accept time rather than clock (# 10743)
  > be2c890 Restrict the Clock interface to the passive where possible. (# 10742)
  > 19c8d8e Update net-contour nightly (# 10736)
  > 914855f Refactor: remove labeler v2 package (# 10739)
  > 7d57b94 Guarantee that incoming and outgoing request are measured by the same stat (# 10734)
  > 8dfeb7a Update net-istio nightly (# 10716)
  > ed413bf Update net-certmanager nightly (# 10735)
  > 3cb2bea Drop jwt dependency and match token via regex (# 10727)
  > bfba5b0 Only log about service scraping on first transition. (# 10733)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-16 23:43:02 -08:00
Markus Thömmes d647e44938
Upgrade a few assorted dependencies (#1220)
* Update spf13 deps

* Upgrade gotest.tools and correctly use versioned module

* Regenerate docs
2021-02-12 05:55:50 -08:00
knative-automation cbaaf61056
upgrade to latest dependencies (#1216)
bumping knative.dev/serving 8751d91...ebc6584:
  > ebc6584 Avoid deleting a stat if a request raced the reporter (# 10729)
  > c9fc401 upgrade to latest dependencies (# 10732)
  > 68aaa08 Start moving towards k8s standard `Clock` object (# 10731)
  > be32822 Also log the actual diff for easier debugging (# 10730)
  > 230033b Accept 'head' as a parameter for istio version (# 10728)
  > 33bde4d Update net-certmanager nightly (# 10724)
  > 0055bd0 Fix the logic to delete kail log files if the tests pass (# 10723)
  > 5275f50 Update net-kourier nightly (# 10725)
bumping knative.dev/networking e24bdfe...8550923:
  > 8550923 Add a bit more coverage the stat collector (# 352)
bumping knative.dev/eventing 3fcb645...7ce8283:
  > 7ce8283 fix(PingSource)!: event consumer should receive base64-decoded dataBase64 (# 4851)
  > c7a114c Format markdown (# 4857)
  > f777623 Remove Harwayne from OWNERS. (# 4860)
  > f1d55ad remove json-specific logic useless for binary mode (# 4858)
  > 83da202 💄 Latest of kindst image for e2e tests w/ 1.20.2 (# 4854)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-10 15:59:08 -08:00
knative-automation 72aeb1c820
upgrade to latest dependencies (#1207)
bumping knative.dev/hack 8d623a0...8368e1f:
  > 8368e1f guard against set -o unset (# 49)
  > 2b4f6fc disable go's proxy and sumdb only for knative deps (# 47)
bumping knative.dev/networking 8b522a9...e24bdfe:
  > e24bdfe upgrade to latest dependencies (# 350)
  > ab1235e Bump a few assorted dependencies to their latest versions (# 349)
  > 45b7ed1 Add ingress conformance test to ensure we do not add retries (# 348)
  > b61da13 upgrade to latest dependencies (# 347)
  > d2088ff Update common github actions (# 346)
  > c069ad2 Create prober request with context right away (# 344)
  > 342a3fb upgrade to latest dependencies (# 342)
  > 94433ab upgrade to latest dependencies (# 341)
bumping knative.dev/pkg 6040b3a...a02dcff:
  > a02dcff Bump a few assorted dependencies to their latest versions (# 2013)
  > 4b2ae07 Replace deprecated github.com/markbates/inflect with github.com/gobuffalo/flect (# 2014)
  > 8878069 upgrade to latest dependencies (# 2010)
  > c493a9e Update common github actions (# 2009)
  > 6045ed4 Allow setting DisableCompression in NewAutoTransport (# 2007)
  > ca02ef7 Genreconciler properly generates reconciler for Resources with Status (# 2004)
  > 0d31134 Fix nil pointer panic in kvstore (# 2002)
bumping knative.dev/serving e61294b...8751d91:
  > 8751d91 Split the reconcile rollout into its own function (# 10722)
  > 2b95084 Optimize the execution path around logging (# 10720)
  > bbca20f Update net-contour nightly (# 10715)
  > ef39273 upgrade to latest dependencies (# 10719)
  > 6449fb8 upgrade to latest dependencies (# 10717)
  > 45a435a Update net-kourier nightly (# 10706)
  > 2fbef5f upgrade to latest dependencies (# 10713)
  > c4ea4ad Fix the analyzer config for load-testing benchmark since it must have a value (# 10709)
  > 6f46354 Apply k8s default values for readiness probe (# 10700)
  > 8c4b2ff Update net-certmanager nightly (# 10705)
  > b6f618b Update net-istio nightly (# 10704)
  > 390f2c2 bump k8s min in DEVELOPMENT.md (# 10699)
  > f2ccdd5 tests (# 10702)
  > 2090edf Update net-istio nightly (# 10695)
  > 789455d Update net-certmanager nightly (# 10674)
  > 1c61d3b Update common github actions (# 10697)
  > 2bc3650 Update net-kourier nightly (# 10696)
  > 8c64d92 Format markdown (# 10698)
  > 0e77ab2 Update net-kourier nightly (# 10676)
  > dd96a0a Update net-contour nightly (# 10686)
  > 8fbcfb0 Unpin the istio version and temporarily disable the error rate check analyzer (# 10655)
  > 58550fd Avoid adding gzip-encoding to requests implicitly (# 10691)
  > 60cdc35 Move Multi Container test to Beta (# 10683)
  > ae7b278 Update net-istio nightly (# 10687)
  > 7a18f38 Fix some nits in e2e tests (# 10678)
  > 9c572cd Allow to specify build platform for test images (# 10672)
  > 0ee79dd Remove the unsed struct items (# 10684)
  > 29da3af Improve debuggability of SKS logs (# 10679)
  > 8e1d587 upgrade to latest dependencies (# 10682)
  > aef0145 Temporarily disable auto TLS test with HTTP01 challenge  (# 10685)
  > 32b0292 Use lister instead of client to directly get ClusterDomainClaim (# 10677)
  > a19ff15 Update net-istio nightly (# 10675)
  > 6313088 Allow kpa to work with timeout in context (# 10673)
  > af7af61 Perform some test helper cleanup (# 10670)
  > 93d2449 upgrade to latest dependencies (# 10671)
  > 888331e Remove the service name from the internal traffic target object. (# 10669)
  > 1901e4c Use consistent alias for autoscaler v1alpha1 everywhere (# 10666)
  > 1e070a3 Remove context from MakeDecider (# 10657)
  > 452bed5 Further remove usage of the context in the scale runner (# 10653)
  > a1ee2ec bump ggcr & k8schain (# 10651)
  > 81818f9 Fix logging of errors in stats scraper (# 10654)
  > 1b0f43c Hide implementation detail inside a function (# 10652)
  > 756fd17 Update net-istio nightly (# 10648)
  > 6d46d52 Add support for decoding Revision from Host. (# 10647)
  > 01fa1a0 Remove the time computation (# 10645)
  > dbccf2a Do not pass context to the scale, but logger instead (# 10646)
  > ab176fa Rename back to the non deprecated name (# 10640)
  > fae6549 Update net-contour nightly (# 10644)
  > 5cd4f64 Update net-istio nightly (# 10643)
  > fbbbb98 Make route stop using the `DeprecatedServiceName` field (# 10638)
  > bf35e3f 💄 updating the HPAs to v2beta2 API usage (# 10631)
  > 51a9c0b Update net-certmanager nightly (# 10636)
  > e5c5c08 Export MESH env value in test script (# 10635)
  > 4a3274c Remove unused constants, make some other small tidy-ups (# 10637)
  > b083383 fix the broken doc's link (# 10634)
  > aac0df2 Deprecate the service name on the revision. (# 10633)
  > 0aa3d0b Remove the propagation from SKS->PA->Rev.Status of the K8s service (# 10632)
  > db90f4f Update net-contour nightly (# 10597)
  > 981c601 Update net-istio nightly (# 10619)
  > 8922f35 Update net-kourier nightly (# 10599)
  > df11c15 chore: Set background to white for autoscaling diagrams ... (# 10629)
  > f637b5a Remove naked returns (# 10618)
  > 6cde241 Improve rollout test to check duration (# 10625)
  > 7700811 At 100ms we still see failures on prow (# 10626)
  > c081a82 Make the singlethreaded code simpler by using boolean guard (# 10624)
  > 55a7edf upgrade to latest dependencies (# 10627)
  > 53d4d5b Fix some annoying nits in the route e2e tests (# 10623)
  > 2c781c7 upgrade to latest dependencies (# 10620)
  > 6dba44a The year was 2021.. (# 10621)
  > 39d33bf upgrade to latest dependencies (# 10617)
bumping golang.org/x/term 7de9c90...2321bbc:
  > 2321bbc Update doc to use "term" instead of "terminal"
  > ee85cb9 README.md: add badge to pkg.go.dev
bumping knative.dev/eventing ea452b5...3fcb645:
  > 3fcb645 🌀 Remvoing contrib refs (# 4855)
  > f05561d upgrade to latest dependencies (# 4853)
  > 37eaf71 switch Harwayne with antoineco (# 4850)
  > b887ac4 upgrade to latest dependencies (# 4848)
  > daa085d Format markdown (# 4846)
  > 3d51c72 Change trigger spec to indicate assigned broker should be immutable (# 4828)
  > 1774243 Add immutable fields validation to v1beta1 broker (# 4816)
  > 935d5fb Format markdown (# 4840)
  > 269b061 Update common github actions (# 4839)
  > 152e608 upgrade to latest dependencies (# 4841)
  > 8171448 Adding Logline for when a cloudevent has been successfully sent from APIServerSource to the sink (# 4723)
  > fd2688d Use SHOULD for TriggerSpec to keep compatibility (# 4838)
  > 1fa597e [# 4796] Bump golang lint timeout to 10m (# 4830)
  > a4a9f48 Format markdown (# 4829)
  > d58bd38 fix the link to head (# 4826)
  > 39d7a9e remove unused functions (# 4824)
  > 6edcbdd Panic in shared main to propagate error to exit code (# 4820)
  > 012a9bd v1beta1.Trigger delivery should be v1.DeliverySpec (# 4822)
  > 321a839 Format markdown (# 4823)
  > ec63881 Fix spec # 4515 (# 4654)
  > 1528750 upgrade to latest dependencies (# 4818)
  > 9dc57e2 Update common github actions (# 4817)
  > b20c96b sinkbing implement bindable (# 4794)
  > 8d51418 Bump golang linter version and timeout (# 4808)
  > f882ff0 Add availability rate to upgrade test report (# 4555)
  > a6635bb Patch HPA eventing-webhook min replicas (# 4811)
  > d46c1d0 It is already 2021 (# 4809)
  > fb8fbf7 Adding new source conformance testcase for CRD RBAC (# 4787)
  > 1725902 Update COMMUNITY_CONTACTS.md test grid link (# 4798)
  > b75d03a Adding new source conformance testcase for CRD Source Registry Spec (# 4780)
  > 77fc350 upgrade to latest dependencies (# 4797)

Signed-off-by: Knative Automation <automation@knative.team>
2021-02-09 10:04:50 -08:00
David Simansky 1499be95c7
fix: Fix deprecated terminal lib (#1215) 2021-02-05 12:56:03 -08:00
David Simansky 4d97648945
fix: Fix go-openapi/spec replace with correct module (#1213) 2021-02-03 03:25:06 -08:00
Ville Aikas f15f2755d8
update to k8s 0.19.7, go v1.15, fix gnostic (#1206)
* update to k8s 0.19.7, go v1.15, fix gnostic

* oops, did not run ./hack/build.sh

* Fix unit tests that broke because of k8s 1.19 update

* Update asserting in test to adapt to new jsonpath output behaviour

Looks like that strings are quoted now in arrays.

* fix one more assert

Co-authored-by: Roland Huß <roland@ro14nd.de>
2021-01-28 04:35:31 -08:00
knative-automation c503b88be2
upgrade to latest dependencies (#1201)
bumping knative.dev/pkg 32a3248...7101e9d:
  > 7101e9d allow the addressable ducktype to act as an ownerref (# 1999)
  > 250a183 Bump K8s libs to 1.19 (# 1986)
  > 2f4dd35 Switch Webhook to ed25519 and expiration of the certificate to seven days (# 1998)
bumping knative.dev/serving d0a0e38...e61294b:
  > e61294b Implement e2e test for the gradual rollout. (# 10610)
  > ea79db1 Improve test flow (# 10611)
  > c369980 don't add the UID labels since it breaks downgrading (# 10615)
  > 16dc14f Rever the 100ms to 1ms change, since it flakes a lot (# 10609)
  > df43d82 Remove some -1 here and there and compute it once. (# 10604)
  > b6e0ad5 Update net-istio nightly (# 10607)
  > 8e3abe8 Update net-certmanager nightly (# 10598)
  > 4437522 Replace arbitrary short sleeps with short-circuited long sleeps (# 10608)
  > 9c9b7bb Add julz to API reviewers (# 10606)
  > 076d97c Make TestHTTPProbeTimeoutFailure more reliable (# 10605)
bumping knative.dev/eventing 26a3bfa...ff327f0:
  > ff327f0 Expose the function RunMainTest (# 4779)
  > c4a39e2 test(sources): add roundtrip tests for sources v1 types (# 4764)
  > ebd5b0f Allow to specify build platform for test images (# 4763)
  > 7123f45 Use KO_YAML_FLAGS for multi-platform build (# 4770)
bumping knative.dev/networking 4db00b8...8b522a9:
  > 8b522a9 Move TestProbeHeaders tests to stable, TestTagHeaders tests to beta (# 340)

Signed-off-by: Knative Automation <automation@knative.team>
2021-01-24 23:59:54 -08:00
knative-automation 70f1ad7793
upgrade to latest dependencies (#1200)
bumping knative.dev/hack 4422dca...8d623a0:
  > 8d623a0 Use git tag directly in master to get latest version (# 43)
bumping knative.dev/networking b17f435...4db00b8:
  > 4db00b8 upgrade to latest dependencies (# 339)
  > 844666d Update common github actions (# 338)
bumping knative.dev/serving db82b33...d0a0e38:
  > d0a0e38 Add more tests to cover various durations. (# 10603)
  > dde8581 add-anno-test (# 10602)
  > d6c9426 Update net-istio nightly (# 10596)
  > 8eee938 Update documentation for DomainMapping ref field (# 10595)
  > 753fa2e Remove the benchmarks that don't make much sense (# 10588)
  > 935f387 upgrade to latest dependencies (# 10594)
  > 637cb0f Update common github actions (# 10593)
  > 77a7067 Add an accessor to the route to get rollout duration (# 10592)
  > b6f1614 Don't propagate the rollout duration annotation to Configurations and Revisions (# 10589)
  > 6c77ef5 Update net-istio nightly (# 10583)
bumping knative.dev/pkg 1bbf0a6...32a3248:
  > 32a3248 upgrade to latest dependencies (# 1997)
  > 992644a Update common github actions (# 1996)
  > 8cd47b5 drop excess logger properties (# 1993)
bumping knative.dev/eventing 5dc363d...26a3bfa:
  > 26a3bfa upgrade to latest dependencies (# 4766)
  > 1b383e0 Update common github actions (# 4765)
  > d1bac1e use v1beta2 as the storage version of PingSource (# 4750)

Signed-off-by: Knative Automation <automation@knative.team>
2021-01-21 22:41:53 -08:00
knative-automation 90c70efe9e
upgrade to latest dependencies (#1196)
bumping knative.dev/networking 07a8160...b17f435:
  > b17f435 upgrade to latest dependencies (# 337)
  > dcc8744 Remove out-of-date documentation (# 336)
  > 4751606 upgrade to latest dependencies (# 335)
  > 07536a6 Move RewriteHost conformance tests to Beta (# 334)
  > e223a89 upgrade to latest dependencies (# 333)
  > 356d71b upgrade to latest dependencies (# 332)
bumping knative.dev/pkg f0ea5e6...1bbf0a6:
  > 1bbf0a6 add LabelSelector to InformerFactory so that the informers only list and watch resources with the given labels (# 1940)
  > 75d66b5 preserve the stable webhook logger names we had before (# 1994)
  > 22f4898 upgrade to latest dependencies (# 1990)
  > 5bb97df fix duration logging (# 1992)
  > a74906c Use structured logging to augment our logger vs. naming (# 1991)
bumping knative.dev/eventing 1c94ef8...5dc363d:
  > 5dc363d [# 4744] Update conformance test helper (# 4756)
  > 764685c upgrade to latest dependencies (# 4761)
  > b10d720 [# 4744] Bump test zipkin version (# 4755)
  > 2b95f45 upgrade to latest dependencies (# 4747)
  > d395f6f Cleanup channel template internal types (# 4749)
  > 8e0e286 💽 Change KIND's k8s to 1.19.4 and add 1.20.0 (# 4729)
  > 0f2f567 Format markdown (# 4746)
bumping knative.dev/serving 84421cd...db82b33:
  > db82b33 Backfill missing test (# 10585)
  > 7dc411c Update net-kourier nightly (# 10584)
  > 197b97f upgrade to latest dependencies (# 10582)
  > 76e9ba5 Update net-kourier nightly (# 10578)
  > 11f0b4b Add validation to the route and service annotations for rollout duration (# 10581)
  > 44bd297 Update net-istio nightly (# 10577)
  > 2488c73 Use more consistent constant name (# 10580)
  > 2ed1f20 rename configUID to configurationUID to be consistent with the other labels (# 10579)
  > 4a7c82a Update net-contour nightly (# 10573)
  > dab32d1 Update net-kourier nightly (# 10572)
  > 404ef98 upgrade to latest dependencies (# 10576)
  > da1db84 Allow setting ReadOnlyRootFilesystem (# 10560)
  > 5fbe2f1 upgrade to latest dependencies (# 10574)
  > 3177cc7 Add a serviceUID label to ksvc (and implicitly to config) (# 10539)
  > 59e35cd Add the new annotation for the rollout duration and its validation (# 10561)
  > b7a7c18 Drop logger annotations (# 10570)
  > 078edf2 Be consistent in reading revision headers (# 10563)
  > 8509e6e Fixed comment about autoscaler logging config override (# 10569)
  > b5cd2eb Update net-contour nightly (# 10565)
  > a8c2dae Update net-certmanager nightly (# 10564)
  > 3135ad4 upgrade to latest dependencies (# 10568)
  > 80321c4 Update net-kourier nightly (# 10552)
  > cb128a4 Update net-istio nightly (# 10550)
  > 66389d3 Cut down queue health tests from 2s to basically nothing (# 10556)
  > fbd3968 Cut down the probe test runtime from 18s to 3s (# 10546)
  > 9b69859 Widen timeouts for queue probe tests to harden them (# 10555)
  > 9979954 upgrade to latest dependencies (# 10562)

Signed-off-by: Knative Automation <automation@knative.team>
2021-01-21 07:14:53 -08:00
knative-automation 2cb77f6c56
upgrade to latest dependencies (#1188)
bumping knative.dev/eventing a414aee...1c94ef8:
  > 1c94ef8 Add event reply header to spec (# 4560)
  > 056bc25 Add Open Telemetry Spec attributes to IMC Dispatcher span (# 4659)
  > 6d76c44 try using hack wait for pods (# 4741)
  > d74dc25 Format markdown (# 4740)
  > 1897543 [# 4717] Update e2e broker defaults webhook test (# 4720)
  > c5b9eeb Unify usage of YAML libraries (# 4667)
  > 2e96fd0 Now the config-imc-event-dispatcher values are injected to the dispatcher through envs (# 4543)
  > 05a3a27 note that these only pertain to this repo (# 4733)
  > 21d91e4 Format markdown (# 4734)
  > 47d9937 Update spec.md with v1 API (# 4594)
  > 343dec3 Use the v1 api package... (# 4727)
  > ff5109d re-submit # 4707 (# 4730)
  > b1882d6 [# 4721] Update e2e broker default webhook test (# 4722)
  > 7d12333 Disabling servicelinks in all the components (# 4714)
bumping knative.dev/networking ecb89ce...07a8160:
  > 07a8160 upgrade to latest dependencies (# 331)
  > 4c4c237 Add config to disable auto-creation of domain claims (# 330)
  > 3a89509 As per discussion with @mattmoor keep drainer in pkg (# 329)
  > c30dc94 Use symlink for testdata version of config-network.yaml (# 328)
bumping knative.dev/hack 4ed1ecb...4422dca:
  > 4422dca Set GOBIN in codegen-library.sh (# 44)
  > d946d25 Revert "Add hermetic go mod aware handling to run_go_tool (# 38)" (# 39)
  > ea9c9a0 Add hermetic go mod aware handling to run_go_tool (# 38)
bumping knative.dev/serving 560a4f6...84421cd:
  > 84421cd Shutdown processor to avoid log races (# 10544)
  > e402e8e Remove the old constant since the new one has been since August 2020 (# 10559)
  > 89cbb09 Nits in the code formatting (# 10558)
  > c06ee54 Move the functions that have only single use to the private package (# 10541)
  > cf06222 Remove activator/util package (# 10557)
  > 95c699b Update net-certmanager nightly (# 10551)
  > bcbaa8e Update net-contour nightly (# 10553)
  > c865fa5 Un-export WithRevID, RevIDFrom, WithRevision, RevisionFrom (# 10549)
  > 824e336 Cut down queue-probe test time from 3s to .5s (# 10548)
  > 725cbe9 Fix wrong file permission (# 10543)
  > e07174d Use explicit revID parameter in Throttler (# 10545)
  > 454fd7c Allow disabling of automatic DomainClaim creation (# 10537)
  > 1f95e13 Remove comment about recreation of the autoscaler pod in config-logging (# 10542)
  > 0f2d350 swap dates with tcnghia (# 10529)
  > 156f8a4 upgrade to latest dependencies (# 10538)
  > c886a22 Simplify and optimise proxy header pruning (# 10535)
  > 7602d81 Remove backwards compatibility check in KPA (# 10534)
  > d28e461 Sanitize probe header value written by user before response (# 10533)
  > e2c6836 Ensure step size is validated and add tests (# 10532)
  > ca1ac91 Update net-istio nightly (# 10524)
  > 3ec271c Improve performance a bit by using binary search (# 10531)
  > 8f213d9 Report first and second revision metrics separately and deleted old rev. (# 10518)
  > 457be78 Update net-contour nightly (# 10523)
  > a295b6d Update net-certmanager nightly (# 10522)
bumping knative.dev/pkg 51c72e2...f0ea5e6:
  > f0ea5e6 Use special error type to designate skips. (# 1988)
  > acbf2af Harden logstream against non-object events (# 1984)
  > 93874f0 Drainer supports customized kubelet probe check (# 1977)

Signed-off-by: Knative Automation <automation@knative.team>
2021-01-14 22:55:20 -08:00
Navid Shaikh 174e41b628
client release v0.20.0 prep (#1189)
* Update deps for release v0.20.0

* Update version command

* Update CHANGELOG

* Run tests against serving and eventing v0.20.0

* Run tests against serving and eventing v0.20.0
2021-01-14 01:19:32 -08:00
knative-automation c795f2131d
upgrade to latest dependencies (#1183)
Signed-off-by: Knative Automation <automation@knative.team>
2021-01-10 23:28:37 -08:00
knative-automation 8a4ab8fc84
upgrade to latest dependencies (#1180)
Signed-off-by: Knative Automation <automation@knative.team>
2021-01-05 20:24:56 -08:00
knative-automation f3c8fdd1c5
upgrade to latest dependencies (#1178)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-22 23:56:04 -08:00
knative-automation 809f925a0c
upgrade to latest dependencies (#1177)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-21 00:14:03 -08:00
knative-automation 5a0e79a357
upgrade to latest dependencies (#1176)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-17 21:02:02 -08:00
knative-automation 9234ef146c
upgrade to latest dependencies (#1174)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-16 21:40:02 -08:00
knative-automation 5e92aa32ea
upgrade to latest dependencies (#1171)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-16 06:08:59 -08:00
knative-automation 1bb08ff024
upgrade to latest dependencies (#1170)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-15 21:18:58 -08:00
knative-automation 07b2878eec
upgrade to latest dependencies (#1169)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-14 22:42:43 -08:00
knative-automation 6ba7d6c303
upgrade to latest dependencies (#1168)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-13 20:25:43 -08:00
knative-automation 12e8eae6fd
upgrade to latest dependencies (#1166)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-09 18:31:41 -08:00
knative-automation 03d8236b62
upgrade to latest dependencies (#1164)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-04 02:59:09 -08:00
knative-automation fb594e76c5
upgrade to latest dependencies (#1159)
Signed-off-by: Knative Automation <automation@knative.team>
2020-12-01 22:18:51 -08:00
knative-automation b1fd1875b6
upgrade to latest dependencies (#1155)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-29 23:35:36 -08:00
knative-automation 2941816951
upgrade to latest dependencies (#1145)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-26 06:49:35 -08:00
knative-automation 354257e64c
upgrade to latest dependencies (#1139)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-25 07:10:35 -08:00
knative-automation 861f63d406
upgrade to latest dependencies (#1137)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-24 21:15:35 -08:00
knative-automation 14bc2ddf42
upgrade to latest dependencies (#1126)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-24 11:12:43 -08:00
knative-automation 4539ee8f33
upgrade to latest dependencies (#1123)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-17 22:30:51 -08:00
knative-automation 10128901aa
upgrade to latest dependencies (#1120)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-17 06:32:52 -08:00
Roland Huß ff52ca0669
Update version dependency to 0.19 + update version command (#1111) 2020-11-11 07:10:59 -08:00
knative-automation e8b26e182a
upgrade to latest dependencies (#1103)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-09 20:23:58 -08:00
knative-automation 5787e95e9c
upgrade to latest dependencies (#1091)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-05 22:12:07 -08:00
knative-automation 3614bd6b64
upgrade to latest dependencies (#1088)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-03 08:47:04 -08:00
knative-automation 8a0067dc6b
upgrade to latest dependencies (#1085)
Signed-off-by: Knative Automation <automation@knative.team>
2020-11-03 02:01:04 -08:00
Roland Huß 8ca97c7920
Feature: "kn service apply" (#964)
* feat: "kn service apply"

This commit introduces a client-side apply with a plain JsonPatchMerge. This is more limited than a StrategicPatchMerg as it does not allow to merge lists (they are just overwritten). Also is not a real 3-way merger that would lead to a conflict when both the, the server-side and the provide update overlapp in fields that updated, compared to the shared original configuration. This is a problem of  JsonThreeWayMerger itself, as pointed out in https://github.com/kubernetes/kubernetes/pull/40666#pullrequestreview-502804243.

This limitation is shared with kubectl, which suffers from the same issue if using `kubectl apply` with a custom resource (i.e. with everything that has schema that is not registered within kubectl).

Tests are missing, too, but will come soon

* chore: Add tests for 'kn apply'

* refactor: Removed PatchService from pulic API interface

* fix: Display of service URL at the end, when no changes apply

* chore: Add initial E2E test

* chore: Implemented review suggestions

* More tests
* Example for kn service apply
* Remove commented-out code

* lint fixes

* fix formatting of kn service apply doc

* fixing go.sum

* chore: Update deps
2020-11-02 00:36:35 -08:00
Scott Nichols d1552ee0a3
updating to use the hack repo (#1084)
* updating to use the hack repo

* eof

* you need to run update deps after codegen to pick up any new deps.

* do not reinvent update-deps.

* must be winter
2020-10-30 11:41:35 -07:00
Navid Shaikh ad4a7b18a2
Pin deps back to master (#1082)
* Update autoscaling annotation validation

 see ref: https://github.com/knative/serving/pull/9496

* Replace DeprecatedInjectionAnnotation with InjectionAnnotation

* Vendor deps at master

* Use context.TODO instead of context.Background
2020-10-30 08:15:35 -07:00
Matt Moore 24e7f50dfb
upgrade to latest dependencies (#1062)
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-10-15 14:26:56 -07:00
Roland Huß 878b037c16
Fix for test flake when sync waiting and an intermediate error occurs (#1052)
* fix: Cancel error timer on sync wait when a non-error event arrives

* chore: Added
2020-10-08 05:30:21 -07:00
Zhimin Xiang 574327f7db
Ping serving and eventing to release-0.18 (#1033) 2020-09-29 22:41:28 -07:00
Matt Moore 0bf9aa4746
upgrade to latest dependencies (#1028)
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-29 03:32:28 -07:00
Zhimin Xiang 9b210e3be1
[Release-0.18] Pin knative deps to release-0.18 (#1025)
* Pin pkg to release-0.18 version

* ./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh

* bump k8s version to 1.18.8

* Fix the brokerage of importing latest serving

* exclude script/test-infra md from md check
2020-09-23 11:58:41 -07:00
Roland Huß a01861b1f3
Add support for internal plugins (#902)
* chore: Add support for internal plugins

* added test for internal plugin lookup

* add changelog entry

* fix formatting

* update to latest changes on main

* Added more tests + some docs

* formatting fix

* moved to proper injection label for setting up the broker in integration test
2020-08-25 04:34:48 -07:00
Navid Shaikh c39025f7ca
Vendor serving and eventing at v0.17.0 (#984)
* Vendor serving and eventing at v0.17.0

* Update version commmand output

* Run latest release e2e tests against serving/eventing v0.17.0
2020-08-20 03:22:13 -07:00
Adam Harwayne eda276b8a3
Pin knative/pkg to release-0.17 (#976)
* Pin pkg to release-0.17 branch.

* hack/update-deps.sh --upgrade

* Update hack/update-deps.sh for the test-infra section.

* hack/update-deps.sh --upgrade
2020-08-11 12:23:05 -07:00
Matt Moore 49a552f155
[master] Auto-update dependencies (#950)
Produced via:
  `./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh`
/assign maximilien rhuss
/cc maximilien rhuss
2020-08-04 13:19:28 -07:00
Matt Moore 7965358b58
[master] Auto-update dependencies (#936)
Produced via:
  `./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh`
/assign maximilien rhuss
/cc maximilien rhuss
2020-07-24 15:15:58 -07:00
Navid Shaikh 8232c9d16b
Upgrade spf13/cobra dep to current master (#944)
* Pin spf13/cobra dep at b95db644ed1c0e183a90d8509ef2f9a5d51cc29b

 which includes the zsh completion fix for https://github.com/spf13/cobra/pull/899
 and remove the fork of cobra with fix in `replace` section of go.mod

* Parse args without invoking a separate command

 Do not define and execute extractCommand before running actual root
 command to parse all the args without flags. This was creating issues
 with completion utils to generate additional shell completion directive.
 Now uses cobra's inbuilt utilities to parse the command args without flags.

* Return error from stripFlags if any

* Update unit tests
2020-07-22 14:46:57 -07:00
Navid Shaikh 217a813344
Track floating deps at master (#932)
* Track floating deps at master

* Update kn version command
2020-07-15 07:42:32 -07:00
Navid Shaikh f91fb57f9a
kn v0.16.0 release prep (#922)
* Update unit test for invalid concurrency target value

* Vendor v0.16.0 eventing and serving

* Commit the LICENSES generated by hack/update-deps.sh

* Spare third_party dir from license check in hack/build.sh

* Update eventing and serving version for 'kn version'

* Use DeprecatedInjectionAnnotation key for backward compatibility

  Fixes #918
  Use DeprecatedInjectionAnnotation, i.e. "knative-eventing-injection"
  for reconciling broker via namespace labeling and trigger annotations.

  From eventing v0.16.0 release, this key is changed to "eventing.knative.dev/injection"
  however, older eventing installation wont recognize it. So we continue
  using the deprecated key until the sugar-controller would support reconciling
  on either keys.

* Fix(kn version): Display eventing.knative.dev at v1beta1 version

 We've been showing 'v1alpha1' in kn version while we actually
 vendor and refer v1beta1 for eventing.knative.dev

* chore(e2e): Run tests against serving/eventing v0.16.0 release

* Update test for concurrency-target to expect new error message

 the new error message for incorrect concurrency-target value contains "should be at least 0.01"

* Setup sugar-controller for released eventing version setup

 - reuse knative_setup util from common lib for latest-release CI setup

* Fix typo in YAML URL and add subheader for sugar-controller install
2020-07-10 10:41:19 -07:00
Murugappan Chetty f869b44d66
add kn export type (#856)
* add kn export type

* add kn export type

* add kn export type

* Update pkg/apis/client/register.go

Co-authored-by: Matt Moore <mattmoor@vmware.com>

* e2e test for kn export type

* e2e test for kn export type

* add new type for kn export

* rebase

* rebase

Co-authored-by: Roland Huß <rhuss@redhat.com>
Co-authored-by: Matt Moore <mattmoor@vmware.com>
Co-authored-by: Roland Huß <roland@ro14nd.de>
2020-06-18 02:33:25 -07:00
Dave Protasowski dfd65db9ab
bump k8s packages to 1.17.6 (#881)
* add script to bump k8s deps

* bump k8s to v1.17.6
2020-06-08 15:30:32 -07:00
Roland Huß 2a42ee1a33
chore: Move from Eventing v1alpha1 to v1beta1 (#878) 2020-06-08 05:42:19 -07:00
Roland Huß 3a242c7604
chore: Unpin dependencies to follow master again (#870)
Reset version to "master" and update-deps.sh --upgrade after branching off for release-0.15
2020-06-02 08:02:17 -07:00
Roland Huß fc6f379d94
chore: Preps for release 0.15.0 (#869) 2020-06-02 03:35:17 -07:00
Roland Huß 93c58d294d
chore: Pinning to k8s version 0.16.4 like Knative serving/eventing does (#857) 2020-05-26 23:58:59 -07:00
Markus Thömmes 4ba1cca91e
Update dependencies, pin k8s deps. (#855) 2020-05-26 00:39:49 -07:00
Roland Huß c41e9fd923
chore: Update changelog for 0.14.0 (#820)
* chore: Update changelog for 0.14.0

* chore: Tune wording in Changelog.adoc

* chore: Update to eventing 0.14.1 and fixed `kn version`
2020-04-21 23:36:40 -07:00
Roland Huß df9278743b
chore: Update to Knative serving/eventing 0.14.0 (#810)
* chore: Update to Knative serving/eventing 0.14.0

and also move ApiServerSource to v1alpha2, adapting the option
(from "controller" to "labelSelector")

* fix go.sum

* chore: Update and fix tests

* chore: fix go.sum
2020-04-16 14:27:48 -07:00
Navid Shaikh b7a2a09085
Pin serving to v0.13.2 and update version command (#797)
* Pin serving v0.13.2 dep to v0.13.2

* Update version command

 now points to serving v0.13.2 and eventing v0.13.6

* Copy go.sum as generated in CI
2020-04-14 01:26:15 -07:00
Matt Moore f4c96ef558
[master] Auto-update dependencies (#791)
Produced via:
  `./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh`
/assign maximilien rhuss
/cc maximilien rhuss
2020-04-13 02:10:10 -07:00
Matt Moore a9c2e4bfe9
[master] Auto-update dependencies (#784)
Produced via:
  `./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh`
/assign maximilien rhuss
/cc maximilien rhuss
2020-04-08 02:43:01 -07:00
Matt Moore a7ec5209dc
[master] Auto-update dependencies (#781)
Produced via:
  `./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh`
/assign maximilien rhuss
/cc maximilien rhuss
2020-04-06 07:36:19 -07:00
Matt Moore 2e4ff2be4c
[master] Auto-update dependencies (#776)
Produced via:
  `./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh`
/assign maximilien rhuss
/cc maximilien rhuss
2020-04-03 12:08:18 -07:00
dr.max df78b8b40c
(refactor) address the e2e extract / refactor of issue #763 (#765)
* (refactor) address the e2e extract / refactor of issue #763

* various updates to address reviewers feedback

* renamed lib/test/integration to lib/test and package to test
2020-04-01 09:21:18 -07:00
Chi Zhang bedfa99b83
update test-infra to pick up the fix (#759) 2020-03-24 12:56:10 -07:00
Roland Huß 1f5a1b8566
chore: Update dependencies on to serving and eventing (#756)
The check of the maximum for concurrency-limit had to be removed as
this is picked up now also from the server side configuration
to which we don't have access. Checking against the default
max is misleading and contra-productive if this could be
different when configured differently by the Knative administrator.
2020-03-24 09:19:09 -07:00
Navid Shaikh 2fcf5adbbe
chore: Update test-infra (#742) 2020-03-17 06:48:31 -07:00
Roland Huß 46d5e60e42
refactor(source): Update to Knative eventing 0.13.0 (#705)
* chore(e2e): Optimized tests

Smoke Tests now run before the E2E tests, but in the same cluster

* chore: Removed unneeded test

* fix

* fix

* fix

* fix

* chore: Update to serving & eventing v0.13.0

* refactor(source): Update to Knative eventing 0.13.0

* Moved to "sources.knative.dev" API group
* Replaced CronJobSource with PingSource (and removed unsupported options for service account, requests limits)
* Move to versions:
  - SinkBinding v1alpha2
  - PingSource v1alpha2
  - ApiServerSource v1alpha1

* update to eventing 0.13.1

* go.sum fix

* fixed test

* test updates

* try to enhance error output

* fix test.

* update tests infra to 0.13.1
2020-03-06 13:47:27 -08:00
Navid Shaikh 136de19775
Re-enable markdown link check (#693)
* Re-enable markdown link check

 As https://github.com/raviqqe/liche/issues/33 is now fixed

* Update test-infra to latest
2020-03-03 09:22:53 -08:00
Roland Huß a220a88534
chore(e2e): Refactor to better track errors (#667)
* chore(e2e): Refactor e2e to better track errors

* Collect results from various `kn` calls to
  provide the context
* Changed sub-Run() commands to t.Log() to reduce
  the log noise and get file + line information
  in the log output
* Removed any Fatal() calls to allows the test
  to properly finish
* Only output via t.Log() to get the output at the
  proper places and allow Prow to better pick
  up the test results.
* Most important: EMOJIS !! 🦆🦆🦆🦆🦆

* chore(e2e): Add more dumpers

* Moar debug
2020-02-16 23:52:10 -08:00
Roland Huß 1b9a76bc31
feature(serving): Update API to serving.knative.dev/v1 (#640)
* feature(serving): Update API to serving.knative.dev/v1

Due to an issue with 0.12.0 (a missing constant) the update also includes an update
to the latest knative-serving  and knative-eventing dependencies from master
(as reflected in version.go)

Signed-off-by: Roland Huß <roland@ro14nd.de>

* fix(serving): Bogus import removed

* fix(serving): Add missing go.sum entry
2020-02-07 02:03:14 -08:00
Roland Huß 0e5d1a86c8
chore(e2e): Update dependency to eventing v0.12.0 (#628)
* chore(e2e): Update dependency to eventing v0.12.0

* chore: update infa script dependencies

* chore: Update testinfra dep
2020-01-31 02:20:28 -08:00
Roland Huß 599f1a5203 chore: Update k8s dependencies and cleaned up a bit (#622)
* chore: Update k8s dependencies and cleaned up a bit

* chore: Moved to k8s 1.16.4 like for serving & eventing

* fix: Add missing go.sum line
2020-01-22 04:57:23 -08:00
Navid Shaikh 8c417c1226 Vendor serving v0.12.0 (#618)
- Vendor serving release v0.12.0
 - Update `kn version command` to print serving v0.12.0
 - Update latest release e2e tests script to setup serving v0.12.0

Co-authored-by: Roland Huß <rhuss@redhat.com>
2020-01-22 00:48:23 -08:00
Scott Nichols 9fd763e5dd migrate to the new eventing legacy client (#621)
* migrate to the new eventing legacy client

* ran go mod tidy

* found the ./hack/build.sh file and ran it.
2020-01-21 23:15:23 -08:00
Navid Shaikh fc488d98c2 Update test-infra: Eventing nightly release YAML rename (#610)
per d5990f0e5a
2020-01-16 11:25:04 -08:00
Roland Huß 0ca6f14d4a feature(source cronjobs): Implementation of CronJobSource management (#542)
* feature(source cronjobs): Implementation of CronJobSource management

Contains create/delete/update/describe but not tests yet.

Still todo:

* Think how to provide a namespace for the sink
* Support for more sinks
* Synchronous mode for create & update
* Add list (or implement "source list")

* chore: Add a mock test for cronjob source

* addd missing license headers

* cosmetic changes

* chore(cronjobsource): Add tests

* fixup

* chore(cronjob source): Improved test coverage

* chore(cronjob source): some review polishing
2019-12-13 01:27:53 -08:00
Navid Shaikh 4128022fb7 Update deps using go 1.13 (#535)
- Commit results of codegen using go 1.13
 - Update DEVELOPMENT.md to mention go 1.13
2019-12-11 02:38:49 -08:00
Navid Shaikh f0a40d1b4b Vendor eventing v0.11.0 and run tests against it (#546)
- Pin contrib.go.opencensus.io/exporter/stackdriver@59d068f8d8ff5b653916aa30cdc4e13c7f15d56e
 - Pin knative.dev/pkg@release-0.11
 - Move `Destination` from (knative.dev/pkg) v1alpha1 to duckv1beta1
 - Run tests against Eventing v0.11.0
2019-12-11 00:21:48 -08:00
Navid Shaikh 4f0eb99f8e Vendor serving v0.11.0 and run tests against it (#545)
* Vendor serving v0.11.0

* Run tests against serving v0.11.0
2019-12-10 21:14:48 -08:00
Navid Shaikh ed25066cf6 Eventing setup in CI (#538)
* Eventing setup in CI

  - Update test-infra
  - Use library functions for setting up released and latest Eventing
  - Set up Eventing 0.10.2 and nightly release in `latest-release` and default e2e tests CI job respectively

* Fix typo in variable name and update formatting
2019-12-06 10:39:40 -08:00
Adriano Cunha 556f457e06 Update test-infra (#529)
Major changes:
* fix monitoring install function
* fix build tests not failing on module updates
2019-12-03 10:27:35 -08:00
Naomi Seyfer e07b5a98b5 In waiting for ready, watch falls back to polling. (#491)
* Fall back to polling-based watcher

* Tests pass, much cleaner

* tests and fixes for polling watcher

* Clean up a lil

* lint

* Nits

* build -u
2019-11-19 22:48:08 -08:00
Adriano Cunha 764e8c933e Update vendor/knative.dev/test-infra (#503) 2019-11-15 09:54:02 -08:00
Ying Chun Guo d66887a310 Add dependencies to Eventing 0.9.0 (#470) 2019-11-12 00:41:22 -08:00
Roland Huß ad02647ddc chore: Update to k8s 1.15.5 and fixing go.sum error (#493) 2019-11-11 02:00:20 -08:00
Roland Huß 07743f8dab chore: Update testing infrastructure (#488) 2019-11-07 06:29:56 -08:00
Roland Huß d8d0192206 chore: Update to Knative Serving 0.10.0 (#474)
* chore: Update to Knative Serving 0.10.0

* chore: Add missing dep, introduced by codegen test (when installing goimports)

* added missing target dir
2019-11-04 13:02:19 -08:00
Navid Shaikh dd5b05cd42 Updates spf13/cobra dep to v0.0.5 (#443)
* Updates spf13/cobra dep to v0.0.5

 Fixes #426

 - and a couple of patches on top which aren't merged yet
 	- spf13/cobra#884
	- spf13/cobra#899
 - also updates viper to 1.4.0

* Updates to go.sum

* Updates go.mod

 as a result of `go install golang.org/x/tools/cmd/goimports`
2019-10-30 03:31:11 -07:00
Navid Shaikh a32f5666b5 Vendors serving v0.9.0 (#458)
* Vendors serving v0.9.0

* Updates references per serving v0.9.0 vendoring

 - Updates code and tests to refer the required data structure and method/function calls
 - duckv1beta1 -> duckv1 conditions
 - traffic percent value is now *int64
 - containerConcurrency validation method relocation

* fix(golint): exported function should have comment

 for NonReadyConditionReason function

* Updates check for removing null targets

 fixes the pointer value check

* Updates per review comments
2019-10-27 22:22:36 -07:00
Navid Shaikh 73dfd21d21 chore: go mod tidy updates (#450)
Generated by
 ```
 go mod tidy -v
 ```

 Fixes #449
2019-10-16 12:57:15 -07:00
Navid Shaikh 419678a4b8 Updates YAML transitive dependency to v2.2.4 (#448)
As per title, just to make sure we're not vulnerable to CVE-2019-11253.
 See kubernetes/kubernetes#83253.
2019-10-15 14:36:15 -07:00
Navid Shaikh 10f981ccaa Ensures kn cross platform build works in presubmit tests (#385)
Fixes #364

 - Ensure kn cross platform build works in pre-submit tests
 - Run ./hack/build.sh -x after running existing pre-submit tests
 - defines a function post_build_tests to invoke cross platform builds
 - post_build_tests will be run by test-infra after build tests are compelete
2019-08-26 10:59:17 -07:00
Naomi Seyfer 25c726453e Update serving dependency to 0.8; change all import paths (#368)
* Update serving to 0.8. Try building.

* Find the right serving version

* Change our own import path to knative.dev to match

* Remove dependency on old version of client

* Update yaml template

* Add sleep to test to deal with race

* fix merge conflict

* Update vendor modules
2019-08-15 18:09:08 -07:00
Roland Huß b4b254f64c feature(service describe): Output of service details (#252)
* feature(service describe): Output of service details

`kn service show` mimics `kubectl describe <sth>` as that it output detail information in human readable output.

A future extension should add machine readable output with `-o` to export
a single object in json/yaml (that is missing from `kn service list`)

This command shows information about the service itself, but also a summary about the associated revisions.

It also knows about scaling and concurrency options.

Options:

`--details`    : Print more information. By default only are shorter summary is shown

* chore: Cleanup up and refreshed dependencies

* fix(service describe): Integration test fix (revert "show" to "describe")

* fix: go.sum

* fix go.sum

* feature(service describe): Add printing of resources (requests/limits) + machine readable output with -o

* chore(service describe): Simplified digest handling

* chore(service describe): Sort maps by key when printed

* chore: Adapt mock framework

* chore(service describe): Test fixes

* chore: Added some tests

* more tests

* test: Moar tests

* chore: Even moar tests

* more, more tests

* changelog update

* fix(service describe): golint fixes
2019-08-08 08:23:56 -07:00
chaodaiG 9f203f2d4d Use knative.dev/test-infra (#319) 2019-07-31 03:20:43 -07:00
Roland Huß 55073029b4 fix(build): Minor build optimizations (#265)
* Check that every generated file has been regenerated for CI
* No color when not on a tty which is useful for build logs
* Always do updates when called without args
* Removed -u option and added -c for codegen only (dep update, docs gen, formatting, license check)
2019-07-15 13:21:27 -07:00
Roland Huß 98184eafbc refactor(serving): KnClient interface for single point of cluster access (#134)
* fix(serving): Remove hardcoded GVK and look it up from schema

Fixes #133.

* chore(serving): Add test for "WaitForService()"

* refactor(service): Add listRoutes() to client + generic way for list options

* chore(serving): Fixing rebase conflicts
2019-07-08 10:08:34 -07:00
dr.max 500b7d1371 fixes(issue #111) generically for all command groups (#218)
Explores all sub-commands from root and adds a RunE for all
commands that are groups with child commands and without a RunE.
The added RunE will return the correct errors when the command
is called with empty sub-command or with an unknown sub-command.
It will also print the command help message first.

Added a gotest.tools test for root.go.
2019-07-02 23:50:32 -07:00
Roland Huß a60d273d82 feat(build.sh): Enable goimports + cleanup imports in source files (#186)
* feat(build.sh): Enable goimports for cleanup imports + cleanup imports

Much like 'go fmt' for cleaning up go source, 'goimports' can help
in properly formatting and grouping imports. See https://goinbigdata.com/goimports-vs-gofmt/
for a quick overview.

This commit also cleansup imports on existing files.

* fix(build): Add missing space for output on iterm

* chore(build): Merged gofmt and goimports

And changed order so that formatting and import reordering comes
before compiling and testing
2019-06-28 06:30:08 -07:00
Chi Zhang 483979bba4 Fix the periodic CI flow error in client (#200)
* hack the emitmetrics flag

* update test-infra
2019-06-27 09:53:07 -07:00
Navid Shaikh d25ea5f1e7 Renames service 'get' to 'list' (#179)
* Renames service 'get' to 'list'

 As per title.

* Renames get references to list in e2e tests

* Replaces get to list in docs
2019-06-13 13:56:43 -07:00
dr.max 0800d7c4d3 Regroups code to use subpackages. Finishes issue #66 (#145)
Creates four subpackages for now:

1. kn/commands - inludes types.go for common
   struct and other common files and misc commands
2. kn/commands/service - all 'kn service *' commands
3. kn/commands/revision - all 'kn revision *' commands
4. kn/core - contains the root.go and other top level
   for code and testing
5. refactors:
   a. split .../commons/human_readable_flags.go into three
   b. modifies the HumanReadableFlags.ToPrinter to get pass
      a function that sets the columns and fields

Had to refactor all tests to avoid cycles.
2019-06-05 16:30:38 -07:00
Joyce Liu 43061af74a Update test-infra to the latest version (#154) 2019-05-31 17:41:33 -07:00
Joyce Liu cf41ab2b73 update test-infra in vendor (#148) 2019-05-29 11:46:31 -07:00
Roland Huß c10092ffae fix: Update cli-runtime to include fix for cli options help (#137)
The update to kubernetes-1.13.5 for cli-runtime introduces a fix for #135 (i.e. sorting the keys for the options)
2019-05-21 09:54:27 -07:00
Roland Huß 52b6b236fe Update to serving 0.6.0 (#129)
* chore: Update to 0.6.0

* chore: Fix test

* chore: Update modules.txt
2019-05-20 10:41:27 -07:00
Adriano Cunha 8bb85c6aed Fix auto releases of Knative Client (#124)
This requires updating test-infra to deal with a repo that has no releases yet.

Also use hash and dates from the helper, to keep the binary and the GCS dirs in sync.
2019-05-17 14:40:16 -07:00
Adriano Cunha 9ec9671b2e Setup release infrastructure for Knative Client (#115)
Just like the other Knative modules, and ready for automation.

Requires updating test-infra to the latest version.
2019-05-16 10:51:17 -07:00
Adriano Cunha c33b1de89a License checking works now, enable it (#98)
* License checking now works, enable it

* Update test-infra

* Update vendored test-infra
2019-05-09 14:51:38 -07:00
dr.max 95808278d4 Adds Cobra generated docs and means to generate them and first cut of other docs (#93)
* Added Cobra generated docs and ways to generate them

* Adds docs/README.md and first user's guide for Kn
2019-05-06 17:39:36 -07:00
Roland Huß 18ae474c77 chore: Update dependencies (#68)
* chore: Update dependency to knative-serving 0.5.1

* chore: Changed deps to released versions where possible

Rebuilt mod deps and vendor dir based on this dependency list

github.com/knative/serving v0.5.
github.com/knative/pkg v0.0.0-20190330001454-aad7a9ad4639
github.com/mitchellh/go-homedir v1.1.0
github.com/spf13/cobra v0.0.3
github.com/spf13/pflag v1.0.3
github.com/spf13/viper v1.3.1
k8s.io/api kubernetes-1.14.1
k8s.io/apimachinery kubernetes-1.14.1
k8s.io/cli-runtime kubernetes-1.14.1
k8s.io/client-go v11.0.0
sigs.k8s.io/yaml v1.1.0

Not sure if all dependencies are required (e.g. is k8s.io/api required
to be specified explicitely or shouldn't we rely on k8s.io/client-go
to bring it this as a transitive dependency which maches always
the cli-runtime's version.

* chore: Update .gitignore to *not* ignore certain vendor files

* chore: Aligned with k8s version from serving 0.5.2

* chore: Run `go mod tidy`

* chore(modules): Update dependencies
2019-04-30 09:48:33 -07:00
dr.max dd4e2a917b Added support for limits and requests of CPU and memory (#78)
* Added support for limits and requests of CPU and memory. Examples:
1. kn service create mysvc --image dev.local/ns/image:latest --request-cpu 100m --requests-memory 64Mi
2. kn service create mysvc --image dev.local/ns/image:latest --limits-cpu 1000m --limits-memory 1024Mi

You can also include and/or omit the requests and limits. So the following should also work:
kn service create mysvc --image dev.local/ns/image:latest  --request-cpu 1000m --limits-memory 1024Mi

* Addressed comments about maintaining existing requests and limits and added more tests
* TestServiceCreateWithRequests
* TestServiceCreateWithLimits
* TestServiceCreateRequestsLimitsCPU
* TestServiceCreateRequestsLimitsMemory
* TestServiceCreateRequestsLimitsCPUMemory

* updating dependencies and formatting tests code
2019-04-25 20:20:29 -07:00
Ben Browning 585fe80099 Stub in an integration test (#55)
* Stub in an integration test

This just calls `kn service list` and verifies it doesn't have a
non-zero exit status.

* Build the client in pre_integration_tests

* Need to explicitly build the `kn` client

As opposed to just building the entire repo. That didn't actually
stick a `kn` binary in the root.

* Address code review feedback

Build the client in e2e-tests.sh instead of presubmit-tests.sh, fix a
couple copy/paste places that referred to eventing, remove unnecessary
knative_teardown function.

* Don't attempt to build kn twice

* Turns out pre_integration_tests() is the easiest way to build kn

We don't have any other good hooks at the moment to do something in
`e2e-tests.sh` that runs only once before the test cluster gets setup.

* Update test-infra to use the new cluster_setup function

This updates the version of test-infra to use the new cluster_setup
function added in https://github.com/knative/test-infra/pull/667

It simplifies our e2e setup logic into one place instead of being
split over presubmit-tests.sh and e2e-tests.sh

* Update vendored test-infra as well

* We have to explicitly tell CI to use the vendored modules

* Be a bit more descriptive in the stubbed out integration test
2019-04-08 10:50:58 -07:00
Naomi Seyfer fb587184c4 Actually, vendor everything (#59)
* Actually, vendor everything

* Verifier and update deps

* Dont verify codegen; we cant
2019-04-05 04:08:57 -07:00
Naomi Seyfer ebbd659e69 go.mod and go.sum updates (#46)
* go.mod and go.sum updates

* Set GO111MODULE=on
2019-03-26 12:41:51 -07:00
Naomi Seyfer b5b02f64f3
Incorporate reference to knative/test-infra for setting up automated tests. (#34)
* Set up some test infra

* fix gitignore

* More mod gitignore

* Add dummy file that depends on stuff
2019-03-05 16:31:05 -08:00
Scott Andrews 855ea20d40 Generate go.sum with go 1.11.5 (#19)
When building with go 1.11.5 I see a hash mismatch for knative/serving.
The algorithm for computing the hash has changed in recent go releases.

To create this PR I ran:
- `rm go.sum`
- `go test ./pkg/...`
- `go build ./cmd/kn`
- `go mod tidy`

All developers should update their version of go and clean their module
cache to flush downloaded modules with an invalid hash.
2019-02-04 16:19:49 -08:00
Naomi Seyfer 7cc59481bb
Refactor to allow testing; write first tests. (#10)
* Refactor commands to allow insertion of fakes for testing

* Pin client-go to version that matches signatures other libs use

* Add tests for service list

* actually add test file

* Review comments: Fatal instead of Error/return, Split instead of read to newline
2019-01-29 12:40:22 -08:00
Naomi Seyfer 38932b1d61
Get revision and service listing skeletons in. (#2)
* Get revision and service listing skeletons in.

This adds the kn program, with basic commands for service and revision listing
in.

kn service list
kn revision list

They use the genericclioptions library from kubernetes to support jsonpath,
yaml, and json output. The default is to just list the names of the objects, for
now, until we add in some of the kubectl-based libraries for creating tables in
another commit.

This is deliberately bare-bones; I am looking to get the basic skeletons of how
this repository is laid out down.

No tests yet. Soon.

* Move commands to pkg, so cmd only contains minimalist main.go

* RunE instead of Run. The defaults on Cobra command generation are weird.

* Oops forgot to change types of stuff

* Do not panic on bad config file

* Make commands no longer global

* Make configuration initialization not static in the module, but rather triggered by main.go init
2019-01-22 09:03:58 -08:00