Commit Graph

104 Commits

Author SHA1 Message Date
David Simansky 441372aea1
Add target platform flag to build script (#1981)
* Add targer platform flag to build script

* Update hack/build.sh

Co-authored-by: Chris Suszynski <krzysztof.suszynski@gmail.com>

* Drop -mod=vendor flag

---------

Co-authored-by: Chris Suszynski <krzysztof.suszynski@gmail.com>
2024-11-28 15:51:43 +00:00
David Simansky bfc00b8c46
Fix package location for build flags (#1978) 2024-11-19 16:51:59 +00:00
David Simansky 9728a1e0fd
Refactor codegen to use kube_codegen.sh script (#1964) 2024-09-03 14:51:32 +00:00
Chris Suszynski f09e7164ce
Fold in knative.dev/client-pkg as a submodule (#1953)
* Move to the hack' script inflator

* Skip kn subpackage

* Move the lib/ to public pkg/ packages

* Introduce pkg submodule, remove the vendor dir

* Remove vendor references

* Use latest version of knative.dev/hack

* Publish dependent images properly

* Walkaround for knative-extensions/net-istio#1345

* Remove GOTOOLCHAIN in go.work

* Verify codegen use common funcs

* Import code from knative.dev/client-pkg

* Restore the default unit test runner

* Try knative/actions#223

* Restore the workflows

* Nit: simplify config package import
2024-09-03 13:49:11 +00:00
Chris Suszynski bb1f899634
Remove vendor dir (#1962) 2024-08-29 13:57:18 +00:00
Knative Automation 543522a33e
[main] Upgrade to latest dependencies (#1910)
* upgrade to latest dependencies

bumping k8s.io/code-generator ad20935...0a2d87a:
  > 0a2d87a Merge pull request # 121545 from dims/automated-cherry-pick-of-# 121364-upstream-release-1.28
  > 4e70e93 bump golang.org/grpc to v1.56.3
  > 69e9240 Merge pull request # 121128 from MadhavJivrajani/bump-x-net-128
  > 6cf3458 .: bump golang.org/x/net to v0.17.0
  > 791c213 Merge remote-tracking branch 'origin/master' into release-1.28
  > a66bf75 .*: bump golang.org/x/net to v0.13.0
  > fee1cc9 Merge pull request # 118204 from sttts/sttts-openapi-v2-parameter-refs
  > 44fe511 Merge pull request # 119312 from pacoxu/prometheus/common-v0.44
  > 9ac045b Bump kube-openapi
  > c56ebf3 upgrade prometheus common to v0.44.0
  > 3cea41d Merge pull request # 119330 from bertinatto/fix-conn-reuse-test
  > c293887 Proactively bump golang.org/x/net to v0.12.0
  > b265455 Fix lifecycle generator to check the version correctly (# 119268)
  > b510e2c Merge pull request # 118689 from bzsuni/clean
  > 04d27a1 update prometheus/client_golang v1.14.0 to v1.16.0
  > 41a1e2d Merge pull request # 118507 from jeremyrickard/go1205
  > 0ffabab Update vendor with hack/update-vendor.sh
  > 4e0c7a3 Merge pull request # 118522 from jpbetz/remove-bad-merge-key
  > 81f56dc Remove invalid merge key
  > b92bd47 Merge pull request # 118414 from thockin/remove_codegen_debug
  > 5686b85 Fix errant debugging code in codegen
  > e60f563 Merge pull request # 118384 from Jefftree/gnostic-models-branch
  > f9f5739 Update gnostic references
  > 049b8c1 vendor
  > 7eed8e6 Merge pull request # 118269 from liggitt/genproto
  > ce9404a Update google.golang.org/genproto
  > db4dff4 Merge pull request # 118240 from Jefftree/bump-kube-openapi
  > 8f5c773 Update vendor
  > 03cdae3 Merge pull request # 117985 from howardjohn/patch-2
  > 932443c Merge pull request # 118014 from liggitt/mapstructure
  > ab3121a codegen
  > 254bead Update kube-openapi, drop mapstructure
  > 96be077 Fix comments on InformerFor
  > 04bedf1 Merge pull request # 117982 from jpbetz/sig-roles-jpbetz
  > 276d6b6 Merge pull request # 117645 from humblec/etcd-2
  > b4cd301 Add api-machinery TL owners permissions for jpbetz
  > f45259c Merge pull request # 117139 from pohly/test-integration-race-detection-update-utils
  > c60f5e6 update vendor dependencies for the change
  > 7eb0f51 dependencies: bump k8s.io/utils
  > b2afdc9 etcd depdencies are updated to v3.5.9
  > 8437e77 Merge pull request # 117946 from lavalamp/lavalamp-taking-a-break
  > 7850b0d Merge pull request # 117961 from humblec/ginkgo
  > 29a942d lavalamp is taking a long break
  > d13e2c2 Merge pull request # 116761 from iancoolidge/devel-cpuset-revendor
  > a40ed9b ginkgo update to v2.9.4 and gomega to 1.27.6
  > a2fdf24 Merge pull request # 117897 from thockin/codegen_deprecate_generate_groups_scripts
  > 5e46b7b Update k8s.io/utils version to v0.0.0-20230313181309-38a27ef9d749
  > 6027f11 Merge pull request # 117899 from thockin/codegen_purge_openapi_shell_indirection
  > 1305626 Deprecate generate*groups.sh -> kube_codegen.sh
  > 04a3650 Use the same report files as before
  > 6d32803 Simpler openapi gen - subprojects do themselves
  > 89a7a4d Merge pull request # 117262 from thockin/codegen_new_script_for_subprojects
  > c40d37c Convert code-generator/examples to new codegen
  > 0eb9f05 Add a new way for subprojects to do codegen
  > f731524 Merge pull request # 117687 from pohly/klog-update
  > 69dc822 dependencies: klog v2.100.1
  > ce06575 Merge pull request # 117705 from Jefftree/update-openapi-fix-race
  > dfd3d2e Update kube-openapi to fix race
  > 9b6e38c Merge pull request # 117253 from akhilerm/update-containerd-dependencies
  > f2fce9b chore: update cgroups and ttrpc versions
  > fcf3837 Merge pull request # 117350 from mohitsharma-in/update/google-golang-protobuf
  > 9423c3d Merge pull request # 117483 from ArkaSaha30/bump-gofuzz
  > e0c5a53 Dependencies Update google.golang.org/protobuf v1.28.1 to v1.30.0
  > d0b82bb Merge pull request # 117482 from ArkaSaha30/bump-go-logr
  > dfd550e update gofuzz dependency
  > abb7434 Merge pull request # 117352 from mohitsharma-in/update/golang_x_tools
  > de902bb Update go-logr dependencies
  > ddd36a3 Dependencies Update golang.org/x/tools v0.7.0 to v0.8.0
  > d0339d3 Merge pull request # 117399 from mohitsharma-in/update/golang_time
  > e13ba37 Dependencies Update golang.org/x/timet 90d013bbcef8  to v0.3.0
  > 473f30d Merge pull request # 117285 from humblec/azure-go-autorest
  > 68bbb45 dependencies: update gh/Azure/auto-test/{adal,validation}
  > e28c955 Merge pull request # 116282 from thockin/codegen_subprojects_nuke_old_files
  > ff97b26 Merge pull request # 116281 from thockin/codegen_subproject_chdir
  > 0ecf58f Codegen: subprojects: nuke existing files
  > fe4722c Codegen: simpler k8s.io/code-generator/examples
  > 2d17b8d Merge pull request # 116280 from thockin/codegen_no_internal_subprojects
  > 25c3b12 Codegen: new tools will not become part of 'all'
  > 8bfbf3d Codegen subprojects: consolidate generate-*groups
  > 399d412 Codegen subprojects: deprecate "all" in scripts
  > e04cc82 Codegen subprojects: regen defaulters when needed
  > 5ccd5be Codegen subprojects: reify 'all' into explicit
  > 0577864 Trivial change to reduce diffs
  > 450bfcd Merge pull request # 116948 from MadhavJivrajani/fix-verify-vendor
  > 5d100ef .*: update vendor dir and cleanup
  > 8fead9f Merge pull request # 116539 from pohly/ginkgo-gomega-update
  > e6c58e4 dependencies: ginkgo v2.9.1, gomega v1.27.4
bumping knative.dev/pkg 9386ad6...b488e7b:
  > b488e7b upgrade to latest dependencies (# 2938)
  > f95090a Bump github.com/evanphx/json-patch/v5 from 5.7.0 to 5.8.0 (# 2935)
  > 347a4b5 Bump github.com/prometheus/common from 0.45.0 to 0.46.0 (# 2937)
  > e8c79d4 Bump golang.org/x/oauth2 from 0.15.0 to 0.16.0 (# 2934)
  > ff26179 Bump golang.org/x/tools from 0.16.1 to 0.17.0 (# 2936)
  > e0d5064 Bump golang.org/x/net from 0.19.0 to 0.20.0 (# 2933)
  > bc230ae Update community files (# 2932)
  > 21d8c37 Bump K8s dependencies to v0.28.5 and set K8s min-version to 1.27 (# 2928)
  > a459076 upgrade to latest dependencies (# 2930)
  > de3e9cc Fixing all deprecated use of sets.String (# 2915)
  > a65a9e2 lower log level for AdmissionController.Admit validation  failures (# 2905)
  > 4c06610 Update community files (# 2929)
  > 697d669 Bump google.golang.org/api from 0.154.0 to 0.155.0 (# 2926)
  > 9e6a998 Bump golang.org/x/sync from 0.5.0 to 0.6.0 (# 2925)
  > dfa0a2c Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 (# 2924)
  > 32bea20 Bump google.golang.org/protobuf from 1.31.0 to 1.32.0 (# 2923)
  > d513e48 Bump google.golang.org/grpc from 1.59.0 to 1.60.1 (# 2922)
  > 1709d20 Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (# 2921)
  > 03265f7 Bump golang.org/x/tools from 0.16.0 to 0.16.1 (# 2917)
  > 155eba4 Bump google.golang.org/api from 0.153.0 to 0.154.0 (# 2920)
  > d71ca9a Bump cloud.google.com/go/storage from 1.35.1 to 1.36.0 (# 2918)
  > 5413322 Bump github.com/google/uuid from 1.4.0 to 1.5.0 (# 2916)
  > 4914c47 Bump google.golang.org/api from 0.152.0 to 0.153.0 (# 2914)
  > 9ad79ff Bump actions/setup-go from 4 to 5 (# 2913)
bumping k8s.io/apiextensions-apiserver 6090d8e...1dff568:
  > 1dff568 Update dependencies to v0.28.5 tag
  > bc1f37f Merge pull request # 121545 from dims/automated-cherry-pick-of-# 121364-upstream-release-1.28
  > baeeb81 bump golang.org/grpc to v1.56.3
  > c624896 Merge pull request # 121128 from MadhavJivrajani/bump-x-net-128
  > da001b1 .: bump golang.org/x/net to v0.17.0
  > 2d89f88 Merge pull request # 120356 from stevekuznetsov/automated-cherry-pick-of-# 120177-kubernetes-release-1.28
  > efb98fd Merge pull request # 119807 from jpbetz/automated-cherry-pick-of-# 119800-origin-release-1.28
  > 6c12248 apiextensions-apiserver: generate applyconfigurations
  > 6087aeb Merge pull request # 120141 from Jefftree/automated-cherry-pick-of-# 120109-upstream-release-1.28
  > 4d28f48 Fix CEL cost handling of zero length replacement strings
  > 3ea4ec4 Merge pull request # 120329 from liggitt/automated-cherry-pick-of-# 120327-upstream-release-1.28
  > b838126 Add wait for cache sync
  > 0404ad2 Add test coverage of result size of string operations
  > 0ede49e Revert to json-patch 4.12.0
  > 3f6c83c Bump cel-go to v0.16.1
  > eb9dafe Merge remote-tracking branch 'origin/master' into release-1.28
  > f13dc21 .*: bump golang.org/x/net to v0.13.0
  > 82eb7fc Merge remote-tracking branch 'origin/master' into release-1.28
  > 7709b76 apiextensions: fix validation error for status.storedVersions
  > b69767a Use statusReason for reason under x-kubernetes-validations (# 119544)
  > 124026f Merge pull request # 119543 from jpbetz/fix-xvalidations-flake
  > d60d893 Treat empty string as nil in fuzzer for CEL Reason field
  > ce3ed21 Merge pull request # 119510 from jpbetz/fix-mutation
  > 33bfdc8 Merge pull request # 119453 from cici37/addTest
  > b1b1775 Fix XValidations deepcopy to copy contents of nested pointers
  > d4e28b3 Address comment
  > f337e93 Refactor jsonpath parser and add tests.
  > d4d25b0 Merge pull request # 119340 from alexzielenski/apiserver/apiextensions/use-statusSchema
  > ed307c0 [KEP-2876]Add reason and fieldPath into CRD validation rules (# 118041)
  > ee459cb apiextensions: validate status updates with status schema
  > ac58466 Merge pull request # 118990 from alexzielenski/apiserver/apiextensions/crd-validation-ratcheting
  > baf073b Merge pull request # 118808 from Jefftree/updated-lazy-crd-controller-v2
  > d5f0213 update go.mod
  > 886cc80 Make CRDs built and aggregated lazily for oasv2
  > 0a5e7b0 use ratcheting schema validator when feature is enabled
  > b43ae52 Merge pull request # 118204 from sttts/sttts-openapi-v2-parameter-refs
  > 102e7eb add ratcheting schema validator using new openapi hooks
  > 80047f7 Merge pull request # 119312 from pacoxu/prometheus/common-v0.44
  > 4570537 Bump kube-openapi
  > 26778c0 add CRDValidationRatcheting feature gate
  > c1d26c5 upgrade prometheus common to v0.44.0
  > df2cf11 openapi: reference shared parameters
  > 2b42730 refactor: convert slices to []interface before inserion into VendorExtensible
  > dfc8251 Merge pull request # 119330 from bertinatto/fix-conn-reuse-test
  > 61188af refactor: add ValidateCustomResourceUpdate to support future validators for CRD Updates
  > 59f9b3d Proactively bump golang.org/x/net to v0.12.0
  > d63f8bb refactor: cleanup to NewSchemaValidator takes JSONSchemaProps
  > 6542909 Merge pull request # 117108 from pohly/test-integration-race-detection-component-base-logs
  > 0e74a9b refactor: rename apiservervalidation -> apiextensionsvalidation
  > 780eaa5 component-base/logs: improve handling of re-applying a configuration
  > 3efa7e2 Merge pull request # 118689 from bzsuni/clean
  > 6bd4851 Merge pull request # 118542 from cchapla/crd_webhook_metrics_updates
  > 70978ae update prometheus/client_golang v1.14.0 to v1.16.0
  > 37caa61 Minor fix on variable
  > a1be513 Updating names from webhookconversion to conversionwebhook
  > 1db2b07 Merge pull request # 118507 from jeremyrickard/go1205
  > 5a3e605 Update vendor with hack/update-vendor.sh
  > 0f42c58 Merge pull request # 118522 from jpbetz/remove-bad-merge-key
  > 75fa40c Merge pull request # 118292 from cchapla/crd_webhook_metrics
  > 23d6cfa Remove invalid merge key
  > 00091a3 Merge pull request # 118416 from sttts/sttts-etcd-options-complete
  > dfe6aaa Changes to buckets and comments
  > 6dca9f1 Merge pull request # 117294 from humblec/open-containers
  > 4e061f6 k8s.io/apiserver: remove skewed completion from EtcdOptions
  > f0093e4 Changes to histogram buckets
  > 2221bc5 dependencies: update github.com/dustin/go-humanize v1.0.1
  > f25167f Review comments, added metric namespace, moved utility functions, and etc
  > e81b4f1 Merge pull request # 118384 from Jefftree/gnostic-models-branch
  > 76af56a Webhook conversion metrics
  > f1f58f0 Update gnostic references
  > 35ec793 vendor
  > 7a5b05c Merge pull request # 118339 from jpbetz/bump-cel-go
  > 54ebdaa Enable optionals and add tests
  > 0a0fe1f Bump cel-go to v0.16.0
  > e0b0416 Merge pull request # 118269 from liggitt/genproto
  > 6a6001e Update google.golang.org/genproto
  > 37c0f7d Merge pull request # 118240 from Jefftree/bump-kube-openapi
  > 19cc2e6 Update vendor
  > 501bf5e Merge pull request # 117985 from howardjohn/patch-2
  > 56f7e82 Merge pull request # 118014 from liggitt/mapstructure
  > c163323 codegen
  > 8ef6b90 Update kube-openapi, drop mapstructure
  > 4cbfb5b Merge pull request # 117645 from humblec/etcd-2
  > c417362 Merge pull request # 117139 from pohly/test-integration-race-detection-update-utils
  > 0c33ac7 update vendor dependencies for the change
  > 07c89d1 dependencies: bump k8s.io/utils
  > 0a0501d etcd depdencies are updated to v3.5.9
  > 98774ff Merge pull request # 117946 from lavalamp/lavalamp-taking-a-break
  > 998aac2 Merge pull request # 117961 from humblec/ginkgo
  > 147a7f8 lavalamp is taking a long break
  > 3ef489c Merge pull request # 116761 from iancoolidge/devel-cpuset-revendor
  > b19cde5 ginkgo update to v2.9.4 and gomega to 1.27.6
  > 8b066bc Merge pull request # 117899 from thockin/codegen_purge_openapi_shell_indirection
  > 581611d Update k8s.io/utils version to v0.0.0-20230313181309-38a27ef9d749
  > f259ad6 Use the same report files as before
  > 962290e Simpler openapi gen - subprojects do themselves
  > 255d31a Codegen: subprojects openapi
  > cb87797 Merge pull request # 117262 from thockin/codegen_new_script_for_subprojects
  > 715e784 Merge pull request # 116779 from jpbetz/cel-ratcheting
  > eb41537 Convert apiextensions-apiserver to new codegen
  > eb8d569 Merge pull request # 117342 from kkkkun/update-etcd-deps-3.5.8
  > da3e785 Introduce CEL EnvSets for managing safe rollout of new CEL features, libraries and expression variables
  > 398f193 Merge pull request # 117618 from jpbetz/jpbetz-apiextensions-approver
  > 859639b upgrade etcd deps to v3.5.8
  > 4f2e374 Merge pull request # 117687 from pohly/klog-update
  > 6d99cd0 Add jpbetz to approvers of apiextensions-apiserver
  > 62e755e Merge pull request # 117328 from humblec/uber
  > 55f73a5 dependencies: klog v2.100.1
  > 612a866 Merge pull request # 117090 from jpmcb/cobra-1.7.0
  > 135a00c dependencies: go.uber.org/atomic v1.10.0
  > 7c4a384 Upgrades spf13/cobra to 1.7.0
  > 83c9eef dependencies: update go.uber.org/multierr v1.11.0
  > 9cb4c2d Merge pull request # 114998 from alexzielenski/apiserver/smd/ssa-conditionals
  > 1997a38 include apiextensions types in apiextensions generated openapi
  > 5739196 fix scale not being given gvk in CRD openapi schemas
  > 72bab68 add OpenAPIV3 config to tests and server options
  > 061320c Merge pull request # 117705 from Jefftree/update-openapi-fix-race
  > 2312078 Update kube-openapi to fix race
  > 18409ed Merge pull request # 117253 from akhilerm/update-containerd-dependencies
  > f727663 Merge pull request # 117349 from mohitsharma-in/deps-update/natefinch-lumberjack.v2
  > e5cc1de chore: update cgroups and ttrpc versions
  > f0da574 Merge pull request # 117593 from jpbetz/test-join
  > 5f8077d update Deps gopkg.in/natefinch/lumberjack.v2 v2.0.0 to v2.2.1
  > 5dcc218 Merge pull request # 117350 from mohitsharma-in/update/google-golang-protobuf
  > caad8b0 Fix bug where CEL listOfString.join() results in unexpected error
  > 96f3820 Merge pull request # 117483 from ArkaSaha30/bump-gofuzz
  > b9b41db Dependencies Update google.golang.org/protobuf v1.28.1 to v1.30.0
  > cf8773d Merge pull request # 117482 from ArkaSaha30/bump-go-logr
  > 9c80e35 update gofuzz dependency
  > 6a79604 Merge pull request # 117352 from mohitsharma-in/update/golang_x_tools
  > 5e0eadb Update go-logr dependencies
  > 699c276 Dependencies Update golang.org/x/tools v0.7.0 to v0.8.0
  > 2522eac Merge pull request # 117408 from cenkalti/backoff
  > 7dbdc67 Merge pull request # 117399 from mohitsharma-in/update/golang_time
  > 10c705f dependencies: update github.com/cenkalti/backoff/v4 to v4.2.1
  > 8c56b90 Dependencies Update golang.org/x/timet 90d013bbcef8  to v0.3.0
  > e79b4a0 Merge pull request # 117275 from akhilerm/update-coreos-deps
  > dd0f73c dependencies: update go-semver to v0.3.1
  > 98a31a3 dependencies: update go-systemd to v22.5.0
  > c91de0d Merge pull request # 117285 from humblec/azure-go-autorest
  > 1b32f81 dependencies: update gh/Azure/auto-test/{adal,validation}
  > b1c69c0 Merge pull request # 117301 from ncdc/revert-conversion-refactoring
  > 15521be Revert "Merge pull request # 113151 from ncdc/refactor-crd-conversion"
  > d5a5c83 Revert "CR conversion: protect from converter input edits"
  > 56acced Merge pull request # 116896 from thockin/apimachinery_util_diff_cleanup
  > c6d3475 Replace uses of ObjectReflectDiff with cmp.Diff
  > 7ab76f1 Replace uses of ObjectGoPrintDiff with cmp.Diff
  > 4e0e033 Replace apimachinery diff.StringDiff with cmp
  > 176c9c5 Merge pull request # 116348 from jkh52/knp-0.1.2
  > 69191a2 Merge pull request # 116280 from thockin/codegen_no_internal_subprojects
  > 1b79e64 Bump Konnectivity to 0.1.2
  > 0e0d0ca Codegen subprojects: regen defaulters when needed
  > be7cf1c Codegen subprojects: reify 'all' into explicit
  > 6961dc4 Merge pull request # 116948 from MadhavJivrajani/fix-verify-vendor
  > 70ef815 .*: update vendor dir and cleanup
  > 51f7c2f Merge pull request # 116770 from alexzielenski/agg-discovery-err-sources
  > adddae7 allow multiple sources to add/remove from discovery without clobbering each other
bumping github.com/prometheus/client_model 9a2bf30...1c92cad:
  > 1c92cad Merge pull request # 72 from prometheus/repo_sync
  > cbe84de Merge pull request # 71 from prometheus/superq/update_build
  > 58db340 Update common Prometheus files
  > baaa038 Merge pull request # 70 from prometheus/repo_sync
  > 568c466 Update Go
  > 7b38251 Merge pull request # 69 from prometheus/repo_sync
  > 185bafb Update common Prometheus files
  > cfbcccb Merge pull request # 67 from prometheus/beorn7/histogram
  > 4dbcf4e Update common Prometheus files
  > 95a0733 Merge pull request # 66 from ArthurSens/created-timestamp
  > 2a367b9 histogram: Add a doc comment about when to add a no-op span
bumping knative.dev/serving 7744087...1c46c07:
  > 1c46c07 upgrade to latest dependencies (# 14828)
  > 7509f7d Update net-contour nightly (# 14827)
  > f234d38 Update net-istio nightly (# 14826)
  > 40b0628 Update net-kourier nightly (# 14824)
  > 785b9d3 Update net-gateway-api nightly (# 14823)
  > 232cfd8 Update net-certmanager nightly (# 14825)
  > 99ea2f3 Update community files (# 14822)
  > bbabe5b upgrade to latest dependencies (# 14816)
  > 4928853 Create less load for TestActivatorChainHandlerWithFullDuplex (# 14820)
  > 4546f92 Update net-gateway-api nightly (# 14812)
  > 5d9bcf6 Update net-istio nightly (# 14817)
  > 9acc277 Update net-kourier nightly (# 14813)
  > 85efcf7 Update net-contour nightly (# 14814)
  > 1fcbcc6 Update net-certmanager nightly (# 14811)
  > 906d309 Update community files (# 14810)
  > bacd818 take 2: set appProtocol on services (# 14809)
  > 45ddf2d bump istio for gateway api tests (# 14808)
  > 9a867e1 Update net-gateway-api nightly (# 14789)
  > ad0a989 Revert "Set AppProtocol on Services (# 14757)" (# 14805)
  > 03b32e2 Update net-kourier nightly (# 14798)
  > 34da024 Support http1 full duplex per workload (# 14568)
  > e9a751f Update net-contour nightly (# 14801)
  > d96dabb Update net-istio nightly (# 14800)
  > 5ec6f8c Update net-certmanager nightly (# 14799)
  > aa3fb05 upgrade to latest dependencies (# 14796)
  > 3cea8b4 [Automated] Update net-istio nightly (# 14706)
  > 752314e Improve log output for Services with no LoadBalancer IP (# 14788)
  > 564e72b upgrade to latest dependencies (# 14794)
  > 1e2faa3 Remove /tmp and /var from reserved paths (# 14686) (# 14719)
  > 05b640b Update net-contour nightly (# 14792)
  > 9e0229c Update net-certmanager nightly (# 14791)
  > 921028c Update net-kourier nightly (# 14790)
  > 8162fe2 Add Vegeta rates / targets to SLA in performance tests (# 14429)
  > e5602d7 Set AppProtocol on Services (# 14757)
  > 52b3d0c Update net-gateway-api nightly (# 14785)
  > 45db086 Update net-contour nightly (# 14784)
  > 996d5b6 upgrade to latest dependencies (# 14783)
  > 7feb050 Add defaulting for all GRPC probe types (# 14773)
  > 85d698e Update net-kourier nightly (# 14781)
  > 7a9c068 Update net-contour nightly (# 14779)
  > 6a8bcf3 Update net-certmanager nightly (# 14780)
  > 842c0d9 upgrade to latest dependencies (# 14778)
  > d4807eb Update community files (# 14777)
  > 499dc1d Replaces all deprecated usages of sets with new generic versions (# 14765)
  > 0a291d6 Update net-certmanager nightly (# 14772)
  > b6552f9 Update net-kourier nightly (# 14768)
  > 5c02409 Update net-contour nightly (# 14769)
  > 32fde8b Update net-gateway-api nightly (# 14767)
  > 8028e2e Update net-certmanager nightly (# 14766)
  > 1962f25 upgrade to latest dependencies (# 14761)
  > cc1df09 Update community files (# 14760)
  > 328d03b Update net-kourier nightly (# 14759)
  > cc18593 Update net-certmanager nightly (# 14758)
  > 4697ed1 upgrade to latest dependencies (# 14756)
  > 8b13398 Update net-gateway-api nightly (# 14755)
  > afc93b9 Update net-contour nightly (# 14754)
  > 81149da Update net-kourier nightly (# 14743)
  > 0c6dc59 Update net-contour nightly (# 14742)
  > cc0359d Update net-certmanager nightly (# 14741)
  > 6291578 Update net-kourier nightly (# 14736)
  > cc15a56 upgrade to latest dependencies (# 14738)
  > df85272 Update net-certmanager nightly (# 14735)
  > 11c5aa9 upgrade to latest dependencies (# 14731)
  > a826aa4 Update net-certmanager nightly (# 14729)
  > 8f33f44 Update net-kourier nightly (# 14728)
  > fc479ae upgrade to latest dependencies (# 14726)
  > bab7163 Update net-kourier nightly (# 14725)
  > 3717446 upgrade to latest dependencies (# 14722)
  > 514e466 Update net-gateway-api nightly (# 14714)
  > f695a0b Update net-contour nightly (# 14716)
  > 1637bfc Update net-certmanager nightly (# 14715)
  > 2c93fee Update net-kourier nightly (# 14712)
  > 49d1226 Update net-certmanager nightly (# 14708)
  > aed404b Update net-kourier nightly (# 14707)
  > 2a873fc upgrade to latest dependencies (# 14704)
  > 4d0fdd1 Update net-kourier nightly (# 14702)
bumping k8s.io/klog/v2 d7fc505...6ded808:
  > 6ded808 Merge pull request # 375 from pohly/json-fallback
  > 77b73d5 Merge pull request # 374 from pohly/format
  > d731661 formatting: replace Sprintf("%+v") with JSON
  > 2fdc76f Merge pull request # 369 from mikedanese/stdlog
  > deffe14 add Format wrapper
  > 6bb2990 test: add more test cases for map, slice, struct
  > 4de3d37 expose logBridge via NewStandardLog()

Signed-off-by: Knative Automation <automation@knative.team>

* Fix codegen

---------

Signed-off-by: Knative Automation <automation@knative.team>
Co-authored-by: David Simansky <dsimansk@redhat.com>
2024-01-24 13:51:12 +00:00
Roland Huß cef926d3b6
some fixes for build.sh (#1901) 2023-11-29 14:01:12 +00:00
cola b59e60ba81
Fix shellcheck warnings in hack/build.sh script (#1860)
Signed-off-by: pingjiang <xiangpingjiang1998@gmail.com>
2023-09-05 10:03:17 +00:00
David Simansky 3a7d8c18ad
Add support for Eventing/v1beta2 EventTypes (#1831)
* Add support for Eventing/v1beta2 EventTypes

* Skip e2e tests on missing API

* Shortne the sink help message

* Reword the help by the review recommendation

* Reflect review feedback
2023-07-26 10:42:40 +00:00
David Simansky 189592606e
fix: Use go_run from common lib (#1793)
* fix: Use go_run from common lib

* chore: Set Bash options in name format

* Reflect shell suggestion for the direct changes
2023-04-24 09:35:42 +00:00
David Simansky 3a8d646264
fix: Fix image tag for nightly builds (#1796)
* fix: Fix image tag for nightly builds

* Update hack/release.sh

Co-authored-by: Roland Huß <rhuss@redhat.com>

---------

Co-authored-by: Roland Huß <rhuss@redhat.com>
2023-03-23 16:35:55 +00:00
David Simansky c21e6605bc
fix: Fix tagging of kn container image for latest releases (#1792)
* fix: Fix tagging of kn container image for latest releases

* fix: Reflect shell suggestions
2023-03-22 19:05:54 +00:00
David Simansky 58f686bf92
Fix release script version calculation (#1737) 2022-09-21 15:41:10 +00:00
David Simansky bcd18d39f4
Fix OCI image build (#1666)
* Fix OCI image build

* Reflect review feedback
2022-04-29 11:48:53 +00:00
David Simansky 76a0b1e6bc
Fix display version in OCI image (#1662)
* Fix display version in OCI image

* Refactor ko ldflags to be used from env vars
2022-04-28 09:08:00 +00:00
kobayashi 587a4a8cb7
change display versions (#1601) 2022-03-01 05:25:42 -08:00
Murugappan Chetty af052088ca
remove hardcoded kn for usage and error (#1603)
* remove hardcoded kn for usage and error

* remove hardcoded kn for usage and error

* remove hardcoded kn for usage and error

* remove hardcoded kn for usage and error

* docs change
2022-02-17 02:07:13 -08:00
Paul Schweigert 569e027d98
Remove deprecated Hugo frontmatter generation for docs (#1563)
* removes deprecated hugo frontmatter generation

* changelog

* PR number

* remove emptyString
2022-01-10 08:40:59 -08:00
Chris Suszynski e7d7cad429
Allow overriding of build.sh for downstream projects (#1544) 2021-12-10 04:50:29 -08:00
David Simansky a736af7129
Combine update deps actions format manually (#1484)
* upgrade to latest dependencies

bumping knative.dev/eventing ff4bc40...5f69768:
  > 5f69768 upgrade to latest dependencies (# 5817)
  > a6a819d upgrade to latest dependencies (# 5812)
bumping knative.dev/networking c2191da...91e7d04:
  > 91e7d04 upgrade to latest dependencies (# 531)
  > 16ef524 upgrade to latest dependencies (# 529)
  > cc26c45 Update actions (# 530)
  > 0c6b765 Deprecate httpProtocol: "Disabled" in config-network (# 528)
bumping knative.dev/pkg fa2f8f1...3463dd7:
  > 3463dd7 upgrade to latest dependencies (# 2315)
  > a5bb759 upgrade to latest dependencies (# 2314)
  > e61a20d Update actions (# 2313)
  > 0e24b49 Format go code (# 2312)
bumping knative.dev/hack 815cd31...47ac3b0:
  > 47ac3b0 Split build tags that are in a comma separated list (# 83)
  > 8687668 [# 50] Add error message when Bash < 4 (# 79)
  > 8d79600 Fixes # 81 (# 82)
  > 51582ce fix misspelling functionallity -> functionality (# 78)
  > 675e1fd Correctly specify the user when creating clusterrolebinding for kind (# 80)
bumping knative.dev/serving 7c6d4bc...30087cd:
  > 30087cd upgrade to latest dependencies (# 12145)
  > e5d8560 Format go code (# 12139)
  > c9b2e25 upgrade to latest dependencies (# 12141)
  > ebdd09e Update actions (# 12140)
  > caced61 Update net-certmanager nightly (# 12138)
  > c6f1707 Add logic to retry pause/resume for pod freezer (# 12049)
  > 0780c10 Trust k8s readiness signal (# 12086)
  > 0592224 Update net-kourier nightly (# 12135)
  > 1cac17a Fix HTTP Redirect test for Contour (# 12124)
  > 8ecc7f9 Update net-istio nightly (# 12134)
  > f37a630 Update net-certmanager nightly (# 12133)
  > 04efc1e Update net-kourier nightly (# 12128)
  > 8cc9b0d upgrade to latest dependencies (# 12132)

* Update actions
2021-10-18 08:56:36 -07:00
Roland Huß a7a0534f44
Automatically set the proper version for the serving and eventing dependencies (#1462)
for `kn version`. This is now directly extracted from go.mod and
saves one manual step when doing the release.
2021-09-23 03:30:13 -07:00
Gunjan Vyas 5d4b4f3759
Fix windows e2e plugin tests (#1457)
* Fix windows e2e plugin tests

* Suggested changes
2021-09-21 09:54:37 -07:00
David Simansky 2e714510c5
Fix release script to published darwin/arm64 bits (#1427) 2021-08-12 11:40:35 -07:00
David Simansky fc7e87667f
Add support for multi-containers (#1382)
* Add support for multi-containers

* Update examples

* Fix UpdateContainers to match by name

* Add experimental note & tests

* Rename flag to --extra-containers

* Fix formatting

* Fix flag renaming leftovers

* Update pkg/kn/flags/podspec_test.go

Co-authored-by: Roland Huß <rhuss@redhat.com>

Co-authored-by: Roland Huß <rhuss@redhat.com>
2021-08-09 12:25:12 -07:00
Roland Huß 707fe77b58
Fix include and be more flexible for the script interpreter. (#1420)
Since we include now a test-infra script, which is Bash 4 based,
macOs user need to install Bash >= 4 e.g. via brew now.
The bash version coming with macOs is not good enough (3)
2021-08-05 08:06:52 -07:00
David Simansky 4e1297ac8f
Add lint check to build.sh script (#1414)
* Add lint check to build.sh script

* Fix golangci-lint repo url
2021-08-05 02:39:52 -07:00
Gunjan Vyas 712e0e4af1
Adding support for darwin/arm64 (#1401)
* Adding support for darwin/amd64

* Updating go version to 1.16 in go.mod
2021-07-27 17:14:16 -07:00
David Simansky 88fd3102a6
Remove force update of go-licenses binary (#1348) 2021-06-25 05:04:21 -07:00
David Simansky e23b4d626e
Update k8s dependencies to v0.20.7 (#1344)
* Update k8s dependencies to v0.20.7

* Update vendor dir

* Fix license dir

* Remove commented code

* Update knative deps

* Use scheme to add known types for dynamic client

* Update go-licenses in build script
2021-06-17 07:42:22 -07:00
Markus Thömmes 73f821907c
Drop --strict flag on ko (#1295) 2021-04-26 17:46:39 -07:00
David Simansky d44f25d350
feat: Add knb plugin build tool (#1226)
* feat: Add knb plugin build tool

* fix: Fix lint errors

* fix: Fix trailing whitespaces in readme

* fix: Fix error msg

* fix: Fix all error msg

* fix: Move knb to sub-dir tools/knb

* fix: Add new dir to sources

* fix: Reflect review feedback

* fix: Reflect review feedback in readme

* fix: Code formatting

* fix: Fix gosec errors
2021-03-08 00:22:21 -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
Scott Nichols 2d44ce89e8
Integrate the gopath hacks to allow for codegen anywhere. (#1161) 2020-12-03 02:45:08 -08:00
Navid Shaikh b6a4deee4c
Remove unwanted var in hack/build.sh (#1147) 2020-12-01 10:54:37 -08:00
David Simansky dfbd81e2f3
fix(release): Fix checksum quoting (#1156) 2020-11-30 22:33:37 -08:00
Yaakov Selkowitz cc6c7216d2
Build and release binaries for linux/ppc64le (#1153) 2020-11-30 01:03:36 -08:00
Hyounggyu Choi 724b0bddb4
Cross-compile the kn binary for linux/s390x (#1083)
Co-authored-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
2020-11-24 11:51:35 -08:00
Roland Huß d1a1fc94ce
feat: Add checksums.txt to release to have the sha256 checksums published, too. (#1108)
* feat: Add checksums.txt to release to have the sha256 checksums published, too.

* chore: Remove check for sha256sum as we are requiring it now for the release.
2020-11-10 12:11:58 -08:00
Roland Huß 1b7985eac5
feature: Add Linux arm64 builds to the release (#1106)
* feature: Add Linux arm64 builds to the release

Fixes https://github.com/knative/client/issues/1101

* update link to PR in changelog.adoc
2020-11-10 03:45:58 -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
Roland Huß 2c6a4c667e
Fix bogus warning in build.sh (#1064) 2020-10-15 14:27:05 -07:00
Zhimin Xiang 574327f7db
Ping serving and eventing to release-0.18 (#1033) 2020-09-29 22:41:28 -07:00
Matt Moore a39903ba78
Run github.com/client9/misspell (#1030)
Signed-off-by: Matt Moore (via Sockpuppet) <mattmoor@vmware.com>
2020-09-25 07:45:44 -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
Murugappan Chetty 77564112df
add e2e for h2c (#1000)
* add e2e for h2c

* add e2e for h2c

* add e2e for h2c

* add symlink for grpc example

* add symlinks

* add symlink
2020-09-11 03:32:00 -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
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
Roland Huß 490fe574cc
feat: Add plugin listing to "kn --help" (#929)
* feat: Add plugin listing to "kn --help"

This works on all levels. Test needs to be expanded still.

Fixes #266

* chore: Fix test

* Add test and ported #910 over.

* changelog update

* fix test

* Fix test

* fix integration tests

* fix test

* chore: Add some explanatory comments

* fix test
2020-07-14 13:38:33 -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