Commit Graph

312 Commits

Author SHA1 Message Date
knative-automation 802ab350e2
upgrade to latest dependencies (#1405)
bumping knative.dev/serving c737bb1...874cceb:
  > 874cceb Update net-gateway-api nightly (# 13466)
  > aebc16c Update net-istio nightly (# 13460)
  > 0df133d Update net-certmanager nightly (# 13461)
  > 8848735 Update net-kourier nightly (# 13463)
  > 44295ff Update net-contour nightly (# 13462)
  > bd88e05 Use new keys for internal encryption secret data (# 13388)
  > 0511892 Update net-certmanager nightly (# 13457)
  > afc6942 Update net-kourier nightly (# 13456)
  > 2a22058 Update net-contour nightly (# 13454)
  > 8c79b7f Update net-gateway-api nightly (# 13455)
  > c3e0f12 Add support for QPOptions TLS + Audience bound Tokens  (# 13384)
  > fd1b9ed Set filtered factory label in controller main + Upgrade to latest dependencies (# 13442)
  > 601c762 Update net-certmanager nightly (# 13452)
  > f9fd5c8 Update net-contour nightly (# 13446)
  > 9106a61 Update net-certmanager nightly (# 13445)
  > 1b38451 Update net-gateway-api nightly (# 13444)
  > 09f44f5 Update community files (# 13434)
  > 6f42856 Update net-gateway-api nightly (# 13432)
  > d72ba07 bump kind to 1.17 in e2e (# 13437)
  > a47c428 ran codegen with go1.19 & fix linter warnings (# 13438)
  > bc368c3 Update net-contour nightly (# 13431)
  > 025c712 upgrade to latest dependencies (# 13429)
  > 3d9c724 upgrade to latest dependencies (# 13427)
  > 2ca1aea Update net-istio nightly (# 13428)
  > 41f35ca Update community files (# 13426)
bumping knative.dev/client 4a545d0...daa3c65:
  > daa3c65 upgrade to latest dependencies (# 1758)
  > 2b347b1 Update community files (# 1760)
  > 2b75ddf Update community files (# 1759)
bumping knative.dev/networking cb26aa7...0d4e937:
  > 0d4e937 upgrade to latest dependencies (# 731)
  > ed86031 Update community files (# 730)
  > dd3d3d7 Updates style/lint checks for go1.19 (# 733)
  > 7d97614 upgrade to latest dependencies (# 729)
  > e051f4e upgrade to latest dependencies (# 728)
  > 23d44c9 Update community files (# 727)
bumping knative.dev/pkg 6eb8f18...0243d64:
  > 0243d64 Function AllowRestrictedPodSecurityStandard for modifying test pods (# 2625)
  > 389f811 upgrade to latest dependencies (# 2629)
  > 918fd93 Update community files (# 2633)
  > 44d1d7d Go1.19 changes (# 2631)
  > 6718478 Update community files (# 2628)
  > dc1fae1 changeset: allow override the revision through ldflags (# 2601)
  > 92ed919 Fix: Mute the linter on error return values. (# 2627)
  > 8fa1a3f CmpOpts overrides should be passed through (# 2621)
  > 64fc3e5 ListPointer flag should also apply to filtered informers (# 2620)
  > 2f19491 Feature: Implement Apply codegen. (# 2624)
bumping knative.dev/hack 566898d...8f3c705:
  > 8f3c705 Update community files (# 247)
  > 62b15bd drop support for the istio add on flag (# 243)
  > f5be74f Update community files (# 245)
  > 80fd6da KO_DATA_PATH doesn't need to be set anymore (# 244)
  > 4b6bd86 Format go code (# 239)
bumping knative.dev/eventing 6ea012a...82bf83c:
  > 82bf83c Fix development docs on installing IMC (# 6605)
  > 1c76762 [Scheduler] Handle permanent pending pods (# 6599)
  > a390f74 [main] Upgrade to latest dependencies (# 6590)
  > 1d02f98 Add Ansu as scheduler approver (# 6600)
  > a653058 Set SecurityContext for test Pods (# 6584)
  > 4809791 Updates for Go 1.19 (# 6594)
  > 6de07e8 Update community files (# 6593)
  > a57c12f Update community files (# 6589)
  > cd98a61 upgrade to latest dependencies (# 6586)

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

Signed-off-by: Knative Automation <automation@knative.team>
2022-11-14 21:03:37 +00:00
knative-automation 5c64dcb1ef
upgrade to latest dependencies (#1386)
bumping knative.dev/pkg 6ce976c...6eb8f18:
  > 6eb8f18 Update community files (# 2626)
  > 5cbee02 Filter reactor FieldErrors on validation to only error-level alerts. (# 2611)
  > 198b463 Cleanup: Turn multiple warnings into multiple warnings. (# 2619)
  > 728dfd8 Add FieldError#WrappedErrors to allow dependent code to have access (readonly) (# 2618)
bumping knative.dev/serving b44de34...c737bb1:
  > c737bb1 Update net-certmanager nightly (# 13425)
  > 21fc2b2 upgrade to latest dependencies (# 13424)
  > 81ebd47 upgrade to latest dependencies (# 13423)
bumping knative.dev/hack 9d2ae47...566898d:
  > 566898d Update community files (# 242)
bumping knative.dev/networking 0f6a54a...cb26aa7:
  > cb26aa7 upgrade to latest dependencies (# 726)
bumping knative.dev/eventing cdb52cc...6ea012a:
  > 6ea012a Update community files (# 6588)
  > ecf7a29 upgrade to latest dependencies (# 6585)

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

Signed-off-by: Knative Automation <automation@knative.team>
2022-10-31 15:27:12 +00:00
knative-automation 49b5c08783
upgrade to latest dependencies (#1382)
bumping knative.dev/pkg 714b763...6ce976c:
  > 6ce976c Default observability config if nil (# 2614)
  > ff95684 make METRICS_DOMAIN optional when backend is not OpenCensus (# 2617)
  > b2a3a39 upgrade to latest dependencies (# 2616)
  > 9823d96 Update community files (# 2615)
  > 5dd89c6 Support istio *List types where Items is an array of pointer types (# 2613)
  > b812aff Support fetching observability from ctx. (# 2610)
bumping knative.dev/serving e82287d...b44de34:
  > b44de34 Update net-gateway-api nightly (# 13422)
  > 3b35f78 Update net-contour nightly (# 13421)
  > 299aa96 upgrade to latest dependencies (# 13420)
  > 9e7150f upgrade to latest dependencies (# 13417)
  > 5411bd0 upgrade to latest dependencies (# 13415)
  > 4c99f48 Update community files (# 13413)
  > a6a18b8 updates HPA webhook api version (# 13411)
  > 0b88704 Update net-gateway-api nightly (# 13406)
bumping knative.dev/hack 3fdc50b...9d2ae47:
  > 9d2ae47 Update community files (# 241)
  > cf1a127 🎁 Use Knative ls-tags tool (# 238)
bumping knative.dev/networking 58f3e62...0f6a54a:
  > 0f6a54a upgrade to latest dependencies (# 725)
  > 2cbe3ef upgrade to latest dependencies (# 724)
  > 83b94f2 Update community files (# 723)
  > db966e7 fix http01 conformance tests (# 721)
  > fb5566f fix downstream tests (# 722)
bumping knative.dev/eventing 0fe923c...cdb52cc:
  > cdb52cc upgrade to latest dependencies (# 6582)
  > 39c914b upgrade to latest dependencies (# 6580)
  > 47c2635 Update community files (# 6579)
  > 98dfb5b Doing base64 encode in channel's responseBody (# 6542)
bumping knative.dev/client 0b99fc5...4a545d0:
  > 4a545d0 Update community files (# 1757)
  > 66307f2 Resolve Serving version to released tag (# 1755)
  > 699a888 Fix namespaced unit test (# 1753)

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

Signed-off-by: Knative Automation <automation@knative.team>
2022-10-27 18:54:07 +00:00
Luke Kingland 034e2de849
chore: global config file paths (#1344)
* feat: config members and paths

- Adds Builder, Namespace, Registry and Verbose as globally
  configurable.
- Fixes problems where file paths were being created or required when
  not necessary.
- Relocates environment variable usage to main's use of config
- Adds FUNC_CONFIG_PATH
- Only creates paths on disk when necessary
- Makes non-existent config paths nonfatal

* postpone adding some members
2022-10-21 10:38:13 +00:00
knative-automation 8fd0919be3
upgrade to latest dependencies (#1359)
bumping knative.dev/serving e82287d...e82287d:

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

Signed-off-by: Knative Automation <automation@knative.team>
2022-10-19 03:00:11 +00:00
knative-automation b5ee750fdb
[main] Upgrade to latest dependencies (#1355)
* upgrade to latest dependencies

bumping knative.dev/eventing c5ef068...0fe923c:
  > 0fe923c Use knative/action/go/downstream-test (# 6573)
  > 53a186d Update pelletier/go-toml/v2 to v2.0.5 (# 6574)
bumping knative.dev/serving e95e99d...d108ba9:
  > d108ba9 Allow setting seccompProfile to enable using restricted security profile (# 13401)
  > 388128b Run queue proxy with restricted profile (# 13376)
  > 6e597fa Enable emptyDir volumes for Knative Services (# 13405)
  > 6264c1b Fix path validation when running tests on Windows (# 13400)
bumping knative.dev/client be74c58...16f26ba:
  > 16f26ba upgrade to latest dependencies (# 1750)
  > 0323f52 upgrade to latest dependencies (# 1749)
bumping github.com/tektoncd/cli ffd3f27...5147967:
  > 5147967 New version v0.23.1
  > 8fe7ac6 fix error while deleting pr without status
  > 013a5df This will fix the version command failing for chain and operator
  > b5a12e1 Updates the configMap name for Operator version
  > 85aa47f Adds namespace where operator is installed
  > ec7cf5e New version v0.23.0
bumping github.com/tektoncd/triggers 4365edb...8b4da3f:
  > 8b4da3f Bump Go version to 1.17.8
  > efadb65 Fix CEL example: Wrong Param Name
  > 645dbbb Build tekton triggers with golang 1.17
  > a89a8fd Add v0.19.0 docs link

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

* Fix Tekton version

Signed-off-by: Knative Automation <automation@knative.team>
Co-authored-by: David Simansky <dsimansk@redhat.com>
2022-10-18 21:40:10 +00:00
knative-automation ac081cc764
[main] Upgrade to latest dependencies (#1341)
* upgrade to latest dependencies

bumping sigs.k8s.io/json 9f7c6b3...f223a00:
  > f223a00 Merge pull request # 16 from kevindelgado/strict-error-path-separation
  > ff3dbbe Merge pull request # 14 from liggitt/go118
  > b536e95 store err type and path separately in strict errors
  > 227cbc7 Merge pull request # 15 from liggitt/ci-refresh-go
  > 4017094 sync go1.18 changes from encoding/json
  > 93e9748 Check latest go version in CI
bumping k8s.io/apimachinery 977e6d7...478dd6e:
  > 478dd6e Merge pull request # 112527 from liggitt/automated-cherry-pick-of-# 112526-upstream-release-1.25
  > 14bc1be Limit redirect proxy handling to redirected responses
  > 8252641 Merge pull request # 112330 from enj/automated-cherry-pick-of-# 112193-upstream-release-1.25
  > 10b456c Merge pull request # 112161 from pohly/automated-cherry-pick-of-# 112129-origin-release-1.25
  > 4759a80 Add an option for aggregator
  > 3296217 dependencies: update to ginkgo v2.1.6 and gomega v1.20.1
  > 117bd9b Merge pull request # 111113 from mimowo/retriable-pod-failures-job-controller
  > 74deb3d Merge pull request # 111696 from liggitt/go119mod
  > dbffa07 Support handling of pod failures with respect to the specified rules
  > fef5499 Update go.mod to go1.19
  > 41606c6 Merge pull request # 111677 from dims/stop-panic-in-govet-levee
  > 6627090 run lint-dependencies and follow directions
  > addc01f Stop panic in govet-levee CI job
  > f15b816 Merge pull request # 110495 from alexzielenski/atomic-objectreference
  > e68cae5 update kube-openapi
  > b541046 Merge pull request # 111557 from alexzielenski/update-smd-422
  > ace683f update smd to 4.2.3
  > 899984f Merge pull request # 111587 from ialidzhikov/k8s-utils@ee6ede2d64
  > c77a8ed Update `k8s.io/utils` to `ee6ede2d64ed`
  > 954536d Merge pull request # 111450 from HecarimV/fix-22072710
  > d58901c Merge pull request # 111454 from HecarimV/fix-log-capitalized
  > a9b0d05 cleanup: omit redundant arguments in make call
  > 8b07078 Merge pull request # 111496 from HecarimV/unnecessary-fmt
  > 1be2ea2 cleanup: fix some error log capitalization
  > 3bab4b1 Remove unnecessary use of fmt.Sprintf
  > 47ba8cb Merge pull request # 111442 from ialidzhikov/k8s-utils@56c0de1e6f
  > 0a1c3aa Update `k8s.io/utils` to `9bab9ef40391`
  > 7fb0342 Merge pull request # 111254 from dims/update-to-golang-1.19-rc2
  > 9652184 Merge pull request # 106388 from alexzielenski/ssa-ignore-nonsemantic-changes
  > fdf7942 Generate and format files
  > 915d89a Merge pull request # 111173 from BinacsLee/binacs/regenerate-sets
  > 65bf58a optimize nil and empty also for slices
  > 0661104 Merge pull request # 110178 from kevindelgado/validation-beta-1-25
  > fb683c6 Re-Generate k8s.io/apimachinery/pkg/util/sets
  > 6586a12 optimize nil and empty case for parity with other branch
  > 5d375c1 update kjson
  > 019f1e1 revert timestamp updates to object if non-managed fields do not change
  > cff14a5 Merge pull request # 111081 from HecarimV/fix-22071210
  > afc5e00 Merge pull request # 111008 from cici37/bumpCEL
  > 6f7b214 Fix: some typo in apimachinery/pkg
  > 51e28bc Merge pull request # 111097 from saltbo/fix-thethe-typo
  > cd7836f Bump cel-go to v0.12.0
  > 5074e27 fix: update the typo code comment
  > 0897ed8 Merge pull request # 108532 from cbandy/status-cause
  > 9cb1f71 Merge pull request # 110916 from zhoumingcheng/master-code-v1
  > 9291eff api/errors: Improve performance of Is* functions
  > 4afd3f4 Merge pull request # 109111 from chendave/ginkgo_upstream
  > 8c521e1 Fix a typo
  > 1eec2ee Use errors.As to detect wrapping in StatusCause
  > c87322d update ginkgo from v1 to v2 and gomega to 1.19.0
  > 2496976 Merge pull request # 111001 from pohly/klog-update
  > d40a017 build: update to klog v2.70.1
  > a869692 Merge pull request # 110831 from chendave/openapi
  > e4283bb Bump `kube-openapi` to the latest
  > 66bbc50 Merge pull request # 110788 from 21kyu/change_reflect_ptr
  > 55378ba Change reflect.Ptr to reflect.Pointer
  > e74e8a9 Merge pull request # 110724 from pohly/klog-update
  > 21dbaf7 build: update to klog v2.70.0
  > eda93e0 Merge pull request # 110448 from twilight0620/test0608
  > c5be385 Merge pull request # 110378 from lucacome/bump-grpc
  > 6243438 add some uts of group_version.go
  > bae69c6 Bump grpc to v1.47.0
  > b90ea24 Merge pull request # 110520 from dims/update-gopkg.in/yaml.v3-to-v3.0.1
  > 1831736 Update gopkg.in/yaml.v3 to v3.0.1
  > d407afb Merge pull request # 110351 from dims/switch-to-v3-of-github.com/emicklei/go-restful
  > 5e1e879 Switch to v3 of github.com/emicklei/go-restful
  > be3a79b Merge pull request # 109892 from jlsong01/add_annotation_comments
  > 5abf6e2 Merge pull request # 110207 from wojtek-t/clean_shutdown_managers
  > 21bf400 clarify a comment on annotation key validation
  > be75d4d Make contextForChannel public
  > e3c6631 Merge pull request # 110079 from ash2k/dial-with-context
  > e929c35 Always dial using a context
  > e572490 Merge pull request # 109752 from MadhavJivrajani/remove-apimachinery-clocks
  > e11374f Merge pull request # 110040 from astoycos/fix-panic
  > 5526e82 apimachinery/clock: Delete the clock package
  > ca5c89b Merge pull request # 110029 from ash2k/ash2k/no-double-tls-validation
  > 7c09d67 Fix additional panic
  > 4f2ae94 tls.Dial() validates hostname, no need to do that manually
  > ec91382 Write Unit test to imitate Panic
  > 28c7554 Merge pull request # 109651 from ash2k/ash2k/spdy-cleanup
  > f3b1305 Merge pull request # 108080 from astoycos/issue-132
  > 284911f Pass context for TLS dial
  > 1c398d5 Merge pull request # 107213 from mk46/portname_validation
  > 912a38b Fix Panic Condition
  > f1ceaed Don't clone headers twice
  > 4778951 Merge pull request # 109891 from pohly/log-dependency-update
  > b243f86 Fixed portName validation error message.
  > b85d889 Merge pull request # 109602 from lavalamp/remove-clustername
  > 1c1f82a dependencies: logr and zapr v1.2.3
  > 0ac710b generated files
  > 430b920 Remove ClusterName
  > 5f6d692 Merge pull request # 109804 from cici37/celUpdate
  > a5de00b Merge pull request # 109750 from aojea/spdy_tls
  > b6901b9 Update go-control-plane, cncf/xds/go, cncf/udpa/go and remove unused versions
  > b042ede Merge pull request # 109440 from liggitt/gomod-1.18
  > e57894b spdyroundtripper: d tlson't verify hostname twice
  > 535f064 Update GRPC
  > 92ee148 Regenerate vendor
  > 1564fe5 spdyroundrippter: close the connection if tls handshake fails
  > 5ac2923 Update genproto and antlr.
  > f71cc27 Merge pull request # 109259 from roycaihw/tweak-quantity-docs
  > 54c2bc0 Bump cel-go to v0.11.2
  > 080c0c7 Merge pull request # 109212 from alexzielenski/copylock-fix
  > af9793b Generated files
  > cf0bfa9 Tweak Quantity docstring for ease of reference generation
bumping knative.dev/pkg 8cacac2...714b763:
  > 714b763 upgrade to latest dependencies (# 2609)
  > 21d3b47 upgrade to latest dependencies (# 2608)
  > 8178c38 update k8s to 1.25.2 (# 2599)
  > fb2e4fb Preserve webhook namespaceSelector.matchLabels (# 2605)
  > 5c5da28 Update actions (# 2607)
  > 1fb3e67 Update community files (# 2606)
  > bc93b0a bump min kubernetes to v1.23 (# 2595)

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

* Fix k8s deps

* Regen licenes

* Fix go.mod

Signed-off-by: Knative Automation <automation@knative.team>
Co-authored-by: David Simansky <dsimansk@redhat.com>
2022-10-17 20:47:09 +00:00
Matej Vasek d536b799f2
On cluster build without VCS (#1298)
* refactor: attach() and podReady() more general

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* feat: added function for upload to a volume

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* refactor: extract defaultSecurityContext

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix: added runtime type check

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* feat: allow on-cluster-build without VCS

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix: reword error message

Co-authored-by: Lance Ball <lball@redhat.com>

* fix: runtime type check

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* test: e2e test for direct upload on-cluster-build

Signed-off-by: Matej Vasek <mvasek@redhat.com>

Signed-off-by: Matej Vasek <mvasek@redhat.com>
Co-authored-by: Lance Ball <lball@redhat.com>
2022-10-17 19:52:11 +00:00
Luke Kingland 3a99f1f963
update CLI deps (cobra, viper, etc) (#1326) 2022-10-14 08:21:53 +00:00
Lance Ball 5adec03c7b
chore: update all references to kn-plugin-func (#1311)
* chore: update all references to kn-plugin-func

I did not change references in CHANGELOG.md but otherwise, I believe
this should cover all configuration settings, image names, package
names, etc.

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: fix instances_test.go

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: still some stray kn-plugin-func

Signed-off-by: Lance Ball <lball@redhat.com>

Signed-off-by: Lance Ball <lball@redhat.com>
2022-10-13 16:31:53 +00:00
knative-automation 6b8cccbbf9
upgrade to latest dependencies (#1269)
bumping github.com/prometheus/common 2af6d03...49b3603:
  > 49b3603 Improve OAuth2 user agent handling (# 391)
  > c5e1b60 config: ignore deprecated warning in tests (# 389)
  > b86ea81 OAuth2: Respect disable keepalives option; Implement close idle connections (# 390)
  > cdc09f0 Merge pull request # 387 from roidelapluie/useragent
  > d75e027 Merge pull request # 388 from simonpasquier/fix-tls-tests-for-go-1.18
  > db0284d Fix comment
  > 26d4974 Add more mimetypes (# 385)
  > aeda642 Update to Go 1.18
  > 2d0de85 Use full roundtripper
  > 627089d Set minimum version for go to 1.16 (# 372)
  > 5ab1c85 config: fix testdata for Go 1.18
  > 316097c Use WithUserAgent
  > 3763a1d TLS config: Enable selection of min TLS version (# 375)
  > 99a1aca add User-Agent header to oauth2 requests
  > 0c7319a Remove comment about PROMETHEUS_COMMON_DISABLE_HTTP2 env var because it is no longer true
  > 840c039 Use path.Clean to clean sigv4 path.
  > ffd0efb Deduplicate slashes for sigv4 signature
  > 902cb39 Merge pull request # 365 from prometheus/superq/bump_sigv4
  > 2c24277 Merge pull request # 362 from prometheus/repo_sync
  > 910a9df Update sigv4 modules
  > f6b0912 Merge pull request # 353 from prometheus/superq/bump_go
  > e457c0a Update common Prometheus files
  > 0e1254b Merge pull request # 359 from prometheus/repo_sync
  > 3c43b4d Update build/test
  > 252ff6f Make HTTP2 user visible
  > 809633a Update common Prometheus files
  > 00591a3 circleci: Test with go 1.17 (# 347)
  > 0762b59 Add proxy_url support for oauth2
  > f57586d circleci: add test-assets and style jobs
  > 1871a70 assets: add file system layer for zipped embed assets
  > ce7006e Update common Prometheus files (# 344)
  > 88ce30c Update common Prometheus files (# 340)
  > 88f1636 Remove github.com/pkg/errors dependency (# 338)
bumping contrib.go.opencensus.io/exporter/prometheus f3a7283...e6b6b80:
  > e6b6b80 Merge pull request # 30 from bogdandrutu/updatedeps
  > aaaf212 Merge pull request # 28 from wincus/update-prometheus
  > 75046ad Upgrade all deps to lastest
  > bf25aba update prometheus golang client
bumping golang.org/x/net 0bcc04d...f2f64eb:
  > f2f64eb http2: Send WindowUpdates when remaining bytes are below a threshold
  > ca03788 dns/dnsmessage: remove unnecessary []byte conversions
  > 0081b4b http2/h2c: propagate HTTP/1 server configuration to HTTP/2
  > f8f703f http2: accept HEAD requests with a body
  > bea034e all: remove redundant type conversion
  > 1e95f45 http/httpproxy: remove comment on https proxy precedance
  > f3363e0 http2: handle server errors after sending GOAWAY
  > 83b083e internal/socket: add missing import to zos-s390x file
  > b0a4917 dns/dnsmessage: use exported MustNewName in example
  > 3211cb9 nettest: fix Unix socket test on macOS
  > 4c34ddd http2: delete multipart form tempfiles after ServeHTTP returns
  > 1d4ff48 http2: add DialTLSContext to Transport
  > 13a9a73 http2: fix conn flow control when stream closes on bad content-length
  > 07c6da5 dns/dnsmessage: add AD and CD bits support
  > f428fae all: add FreeBSD riscv64 support
  > a33c5aa route: import syscall rather than golang.org/x/sys/unix
  > 7431dee lif: import syscall rather than golang.org/x/sys/unix

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

Signed-off-by: Knative Automation <automation@knative.team>
2022-10-12 05:44:51 +00:00
Matej Vasek dc14ec7753
feat: ksvc log on (first) deploy (#1286)
Print ksvc pods log on (first) deploy for better debugging.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-10-03 22:02:28 +00:00
David Simansky 4be773d9f6
chore: Update versions of major libraries used (#1277)
* Update buildpacks/pack deps

* Update tektoncd/cli deps

* Regen Linux only licenses

* Downgrade hinshin/vt10x to required version

* Fix deprecated warning in ssh config
2022-09-23 17:46:13 +00:00
David Simansky 4979e03357
Update Go version to 1.18 (#1262) 2022-09-21 13:09:11 +00:00
knative-automation abc3097d75
[main] Upgrade to latest dependencies (#1248)
* upgrade to latest dependencies

bumping k8s.io/kube-openapi 4241196...3ee0da9:
  > 3ee0da9 Merge pull request # 299 from Jefftree/def-optimize
  > 3a31a64 Merge pull request # 292 from Jefftree/v2v3conv
  > ba6f675 Optimize Definition generation
  > e69a86c Merge pull request # 298 from Jefftree/allOf
  > 2cbad14 Add OpenAPIConv
  > 9f9c01d Merge pull request # 297 from cici37/errFix
  > 207f0c7 Wrap Refs with AllOf
  > 29d7264 Merge pull request # 295 from Jefftree/fix-api-json
  > d2a55e8 Align maxProperties/minProperties err value with others
  > 52feaf8 Merge pull request # 290 from jiahuif/feature/prune-v2-when-serving-v3
  > 352e363 Fix json encoding for OpenAPI v3 Discovery
  > 662cbb0 Return valid for kubernetes to handle err properly
  > 13192b9 Merge pull request # 289 from jiahuif/feature/openapi-oneof-type
  > 2580423 remove embedded v2 from expected schema
  > 8a7ee80 Merge pull request # 293 from alexzielenski/cache-busting
  > 79a5a7d generated: update integration test.
  > d436835 add test for pruning v2 schema.
  > 6a7b704 Merge pull request # 291 from Jefftree/builder3-test
  > de6f8b0 split openapi mock class into Fake and FakeV3
  > da7e27a add integration test for v3 OneOf
  > eca4f62 do not include v2 schema when serving v3.
  > 89ac9db Merge pull request # 284 from Jefftree/cache-busting
  > 7afa56c Add test for builder3
  > 3ca26f0 address comments
  > 697543f add support for custom v3 oneOf types.
  > ddc6692 Merge pull request # 288 from Jefftree/gnostic-fix
  > b0d7548 Cache busting
  > 130db2b add wrapper around gnostic v3 document
  > a9dfcaa Merge pull request # 286 from Jefftree/leading-newline
  > 91ab739 Update gnostic to drop jsonschema dependency
  > 3f90b8c Merge pull request # 282 from alexzielenski/header_vendorext_marshal
  > c7e0de3 Merge pull request # 285 from Jefftree/proto-upgrade
  > 7626df5 Trim leading newlines in Descriptions
  > 1cd4920 add vendor extensions to marshal openapi v2 header
  > 86aaf54 Upgrade protobuf and change references of googleapis/gnostic -> google/gnostic

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

* Fix client-go version

* Add missing license file

* Add another missing license file

Signed-off-by: Knative Automation <automation@knative.team>
Co-authored-by: David Simansky <dsimansk@redhat.com>
2022-09-20 11:17:09 +00:00
knative-automation 155b6f158f
upgrade to latest dependencies (#1245)
bumping k8s.io/klog/v2 43cc75f...0990e81:
  > 0990e81 Merge pull request # 342 from pohly/harshanarayana-reviewer
  > 33351c0 Merge pull request # 341 from pohly/contextual-logging-state-fix
  > 442891b OWNERS: add harshanarayana
  > ea66a13 Merge pull request # 337 from pohly/testing-logger-stop
  > c2d5a45 contextual logging: enable by default again
  > 7a070b4 Merge pull request # 333 from harshanarayana/tests/GIT-275-add-additional-test-for-kv
  > 9405f8e ktesting: stop using testing.T when test completes
  > 265aa25 Merge pull request # 327 from pohly/buffer-logger
  > 280fc18 GIT-275: add tests for int and struct keys
  > 78f38f6 ktesting: fix type assertion
  > ca252b1 Merge pull request # 328 from pohly/fatal-backtrace-revert
  > 325472d ktesting: capture log data in memory
  > 66544b3 ktesting: use black box testing
  > 49e17d5 Merge pull request # 332 from harshanarayana/bug/GIT-331/fix-variable-shadown
  > c5c3132 klog.Fatal: document behavior and alternatives
  > 6b3fb0b Merge pull request # 329 from pohly/apidiff-fix
  > 9c48b7d Merge pull request # 330 from pohly/logtools-removal
  > e4329d2 GIT-331: fix shadowing key from the kv pair
  > c977919 klog.Fatal: revert dumping of all stack backtraces to stderr
  > ea35802 Merge pull request # 320 from pohly/state-restore
  > 49d73a5 GitHub: use apidiff with more recent Go
  > e9884d2 remove hack/tools
  > a585df9 Merge pull request # 326 from pohly/remove-trim-duplicates
  > 3c90bf9 refactor global state
  > 788efcd Merge pull request # 325 from pohly/logr-marshaler
  > cebb190 internal: remove unused TrimDuplicates
  > 296f5e6 save and restore state
  > 42bf7a2 Merge pull request # 322 from pohly/kobjs-performance
  > 369b848 support logr.Marshaler
  > cc2ce06 Merge pull request # 315 from pohly/logcheck-regexp
  > 87ca629 Merge pull request # 324 from pohly/trim-duplicates
  > 8a3e48e replace KObjs with KObjSlice
  > c697110 Merge pull request # 314 from pohly/stop-flush-daemon-clarification
  > 5079582 logcheck: fix detection of invalid * regexp in filter
  > 7a827a0 Merge pull request # 319 from pohly/klog-help-texts
  > 4c3943c use faster MergeKVs
  > ff92e06 test: add benchmark for KObjs
  > d07cbbf Merge pull request # 313 from pohly/logcheck-contextual-logging
  > 47f254f StopFlushDaemon: document flushing on shutdown
  > 2910cb1 README.md: clarify -logtostderr
  > 6f47a32 klogr: simplify test failure message
  > 4a4a786 Merge pull request # 297 from pohly/logcheck-contextual-logging
  > 7179178 hack/tools: drop dependency on golangci-lint
  > e2432e8 serialize: add MergeKVs as faster TrimDuplicates alternative
  > b46e95d Merge pull request # 311 from pohly/contextual-logging-stable
  > 1876dee logcheck: harmonize report messages
  > e6d69a5 serialize: benchmark and test TrimDuplicates
  > 7b1c318 Merge pull request # 310 from pohly/fork-clock
  > 36e44e7 promote non-test APIs to stable
  > 216a02e logcheck: add check for With* and NewContext
  > e3af9af dependencies: avoid k8s.io/utils, fork clock code instead
  > 317fe52 logcheck: optionally warn about using direct klog logging
  > 41995aa logcheck: detect if V().Enabled()
  > 5b4c326 logcheck: warn about functions with both Logger and Context
  > 567c037 logcheck: support logr.Logger
  > c4c35ff logcheck: support import renaming and improve klog.V(2) handling
  > df531eb logcheck: support running as golangci-lint plugin
  > 3f08024 logcheck: also check for format specifier in calls like klog.Info
  > 0c36cf7 logcheck: move into package
  > 93980ca logcheck: add test cases for parameter check
bumping knative.dev/pkg e325df6...4a03844:
  > 4a03844 fix double close of channel (# 2575)
  > f78a006 upgrade to latest dependencies (# 2573)
  > d02dcd0 allow drainer to be reset (# 2572)
  > 894c2f2 SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (# 2566)
  > 4f6a775 Remove pkg/pool (# 2568)
  > 9a1245b Update actions (# 2571)
  > 0049fdd Update community files (# 2570)
  > 52261a1 Update community files (# 2569)
  > 7b8b060 Add tracing.SetupDynamicPublishingWithInitialValue (# 2558)
  > a01dfed bump to k8s 0.23.9 (# 2565)
  > 449f7e6 Update community files (# 2564)
  > ed7ab1d upgrade to latest dependencies (# 2559)
  > 6c9c1c6 remove defunct markdown linting variable (# 2552)
  > 3764d73 fix linting (# 2555)
  > a286510 upgrade to latest dependencies (# 2554)
  > 1a5e168 Update community files (# 2553)
  > c488837 Add reconcile for ValidatingWebhookConfiguration and MutatingWebhookConfiguration. (# 2550)
  > 1ad02a5 Drop error from changeset.Get signature (# 2549)
  > 473ba31 Bump min go version to  1.18 && read build info from embedded binary (# 2548)
  > f1f36a2 Fix subresource update logic. (# 2546)
  > 418e138 Update community files (# 2545)
  > e60d250 upgrade to latest dependencies (# 2543)
  > 97eb150 Update community files (# 2541)
  > 5569169 update boilerplate date (# 2539)
  > 85965e1 upgrade to latest dependencies (# 2540)
  > f4ae0af Update community files (# 2538)
  > f5db225 Drop `UserInfo` from logger tagging in webhook. (# 2535)
  > 1777513 Update actions (# 2536)
  > 9c5a731 bump k8s deps to v0.23.8 (# 2534)
  > 1f01575 Add fix for CVE-2022-28948 (# 2532)
  > 7d607d6 Update community files (# 2531)
  > 865e331 Update community files (# 2530)
  > ec27457 Update community files (# 2529)
  > 759dd87 Update community files (# 2528)
  > aad4309 sets mutating webhook ReinvocationPolicy to ifNeeded (# 2472)
  > 9ffe192 Update community files (# 2527)
  > bac16f2 Update community files (# 2525)
  > 18f6995 Log metrics/logging init messages at debug level (# 2522)
  > 19adf79 upgrade to latest dependencies (# 2524)
  > b0ff5ad Update actions (# 2523)
  > f907b31 Update community files (# 2520)
  > 2d8305b Update community files (# 2517)
  > a8b7d99 Update community files (# 2515)
  > 0719b40 upgrade to latest dependencies (# 2512)
  > 2451664 Switch to iota/fmt.Stringer-based diagnostic levels. (# 2511)
  > ea3c8cb Fix timeout test on darwin and log dial destination on timeout. (# 2510)
  > af54d73 Support fetching configs from `ctx`. (# 2505)
  > 5f5455f Use the updated action that infers the module name (# 2509)
  > 4fced01 Use knative/action/go/downstream-test (# 2507)
  > 16b36b7 Add support for admission webhook warnings. (# 2498)
  > 6ec9c1a Fix linting (# 2506)
  > 5c8cc3c Ignore migration of CRDs that aren't installed (# 2493)
  > 2d552be Add genreconcile for core/v1 Node (# 2503)
  > fd05bf1 upgrade to latest dependencies (# 2500)
  > 1f681e1 Update community files (# 2501)
  > 45c37c2 🐛 `TestDialWithBackoff` work without special environment (# 2402)
  > 12be060 Update actions (# 2492)
bumping k8s.io/apiextensions-apiserver 75190f0...cf300a6:
  > cf300a6 Update dependencies to v0.23.9 tag
  > 99b3fbf Merge pull request # 108791 from aojea/cherry-pick-108772
  > 276c5e1 client-go: update generated
  > 7e8010d Merge pull request # 108438 from andrewsykim/bump-konnectivity-v0.0.29-1-23
  > d71faf1 bump sigs.k8s.io/apiserver-network-proxy/konnectivity-client@v0.0.30
bumping knative.dev/client c53658b...6d86bf7:
  > 6d86bf7 upgrade to latest dependencies (# 1727)
  > be439e1 upgrade to latest dependencies (# 1725)
  > 6c81567 added gvr sink test cases and support to specify resource name in both singular/plural versions (# 1724)
  > 76b3724 Update community files (# 1726)
  > a4a1163 upgrade to latest dependencies (# 1719)
  > 8142687 Update actions (# 1721)
  > 7d05561 Update community files (# 1720)
  > fa2ea50 Update community files (# 1718)
  > bf20fe2 Add support for providing sink spec in GVR format (# 1717)
  > ebc6729 upgrade to latest dependencies (# 1716)
  > e918cd2 Bump Go version to 1.18 (# 1715)
  > 664b899 upgrade to latest dependencies (# 1714)
  > 559a4bd upgrade to latest dependencies (# 1711)
  > 05ccf8e Fix volume creation for PVC (# 1709)
  > 526d680 Update community files (# 1710)
  > ed5fed5 upgrade to latest dependencies (# 1708)
  > 2f1eefe Add check for PVC status in E2E tests (# 1707)
  > 452863f remove defunct markdown linting variable (# 1705)
  > cbf710a Update community files (# 1706)
  > 5251985 Update community files (# 1703)
  > bfdc0a2 upgrade to latest dependencies (# 1702)
  > 61579a2 Added --broker-config flag to broker create command (# 1700)
  > 9abb876 Add --probe-liveness and --probe-readiness flags (# 1697)
  > f2dd5fc upgrade to latest dependencies (# 1701)
  > 8931db0 Add release note section to PR template (# 1692)
  > e650378 upgrade to latest dependencies (# 1699)
  > cfed6d7 upgrade to latest dependencies (# 1694)
  > c23a1f7 Added PVC support to volume mounts (# 1693)
  > e2e0632 Update community files (# 1698)
  > 06a463f Update community files (# 1696)
  > 458a6b7 Update actions (# 1695)
  > b696546 Added support for mounting EmptyDir volume type (# 1679)
  > 1b03977 upgrade to latest dependencies (# 1690)
  > 56e1462 upgrade to latest dependencies (# 1688)
  > ada0005 Update community files (# 1689)
  > 95f6a55 Update community files (# 1687)
  > 9b04077 Update community files (# 1686)
  > 6210f96 Update community files (# 1685)
  > 7ac23db Update community files (# 1683)
  > 363ec94 Update community files (# 1682)
  > 0646532 upgrade to latest dependencies (# 1681)
  > 4cccb5f Update changelog for 1.5 release (# 1680)
  > dec1fa5 upgrade to latest dependencies (# 1678)
  > 2a56f07 Added delivery options to broker create (# 1670)
  > 4df6010 [main] Upgrade to latest dependencies (# 1675)
  > 2f4e192 Update actions (# 1677)
  > 8cfec3d Update community files (# 1676)
  > 00b7886 Update community files (# 1674)
  > dcd6bb6 upgrade to latest dependencies (# 1671)
  > 48ff336 Cleanup sugar controller setup (# 1669)
  > e3dbe58 Fix Tekton e2e script (# 1673)
  > 94a5352 Update community files (# 1672)
  > e734ca6 upgrade to latest dependencies (# 1668)
  > 06b4b9e Bump Tekton pipeline version to latest by default (# 1667)
  > bcd18d3 Fix OCI image build (# 1666)
  > fef2f69 upgrade to latest dependencies (# 1663)
  > 76a0b1e Fix display version in OCI image (# 1662)
  > 93e27f7 Mark --inject-broker flag as deprecated (# 1661)
  > 2eaeab4 Update community files (# 1664)
  > 736c7c2 test: use `T.TempDir` to create temporary test directory (# 1660)
bumping gopkg.in/yaml.v3 496545a...f6f7691:
  > f6f7691 The Billion Dollar Mistake
  > 00bbc09 github: drop broken semgrep workflow
  > 8f96da9 Explicitly check the parser for errors on peek
  > 539c8e7 Fix decoding of merge tags.
bumping knative.dev/serving 69a88e9...9402a71:
  > 9402a71 revision request start timeout should default to revision timeout second (# 13256)
  > d79b8bb upgrade to latest dependencies (# 13246)
  > 8a2fb54 Update net-istio nightly (# 13242)
  > 768e8ba Update net-certmanager nightly (# 13241)
  > 3178bc9 Update net-contour nightly (# 13244)
  > 374b282 Update community files (# 13240)
  > 7315b02 Update net-kourier nightly (# 13236)
  > 2a72beb upgrade to latest dependencies (# 13238)
  > 765a052 Update net-certmanager nightly (# 13234)
  > ea5c535 stop the queue-proxy drain if we don't receive a TERM signal (# 13229)
  > 8d0281e Update net-istio nightly (# 13222)
  > d60e5e7 upgrade to latest dependencies (# 13227)
  > d89869e Properly shutdown tracer when the work is done (# 13226)
  > b3a7557 Update net-contour nightly (# 13225)
  > 358d04e Update net-certmanager nightly (# 13224)
  > b48e0e5 Update net-kourier nightly (# 13223)
  > dbd3fc3 Update net-certmanager nightly (# 13218)
  > 15ee48d Update net-contour nightly (# 13220)
  > 0474e35 Update net-istio nightly (# 13219)
  > 951c48c Update net-kourier nightly (# 13221)
  > 77d24d1 Update net-gateway-api nightly (# 13217)
  > ee06bc5 fix linting (# 13216)
  > 58148c5 upgrade to latest dependencies (# 13215)
  > d4601f3 Update actions (# 13214)
  > dd2abc9 Refactor VolumeMountPath to Directory (# 13202)
  > 468bb83 Update community files (# 13213)
  > fb89ff1 Update net-gateway-api nightly (# 13212)
  > 86a3daf Update net-istio nightly (# 13207)
  > 7cfc194 Update net-kourier nightly (# 13206)
  > 8acf355 Update net-contour nightly (# 13205)
  > b9ca11e Update community files (# 13203)
  > 2e77abf Fix timeout handlers to max duration instead of time to first byte (# 12970)
  > 5bba016 A refactor of the queue volume constants (# 13146)
  > 24e1ec2 Update net-gateway-api nightly (# 13198)
  > fd833bc Update net-kourier nightly (# 13196)
  > 698ac9e Update net-contour nightly (# 13194)
  > 9399fb2 Update net-gateway-api nightly (# 13195)
  > 16730b2 Fixes resource quota test flake (# 13181)
  > f77b15e Update net-gateway-api nightly (# 13190)
  > 19f508c Update net-kourier nightly (# 13187)
  > 838bbb0 Update net-istio nightly (# 13189)
  > abb923e Update net-contour nightly (# 13188)
  > 78ddf60 upgrade to latest dependencies (# 13186)
  > 725c38c Update net-kourier nightly (# 13184)
  > e9a0ce9 Update net-gateway-api nightly (# 13183)
  > e600ae7 Make Kingress reconciled with DomainMapping when adding a new label (# 13178)
  > bfa381a Update net-gateway-api nightly (# 13180)
  > 9574ddb Update net-contour nightly (# 13179)
  > 875937b upgrade to latest dependencies (# 13177)
  > 782df98 Qp options config additions only (# 13162)
  > 034035b add paul to party, update sched through 2022 (# 13174)
  > a2cf188 Add e2e test for DomainMapping working with websocket. (# 13077)
  > 02d89d8 Update net-contour nightly (# 13171)
  > 77340bb Update net-kourier nightly (# 13170)
  > f846b2c bumping go.mod to v1.18 (# 13169)
  > 8fc6d87 Update net-istio nightly (# 13167)
  > 0b694b0 Update net-certmanager nightly (# 13165)
  > b3fb541 Update net-gateway-api nightly (# 13164)
  > 1f849ab Update net-kourier nightly (# 13166)
  > d0887e7 Update community files (# 13163)
  > bb043fa updating name of activation-scale (# 13161)
  > addd55a Add active-min-scale annotation (# 13136)
  > c82be27 Update net-istio nightly (# 13156)
  > f428628 Update net-gateway-api nightly (# 13155)
  > 63523f9 Enable refactoring queue-proxy binary with out-of-tree extensions (# 13133)
  > 8f351ad Update net-gateway-api nightly (# 13152)
  > 1656d0d Update net-certmanager nightly (# 13151)
  > 08c4062 Update net-kourier nightly (# 13150)
  > 2a22c44 upgrade to latest dependencies (# 13147)
  > 808923d upgrade to latest dependencies (# 13144)
  > ca011f8 Update net-certmanager nightly (# 13142)
  > 50a87e9 Stop using knative.dev/pkg/pool, use errgroup instead (# 13143)
  > 5467217 remove defunct markdown lint and linking variables (# 13137)
  > ed1397d Update `changeset.Get` according to pkg update (# 13141)
  > d1f8e8d bump go version in kind-e2e tests to v1.18 (# 13140)
  > dc552e5 Update community files (# 13138)
  > 38973e5 Update net-gateway-api nightly (# 13134)
  > 044d947 Update net-kourier nightly (# 13132)
  > 017b9d0 Don't included git info in our containers (# 13130)
  > 167199a QP shim main (# 13128)
  > d366049 Update community files (# 13129)
  > 97517d3 Add test flag --ingress-class (# 13117)
  > ed2ddf2 Update net-gateway-api nightly (# 13124)
  > 3ce8ebb Update net-gateway-api nightly (# 13119)
  > 57c2a04 Update net-contour nightly (# 13120)
  > 3666ce7 upgrade to latest dependencies (# 13116)
  > 67347fe Update net-contour nightly (# 13115)
  > 9c88305 Update net-certmanager nightly (# 13113)
  > 4009fb7 Update net-kourier nightly (# 13114)
  > e2862ae allow unknown fields in our webhooks since our CRD schemas are now specified (# 13111)
  > 3360e41 Remove Prometheus stat reporter from queue-proxy (# 12961)
  > 4fa002a Update net-gateway-api nightly (# 13106)
  > e701a33 Update Knative Serving schema (# 13095)
  > 432b38d Update net-certmanager nightly (# 13105)
  > 4b09847 Update net-contour nightly (# 13107)
  > 1d44884 Update net-kourier nightly (# 13104)
  > 1ba9714 Update net-istio nightly (# 13103)
  > deed9f4 Add filtering secret informer label for internal-encryption (# 13082)
  > 9f4f28d Update net-istio nightly (# 13100)
  > f9951ec Add overview for scaling doc (# 13088)
  > 499c0af Update net-gateway-api nightly (# 13093)
  > c190a06 Update net-kourier nightly (# 13092)
  > 70c3309 Drop EnableAlphaFeatures from TestHttpRedirect (# 13084)
  > bf49148 upgrade to latest dependencies (# 13089)
  > 6ceb219 upgrade to latest dependencies (# 13087)
  > 2e823f7 Update net-istio nightly (# 13086)
  > 2ea6b3e Update net-gateway-api nightly (# 13085)
  > 838305e upgrade to latest dependencies (# 13081)
  > a3348ed Update net-gateway-api nightly (# 13080)
  > ef11229 Update net-contour nightly (# 13079)
  > 8d6189c Update net-certmanager nightly (# 13078)
  > 4695705 Update net-kourier nightly (# 13030)
  > dd5cf21 upgrade to latest dependencies (# 13037)
  > df215c7 Update community files (# 13076)
  > 58cce54 Support config to deploy internal certificates automatically (# 13005)
  > 25de812 Fix webhook config drift issue (# 13061)
  > ee386a1 Update community files (# 13068)
  > d9cb5f0 Update net-istio nightly (# 13067)
  > 189003d Update net-contour nightly (# 13066)
  > d0367df Update net-gateway-api nightly (# 13064)
  > 278cedc Update net-certmanager nightly (# 13065)
  > 1da6f33 Update actions (# 13063)
  > cd85b44 Update net-gateway-api nightly (# 13062)
  > 752c336 Allow calls to test.Setup to disable logstream (# 13046)
  > 8f62874 Update net-certmanager nightly (# 13040)
  > 2b7f301 Update net-istio nightly (# 13031)
  > 6eccc36 Update net-gateway-api nightly (# 13029)
  > 38c5dbc Update net-contour nightly (# 13032)
  > f25a0df Temporarily disable flaky kind test (# 13055)
  > 3573163 only watch endpoints for our private services (# 13048)
  > 35a94ff Update link, thanks to Zhu Lei (# 13052)
  > 5f8892f skip http2 test early (# 13047)
  > e67dbb9 Improve SKS handling for unavailable Activator. (# 13027)
  > 6fca86c fix scale-from-zero mako test (# 13035)
  > 7c2b46d Relax the "timeout" requirement for `TestProbeRuntimeAfterStartup` (# 13026)
  > d54ad4c Remove the scale-to-zero checking in conformance. (# 13025)
  > 2f7b6db Bump kind to v0.14 for e2e tests (# 13022)
  > eeaff1c upgrade to latest dependencies (# 13016)
  > 50a42a9 Update net-certmanager nightly (# 13018)
  > 15111a1 Update net-istio nightly (# 13017)
  > 093ba0b Update net-gateway-api nightly (# 13021)
  > bc6d456 Update net-kourier nightly (# 13020)
  > 1997324 Update net-contour nightly (# 13019)
  > bf3b740 Update community files (# 13015)
  > 1ec8ad3 Update net-gateway-api nightly (# 13013)
  > 81fc500 Update community files (# 13014)
  > 78272a6 Update community files (# 13012)
  > 2b88568 regen protobuf after bumping the versions in the prow-image (# 13011)
  > 47cf88d Update net-contour nightly (# 13006)
  > 01f81e9 Update net-gateway-api nightly (# 13008)
  > 1be5251 Update net-certmanager nightly (# 13007)
  > 0d0cb33 Update net-istio nightly (# 13010)
  > 8de1a68 Update net-kourier nightly (# 13009)
  > 3c1b20e Update community files (# 13004)
  > 0c0acc9 add openssf knative badge (# 13001)
  > bb5bdbb Update net-contour nightly (# 12992)
  > a8dc74c Update net-gateway-api nightly (# 12991)
  > 67ee782 Update net-certmanager nightly (# 12990)
  > 9c56abc Update net-kourier nightly (# 12994)
  > 6bb3576 Update net-istio nightly (# 12993)
  > 6e4a27d Update community files (# 12988)
  > 44178dc Update net-kourier nightly (# 12984)
  > 7e45e5a Update net-gateway-api nightly (# 12983)
  > 527c69a Update net-istio nightly (# 12985)
  > 6a1160a Update net-contour nightly (# 12982)
  > 7134e31 Update net-certmanager nightly (# 12979)
  > 77c2527 Update community files (# 12981)
  > 36ee6f2 Update net-contour nightly (# 12964)
  > d7027b5 skips default probe if container freezer in use (# 12967)
  > 797bee5 Update net-kourier nightly (# 12976)
  > ca6a190 Support parsing host header with port (# 12974)
  > 620139a Update net-gateway-api nightly (# 12968)
  > 293a95a Update net-istio nightly (# 12975)
  > 33dbc31 Log confirmation of queue-proxy startup (# 12965)
  > d14ebd8 Update net-kourier nightly (# 12962)
  > 158177d Update net-certmanager nightly (# 12957)
  > 22f2af6 Update net-istio nightly (# 12956)
  > 3446ca3 upgrade to latest dependencies (# 12955)
  > b44da83 Update actions (# 12963)
  > 45f7c05 Fix deprecation notices (# 12958)
  > 4446497 fix owner files after merging scaling + serving working groups (# 12960)
  > 92b11a8 drop swap file (# 12959)
  > 591e12d upgrade to latest dependencies (# 12954)
  > a522443 Update net-istio nightly (# 12951)
  > 9ea835d Update net-gateway-api nightly (# 12950)
  > bc7fcd3 Update net-certmanager nightly (# 12949)
  > b2fff20 Update net-contour nightly (# 12948)
  > 9db81c3 Update net-kourier nightly (# 12952)
  > 4e54509 Update community files (# 12946)
  > 646e5cc Update net-istio nightly (# 12945)
  > f56e235 Update net-certmanager nightly (# 12944)
  > 08f0d31 Update net-contour nightly (# 12929)
  > ba84f6e upgrade to latest dependencies (# 12943)
  > 08e09bc kind-e2e dump namespaces and crds (# 12942)
  > 5776635 Update net-istio nightly (# 12931)
  > d7e2e3a Update net-certmanager nightly (# 12928)
  > 0bdaf56 Update net-kourier nightly (# 12930)
  > 3b832ad Update net-gateway-api nightly (# 12926)
  > 1a99825 Use mako stub for collecting performance tests results (# 12889)
  > fd6b191 fix a flake where the informer didn't have KPA (# 12934)
  > 9b7788c Update community files (# 12933)
  > f778a37 Update net-certmanager nightly (# 12925)
  > f726b1d Bump cert-manager to 1.8.0 (# 12923)
  > 01f15e1 Update net-gateway-api nightly (# 12920)
  > dcb16f2 Update net-kourier nightly (# 12919)
  > d9f4954 Update net-istio nightly (# 12918)
  > 69bf45c Update net-certmanager nightly (# 12901)
  > 754ea6c Update net-kourier nightly (# 12916)
  > 4273c6e Update net-contour nightly (# 12915)
  > 119517a Update net-gateway-api nightly (# 12902)
  > 18da4c0 upgrade to latest dependencies (# 12907)
  > 8129005 Update community files (# 12913)
  > 9dc1baa run go.mod tidy (# 12911)
  > 061be9e Fixing the panicRPSM parameter in autoscaler (# 12910)
  > 7aa5d8a Update net-kourier nightly (# 12903)
  > f6cb424 Add support for `dnsConfig` and `dnsPolicy` in pod spec (# 12897)
  > 89be0fd modify checksum so its not a float64 (# 12900)
  > 078e0b9 upgrade to latest dependencies (# 12899)
  > 0d76bb7 Update net-certmanager nightly (# 12879)
  > 95cfa70 ServerlessService's initial operation mode is now Proxy (# 12842)
  > 5128270 upgrade to latest dependencies (# 12890)
  > 7184235 Update net-kourier nightly (# 12885)
  > c2394b6 Update net-gateway-api nightly (# 12884)
  > 2dd73f5 Update net-contour nightly (# 12883)
  > 47238dc upgrade to latest dependencies (# 12882)
  > 6b3905b Update community files (# 12881)
  > e99c34f upgrade to latest dependencies (# 12878)
  > f7deea4 Use imjasonh/setup-ko (# 12868)
  > 527730f Update net-kourier nightly (# 12869)
bumping go.uber.org/multierr a5cd550...10aaa3c:
  > 10aaa3c Prepare release v1.8.0 (# 56)
  > cea7d2e Combine: Optimize for all nil (# 55)
  > d49c2ba doc: AppendInvoke: Fix typo (# 54)
  > ee7346a Merge pull request # 52 from uber-go/fossa
  > 7c6ff6f Integrate FOSSA (# 51)
  > d9efa4b fossa: Run separately, only on push
bumping knative.dev/eventing e345f5f...6ffef0f:
  > 6ffef0f Make some broker conformance tests decoratable with broker options (# 6517)
  > 6822f0d [release-1.7] InMemoryChannel receiver validates received events (# 6512)
  > a9151b5 upgrade to latest dependencies (# 6495)
  > 291e961 upgrade to latest dependencies (# 6493)
  > cc06bab Update community files (# 6492)
  > 0060ddd upgrade to latest dependencies (# 6491)
  > 5ee6158 Make sure tracer is shut down across components (# 6474)
  > 091ee6e Remove deprecated functions from test/upgrade package (# 6489)
  > 6eb4c78 upgrade to latest dependencies (# 6487)
  > cb3901f Increase max namespace count for e2e test runner (# 6486)
  > 1d00055 upgrade to latest dependencies (# 6485)
  > ab981d6 Upgrade deps (# 6484)
  > 7414f6b Update actions (# 6483)
  > df904f8 Update community files (# 6482)
  > 08ede0b Knative port sink binding v1 job test to rekt (# 6481)
  > 4e56370 Update community files (# 6480)
  > aceb557 Knative port sink binding v1 deployment test to rekt (# 6479)
  > 37cb0e9 Knative port source at event types test to rekt (# 6476)
  > c884e27 Remove the filter restriction of only containing exactly one attribute (# 6477)
  > f7e8eef use go1.18 (# 6470)
  > d99685b Promote strict subscriber to beta (# 6473)
  > 5a8f707 Promote delivery timeout to beta (# 6472)
  > 840fce7 chore: update sugar controller ConfigMap example (# 6460)
  > 7e30288 Ignore trailing slashes for Broker addresses (# 6471)
  > 32dea96 update trace of apiserversource (# 6458)
  > 480c8cb Adds receiver options for configuring read and write timeouts message receiver (# 6306)
  > 37dc195 Port Pingsource test to rekt (# 6463)
  > 15dd7ca 🧹 Remove dead variables & config for presubmit markdown checking (# 6452)
  > e5405de Update community files (# 6462)
  > c8435ed 🧹 Accommodate to knative-sandbox/reconciler-test# 294 (# 6451)
  > 5a21cd4 Update community files (# 6453)
  > 365a012 Update community files (# 6449)
  > 0eb566a upgrade to latest dependencies (# 6448)
  > 2d2e049 Increase initialDelaySeconds to 120 for webhooks (# 6447)
  > b84ec54 Refactor tracing helper to be reusable (# 6446)
  > 465db7c Bump prom client version for CVE-2022-21698 (# 6443)
  > cb776ce Add validation methods for ingress feature in broker's conformance test (# 6434)
  > aea0887 Deschedule placements on FinalizeKind (# 6440)
  > d3813f7 Golang version update (# 6433)
  > a63ea4e upgrade to latest dependencies (# 6436)
  > f69e181 Update community files (# 6435)
  > 159f4ec upgrade to latest dependencies (# 6432)
  > 33d1be7 Bump PodDisruptionBudget to policy/v1 (# 6424)
  > ee47ed1 Update community files (# 6431)
  > 9c41f75 upgrade to latest dependencies (# 6428)
  > eaec729 Update actions (# 6427)
  > 7763e03 upgrade to latest dependencies (# 6423)
  > 0866e62 Report last error for unavailability periods (# 6381)
  > c1b0ea6 Bump cloudevents/sdk-go to v2.10.1 (# 6422)
  > c71c362 upgrade to latest dependencies (# 6419)
  > f488f46 Update community files (# 6418)
  > 57f2395 Update community files (# 6416)
  > 59d13fa Update community files (# 6414)
  > 6072846 Update community files (# 6413)
  > 6fc4a54 add openssf badge (# 6412)
  > 13ed6ed Update community files (# 6411)
  > 816db8d Parallel to use `subscription.subscriber` instead of `reply` if there's no filter (# 6405)
  > 21ab643 Update community files (# 6406)
  > 56edb3b upgrade to latest dependencies (# 6398)
  > 1096fc2 Update actions (# 6397)
  > c3e1396 Propagate log level to env var in source ConfigWatcher (# 6391)
  > 9449169 Update community files (# 6390)
  > d7a8a95 upgrade to latest dependencies (# 6389)
  > 75253dc Only proxy some headers from the reply in MTBroker filter (# 6357)
  > bba50a4 Upgrade test exports logs before shutting down sender (# 6384)
  > 0a738fd Remove calling 'ExecuteLocalYAML', b/c it is deprecated (# 6380)
  > e7c9ffc Adding retry for 408 (Request Timeout) http status code ♻️ (# 6370)
  > b966175 remove the namespae for the imc (# 6382)
  > 005d6b6 adding util for adding custom annotation values to different broker implementation usage (# 6378)
  > 02a6fa0 Update community files (# 6379)
  > ee7c071 Update the link of the sample code.(# 6374) (# 6375)
  > 9af9870 upgrade to latest dependencies (# 6371)
  > 59e25b8 Export trace for events which exceeded unavailable period limit (# 6372)
  > 22e2a2c upgrade to latest dependencies (# 6365)
  > e033a2a Update community files (# 6369)
  > ec36c86 upgrade to latest dependencies (# 6360)
  > 01f5612 fix pingsource-mt-adapter crash when initial replica is more than 0 (# 6359)
  > 11dd387 Update support rotation (# 6351)
  > 98de1d7 upgrade to latest dependencies (# 6350)
  > 2219e14 Fix performance tests setup (# 6340)
  > 3abb436 properly initialize branchStatuses (# 6354)
  > 2d47847 Update community files (# 6355)
  > 3e24a78 NPE fix (# 6343)
  > 1104746 [scheduler] Use node taints for keeping track of available nodes and zones (# 6291)
bumping knative.dev/hack 9e09abc...8d1e4cc:
  > 8d1e4cc fix go run invocation of github hub cli (# 213)
  > d35c718 [release-1.7] go run... (# 211)
  > e9a8475 Update community files (# 208)
  > 4621ee6 Update community files (# 207)
  > 9dabf7c Update community files (# 206)
  > 782bbaa drop warning (# 204)
  > 92c7e36 Fix the buoy invocation (# 203)
  > 123a278 🧹 Migrate to using the `go run` instead of `go install` (# 172)
  > a645040 Update community files (# 201)
  > 81e30c2 remove references to git markdown checking (# 199)
  > e3be8da Update community files (# 197)
  > 65c463a Update community files (# 195)
  > e7d6365 Add [skip-dot-release] feature (# 189)
  > 33ce6af Update community files (# 190)
  > dc6c287 Update community files (# 185)
  > fd240e2 Update community files (# 184)
  > 40350b6 Update community files (# 183)
  > 674c2b3 Update community files (# 182)
  > 0c389ad Update community files (# 181)
  > bafe4b1 Update community files (# 180)
  > 12d3e2a switch to UTC (# 176)
  > b4d4d73 Update community files (# 178)
  > f4972b4 Update community files (# 177)
  > a8076b0 Model []byte as strings (# 175)
  > ccf82ad Update community files (# 174)
  > 46c77f1 Skip passing enable-ha flag to test script (# 173)
  > 5f47386 Update community files (# 171)
  > 2a09b5c only use `install` for run_go_tool (# 169)
bumping go.uber.org/zap ad0b02d...6f34060:
  > 6f34060 Release v1.21.0 (# 1059)
  > a7613b2 JSON Encoder: Don't panic if EncodeLevel unset (# 1058)
  > a1155d9 Optimize AddCaller+AddStacktrace by sharing stacks (# 1052)
  > 3f20106 lint: Remove redundant embedded field accesses (# 1051)
  > c087e07 zap: Add ParseAtomicLevel func (# 1048)
  > e751939 zapcore: Add ParseLevel (# 1047)
bumping golang.org/x/sync 036812b...886fb93:
  > 886fb93 A+C: delete AUTHORS and CONTRIBUTORS
  > 0de741c x/sync/errgroup: make note of the default errgroup goroutine limit (unlimited)
  > 0976fa6 x/sync/errgroup: add TryGo and SetLimit to control concurrency

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

Signed-off-by: Knative Automation <automation@knative.team>
2022-09-14 16:46:05 +00:00
Luke Kingland 15713b2a75
feat!: deploy autobuild and flag persistence (#1079)
* feat: deploy autobuild and flag persistence

* cleanup

* help text, comments and test cleanup

* removing usurped commands.txt

* add platform to deploy synopsis help
2022-09-14 11:45:10 +00:00
Adam Boczek 4d622bc007
feat: group main help message to put important commands to the top (#1152)
* feat: add initial version of command groups and template engine (#215)

* feat: add relevant dependencies and vendor files (#215)

* feat: extend TestUsageFlags for hidden flags and flags with no shorthand (#215)

* feat: refactor root.go to use command groups (#215)

* feat: move the long help of root cmd to the usage templates section (#215)

* feat: updates after rebase (#215)

* feat: update after review (#215)

* feat: rename 'options' into 'flags' to align with the old help (#215)

* feat: remove support for help options, add template for global flags help section (#215)

* feat: update handling of root command help to support proper use of templates and docs generation (#215)

* feat: generate new docs (#215)
2022-09-13 14:13:48 +00:00
Matej Vasek 1f5a95a4a7
Improvements for podman on Windows and macOS (#1230)
* fix: pack docker socket mounting with npipe

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* feat: trust ssh connection by podman machine

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix: socket mount on macOS with podman machine

The `podman machine start` outputs recipe for DOCKER_HOST setting,
following the recipe it was causing troubles,
since path in host OS and in the podman VM is different.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* chore: use go-winio library for handling npipes

Replacing unmaintained an buggy library.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* test: added test for podman machine auto connect

Signed-off-by: Matej Vasek <mvasek@redhat.com>

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-09-12 17:26:46 +00:00
Matej Vasek b9e3d243bc
fix: pack build outpout on Windows (#1231)
Signed-off-by: Matej Vasek <mvasek@redhat.com>

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-09-12 04:51:32 +00:00
David Simansky c7b1bce369
chore(deps): update Knative dependencies to v1.4 @dsimansk (#1194)
* Update to Golang 1.17

* Update Knative dependencies to v1.4

* Update vendor dir

* Update go version in GH actions

* Fix go.mod

* fixup: update deps

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: update deps

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: update deps

Signed-off-by: Matej Vasek <mvasek@redhat.com>

Signed-off-by: Matej Vasek <mvasek@redhat.com>
Co-authored-by: Matej Vasek <mvasek@redhat.com>
2022-08-25 16:32:19 +00:00
Lance Ball 81289dc757
doc: use cobra markdown generator for command docs (#1169)
This commit removes the docs/reference/commands.txt file and instead
uses the Cobra built-in documentation generator to create markdown
documents for every command.

Signed-off-by: Lance Ball <lball@redhat.com>

Signed-off-by: Lance Ball <lball@redhat.com>
2022-08-25 13:16:19 +00:00
dependabot[bot] 7a760fbf57
chore(deps): bump github.com/containerd/containerd from 1.6.0 to 1.6.6 (#1112)
* chore(deps): bump github.com/containerd/containerd from 1.6.0 to 1.6.6

Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.0 to 1.6.6.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.0...v1.6.6)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fixup: run ./hack/update-codegen.sh

Signed-off-by: Lance Ball <lball@redhat.com>

* run ./hack/update-deps.sh

Signed-off-by: Matej Vasek <mvasek@redhat.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lance Ball <lball@redhat.com>
Co-authored-by: Matej Vasek <mvasek@redhat.com>
2022-07-18 16:09:59 +00:00
David Simansky a1c7446c73
Update Knative dependencies to v1.3 (0.30) (#1107) 2022-07-12 16:51:13 +00:00
Matej Vasek f066218042
Add --platform flag for build/deploy sub-cmd (#1076)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-06-22 16:40:23 +00:00
Matej Vasek 51b99c0e67
fix: premature Close() of docker client (#1066)
* Fix docker client lifecycle

Avoid premature Close() of docker client.

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Guard for usage of docker client after close

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-06-16 17:14:17 +00:00
Matej Vasek ccfa02afdf
Use struct embedding instead of generated code (#1016)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-05-12 01:39:37 +00:00
David Simansky d2914d5c25
Update Knative dependencies to v1.2 (0.29) (#1002) 2022-05-02 19:01:57 +00:00
Luke Kingland a91bcc5fcf
feat: s2i builder with preliminary node support (#923)
* fix: stuck build ticker

* feat: s2i builder prototype

* default builders

* use s2i fork with updated docker

* in-code builder defaults

* s2i builder verbosity constructor arg

* typed errors

* typed error tests

* remove unneeded env code

* s2i build e2e test

* e2e tests

* update licenses

* cleanup

* codegen debug

* update licenses

* Revert "Update actions (#921)"

This reverts commit 8312b5c560.

* update licenses

* e2e test updates

* use GetDefaultDockerConfig for s2i config

* docker.NewClient docs
2022-04-05 13:08:44 +00:00
David Simansky 739cded50f
Update to latest Tekton release (#935)
* Update to latest Tekton release

* Update vendor dir

* Fix misspelled comment
2022-04-01 14:44:45 +00:00
David Simansky df67900d8b
Update buildpacks/pack to v0.24.0 (#926)
* Update buildpacks/pack to v0.24.0

* Update vendor dir
2022-04-01 11:24:46 +00:00
David Simansky bf68b221a6
Update Knative dependencies to v1.1 (#925)
* Update Knative dependencies to v1.1 (0.28)

* Update vendor dir

* Update lincenses

* Fix docker push test

* Refactor docker client interface
2022-03-31 13:45:45 +00:00
Matej Vasek c4a7e095de
Use custom zip embedding not pkger (#835)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-03-02 06:41:43 -08:00
Fabian Lopez 60dbeacc46
added git related flags for remote builds (#844)
* added git related flags for remote builds

* fix dependency issues

* remove context cancel

* add # split for git url

* account for the use of git args with local build type

* fix error message for build type
2022-02-28 03:56:07 -08:00
David Simansky 72d9b7d58e
Update Knative dependencies to v1.0 (0.27) (#833)
* Update Knative dependencies to v1.0 (0.27)

* Update vendored files
2022-02-16 12:15:40 -08:00
Zbynek Roubalik cb719ff564
feat!: support on cluster build from git repo with Tekton (#743)
* feat: support on cluster build from git repo with Tekton

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>

* incorporate feedback

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>

* incorporate feedback 2

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>

* fixup-licence

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix deploy with --build=disabled

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>

* incorporate feedback

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>

* incorporate feedback

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>

Co-authored-by: Matej Vasek <mvasek@redhat.com>
2022-01-12 11:58:51 -08:00
jrangelramos 3177287571
chore: Adding support to ssh-agent on Windows using named pipes (#733) 2022-01-05 10:38:33 -08:00
Matej Vasek fcb0c7139f
src: CheckAuth() calls registry directly (#704)
CheckAuth() calls registry directly
not using docker daemon as a middle-man

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-12-07 07:53:58 -08:00
Luke Kingland ccf00152be
feat: function version migrations (#664)
* feat: function version migrations

* unmarshall functin now part of initialization

* regenerate schema

* spelling errors
2021-11-24 04:50:27 -08:00
Matej Vasek bfdfb760cf
feat: automatically start podman service (#648)
* feat: automatically start podman service

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* src: refactor rename function

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* src: add commnets to tests

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* src: refactor rename function

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-11-11 09:38:38 -08:00
David Simansky fc1e874a5d
Update Knative dependencies to 0.26 (#642) 2021-11-10 08:47:46 -08:00
Shashank Sharma 1bbef7a0e6
Removing workaround to disable selinux label - updated (#645)
* pack 0.22, related refactoring

* blank line removed

* custom docker client added in pack client

* gofmt, golint, goimports
2021-11-09 07:47:43 -08:00
Matej Vasek e1f164d2ca
feat: ssh connection to remote docker daemon (#594)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-11-02 09:39:41 -07:00
David Simansky d7dbebb747
Update Knative to 0.25 + cherry-pick E2E refactor (#617)
* ci: split pull_requests workflow

* ci: make binary for e2e tests

* Update Knative to 0.25 release

* Update pkged file

* Update pkged file

* ci: Install Bash 4 to MacOS unit tests

* ci: Fixup java version

Co-authored-by: Luke Kingland <lkingland2038@gmail.com>
2021-11-02 09:38:41 -07:00
Lance Ball e319ea3b62
feat: add support for manifest.yaml at repo/language/template levels (#558)
* feat!: add support for manifest.yaml and runtime.yaml

BREAKING CHANGE
This commit adds the concepts of a manifest.yaml file at the top level
of a template repository, and a runtime.yaml file for each language/runtime
within the repository. Prior to this, repository metadata was primarily
restricted to information that could be gleaned from the file system, such
as the directory name used as the Name.

A manifest.yaml file contains a Name, URL, Version, and a list of supported
runtimes; and if all of the runtimes expose the same health endpoints, these
can be set here.

Within a runtime directory, there may exist a runtime.yaml file which allows
language pack providers to set the health endpoints, overriding the values
set in manifest.yaml, as well as Builders and Buildpacks.

This change removes support for a builders.yaml file in a runtime/template
directory, as this was guaranteed to be redundant with the builders.yaml
file in a sibling template directory. The choice was to move these up a
level to runtime/runtime.yaml.

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: bump go version for unit tests

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: using go 1.16 now requires 'go mod tidy'
See: https://golang.org/doc/go1.16

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: restore support for directory traversal

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: whitespace linting

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: update func_yaml-schema.json

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: spelling errors caught by reviewdog

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: use os.ReadDir

Signed-off-by: Lance Ball <lball@redhat.com>

* squash: restore project creation from remote repos

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: remove billyFilesystem

Signed-off-by: Lance Ball <lball@redhat.com>

* doc: expand on language pack documentation

Adds more detail around how language packs can be provided by third
parties, and the expected structure and metadata required.

Fixes: https://github.com/knative-sandbox/kn-plugin-func/issues/452

Signed-off-by: Lance Ball <lball@redhat.com>

* doc: update language pack documentation

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: cleanup deps

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: cleanup deps - again

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: reviewdog whitespace cleanup

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: custom repo template listing

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: bump go version for integration tests

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: adjust test-templates repo uri for e2e

Signed-off-by: Lance Ball <lball@redhat.com>

* fix: don't fail when extended templates don't support a given runtime

Signed-off-by: Lance Ball <lball@redhat.com>

* src: repo and template type hierarchy

As the client API increases in complexity, upgrading to a more correct
type hierarchy for the object managers serves to keep things clean.  In
this update, the Repository and Templates manager now use constructors
with private members, including a backreference to the root Client
object, which provides the mangers with full access to the current
client instance API for implementing their (growing) features.

* src: template manager writes

The templateWriter struct has now been upgraded to integrate with the
newly-added type system which includes a Templates Manager by adding a
.Write method which writes a template at the given location.  This
encapsulation of the write functionality moves us towards having a
cleaner abstraction atop writing any template to disk from any
repository.

In addition, the "Get" prefix was removed from many accessor methods, as
this is standard a Go idiom.

* src: templates write including denormalize

- merges templateWriter into templates manager
- denormalization of builders, health endpoints etc. made part of .Write
- write logic now works on a Template rather than string paths etc

The templates manager can now write out a template given a function directy.
Included internnaly to write is the denormalization logic, which is now closer
to where it is used, which should improve cohesion and decouple the template
implementation detail from the Client. Also moves the write logic closer to the
template itself, with the expectation the same will happen for functions when
Config and Function are merged.

* src: vendor

* src: merge manifests into domain model

In general, the manifests sytsem is merged more tightly into the overall
system while also expalding it to use a path to templates to avoid
having to create a full filesystem shadow-copy in yaml. Preserves
backwards-compatiblity by keeping the base case a yaml-free repo of only
templates.  Creaets a hierarchical inheritance from repository to
runtime to template for builders, endpoints etc.  whcih allows for the
manifest within templates to be a first-class citizen, though its use
will be rather rare.  Some more in-depth explanations of the more
substantive changes are as follows:

- Merges Manifest with Repository

The Manifest structure is essentially a serialized Repository, so they
are now the same object.

- Converts repo URL to a calculated field

The URL is informative and entirely dependent on the current state of
the repo, so it should be calculated to avoid confusion and avoid being
serialized to the manifest.

- Merge FunctionTemplate with Template

The struct being serialized here is a Template, so they are now the same object

- Extracts new "BuildConfig" embedded struct

The Builders and Buildpacks members are shared between Repository,
Runtime and Template, so they are now an embedded stuct in the same
manner as HealthEndpoints.

- yaml 'inline' declaration for embedded structs

The HealthEndpoints and other embedded structs were not actually being
read from their configs because of a nuance of yaml which (in contrast
to json unmarshallers) requires the `,inline` tag on the struct member
to trigger inclusion in decode.

- Replaces Repository's runtimes member with templates

While it is true that on disk templates are subdivided into their
effective runtime, this is for ease of development.  The logical
structure is: repositories have templates.  Templates are applicabe to
runtimes.  Therefore the correct API is to have templates a direct
member of repository but requiring a runtime filter for access.

- Use repository templates path instead of full list

The goal is to support the use of repositories which contain more than
just templates.  The solution is to define an alternate location for
templates (such as ./templates).  Creating an entire exhaustive manifest
where each runtime and each template is defined with a name and path is
a usurpation of the responsibilities of a filesystem, and causes
unintend negative knock-on effects.  Let's try this simple solution
before jumping to the nuclear option of defining a filesystem-in-yaml.

- Use filesystems when loading repository objects

The fact that a file exists on the disk, embedded, or remote should be
of no concern to most of the code.  This is accomplished by using the
filesystem abstraction which is used during template writing.  This will
be further improved in future versions by upgrading to use the fs.FS
interface and tooling.

- Uses manifest.yaml at all levels

Once the hierarchical nature of the manifest was instituted, it seemed
more intuitive to have the same filename at each level.  This also has
the nice benefit of being backwards-compatible with template-level
manifest.  This is not a correctness issue, but a guess that remembering
a single filename which can exist at different levels in a hierarchy is
easier to remember than different filenames, and its location in the
hierearchy sufficient differentiator making the different filenames
_perhaps_ unencssary.  The constants are left as separate for an easy
revert.

- Moves static defaults into code wherever possible

Wherever yaml was being statically compiled in, it was updated such that
canonical values for static defaults were defined on the Go structure,
with the yaml being for overrides.  For example Default Readiness and
Liveness endpoints.

Some notable benefits of letting the filesystem do it's thing:
* Preserves the ability to create a repository of templates without
  hacking yaml
* Reflects changes directly in IDEs which have native support for
  filesystem, not so for a proprietary manifest.yaml
* the builtin repository has no name, so parsing a manifest from within
  it is both prone to error and confusing, as it could lead future
  developers to submit PRs which change its name.

* fix: revert repository.git to a bare server repo

* src: repository default name

The Repository struct now includes a Name and DefaultName. The former is
the current name of the repository, and corresponds to the path on disk.
The latter is the name specified in the manifest.yaml, and is used as
the default name of the repository when no name is provided.

Fixes an issue where there could be name collisions using a uuid for the
initial name until the manifest is read in.

Restructures the embedded repositories such that one exemplifies a base
case repo with no metadata and only templates, the other specifying a
manifest to exemplify for example a complete language pack.

Adds a test such that all three cases are covered: explicit name, no
name but manifest-defined default name, URI-derived name.

* feat: single repo mode

Enables single repository mode suystem-wide, which fully implements the
logic intended by the WithRepository option.

The default repoisitory is now programatically defined, and while by
default is the embedded repo, it can be overriden using the
WithRepository option.  This keeps the logic internal to the
repositories managet, removeing the need for a crossp-cutting concern in
other parts of the system.

* src: manifest inheritance and existence tests

Respects alternate templates location when defined in a manifest.
Respects manifest embedded structs HealthEndpoints and BuildConfig at
each of the three levels, with inheritance:  Repo, Runtime and Template.
Separates test repositories into the two cases of a templates-only repo
(with no manifest) and a complex repo (with manifests) such as for
language packs.
Leaves the BuildConfig struct as inline but sets the HealthEndpoints as
being named, such that the latter has its fields in the yaml under the
key 'healthEndpoints' but the former does not (passthrough).
Adds error checks when attempting to access named repo when in
single-repo mode.

* src: remove function merge

Removes feature of mergine a func.yaml defined in a template in favor of
sticking with the manifest.yaml until such time as this is requested.
Assuming YAGNI.

* src: repo filesystems

- Embeds repositories with an internal filesystem
- Replaces filesystem disk checkouts with in-memory until final write
- Combines template Write of various types into a single write which uses the
  filesystem of the applicable templates's repository
- Template is now a simple noun, with logic localized to the templates manager
- Adds better error message regarding single repo mode conditions

The reason for replacing filesystem-based repository instances with in-memory
(especially remote for WithRepository mode) is for a few reasons:  First, 'Add'
will fail without using the temporary UUID hack if there already exists a
repository of the _repo_ name (due to a filesystem collision).  We have
to read the repo to determine the default name as well, so it's messy to avoid.
Second, using an on-disk version is potentially leaky because it may leave
files on the system in the event of a process interruption; able to be
mitigated, but with a likewise hacky use of a os temp directory.  Third, it
may cause racing conditions when using multiple instances the Client as a lib.
Lastly, it precludes our ability to run without touching the filesystm: a
useful mode when running as a pure library or in security-restricted
environments.

* fix: paths within embedded fs

* src: repositories code cleanup

* Removes the manual 0_18 version suffix
* Reanames "single" (uri for single-mode) to the more descriptive
  "remote" (with associated accessor api)
* Default repo name when no URI provided is set to default
* Various wording improvements in error text and comments

* src: error formatting

* feat: templates from local file paths

Adds back the local os filesystem as a fallthrough to support loading
template repositories from file:// paths on disk, without the
requirement that they also be git repositories.

* fix: clone once

Fixes the shortcut of performing a clone to read the manifest prior to
cloning the repository to disk.  This double-clone was replaced by a
single clone (applying the manifest) followed by a file copy from the
in-memory FS to the on-disk repository location.

* src: test fixes

* respect explict name on repository .Add
* fail if repository already exists
* update expected test filenames to new general (non-go-specific) setup
* adds the default repo name to the NewRepository constructor,
  internalizing the somewhat tricky default logic.
* move repo write logig to repo itself, as it will contain impl-specific
  nuances.
* invalid repo path is an error, but only if defined
* temporarily disable repository URL test

* src: update templates test to reflect new name 'cloudevents'

* src: fix go templates and repackage

* fixup: reviewdog spelling errors

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: reviewdog whitespace cleanup

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: run ./hack/update-codegen.sh

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: restore boson-project templates for e2e

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: do not error if default repo location does not exist

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: typo

Signed-off-by: Lance Ball <lball@redhat.com>

* paketo builder and paket community rust buildpack (#599)

* fixup: apply f161d50084

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: update documentation to match impl

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: add git attributes to ignore linting on binary files

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: remove whitespace

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: tweak linter rules

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: tweak .gitattributes

Signed-off-by: Lance Ball <lball@redhat.com>

Co-authored-by: Luke Kingland <lkingland2038@gmail.com>
Co-authored-by: Shashankft9 <48708039+Shashankft9@users.noreply.github.com>
2021-10-27 07:09:01 -07:00
Matej Vasek ef7b986900
feat: Improve build performance (#569)
* Update buildpack deps

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Update licences

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Enable trust for paketo buildpack builder

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* Enable trust-builder for newer versions of podman

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix style

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-10-11 06:17:16 -07:00
Matthias Wessendorf 52fb215c3c
chore: Cloudevents sdk 2.5.0 (#566)
* Bumping templates to 2.5.0

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* Bump the project to 2.5.0 as well

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
2021-10-11 02:31:15 -07:00
Markus Thömmes 163588f5a5
Add knative/hack scripts for updating deps (#534) 2021-09-19 16:04:33 -07:00
David Simansky 5201c767d1
Update Knative dependencies to v0.24 (#521) 2021-09-13 07:43:33 -07:00
Matej Vasek 84ff281bed
test: `config` sub-command (#457)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-08-12 06:30:35 -07:00
Zbynek Roubalik 8939f89bea
feat: generate json schema for func.yaml (#460)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-08-09 03:28:11 -07:00
Luke Kingland 9db1a3d902
feat: remote template repositories (#437)
* feat: remote template repositories

* Update cmd/create.go

Co-authored-by: Lance Ball <lball@redhat.com>

* docs: extensible templates

* feat: remote template repositories

* Update docs/guides/language-packs.md

* Update docs/guides/language-packs.md

Co-authored-by: Lance Ball <lball@redhat.com>

* Update docs/guides/language-packs.md

Co-authored-by: Lance Ball <lball@redhat.com>

* Update docs/guides/templates.md

Co-authored-by: Lance Ball <lball@redhat.com>

Co-authored-by: Lance Ball <lball@redhat.com>
2021-08-03 06:28:15 -07:00
Luke Kingland 1a1288a6d4
src: match client v0.23.2 deps (#443) 2021-07-27 11:44:50 -07:00
Markus Thömmes 892558bf2a
Rename module to knative.dev/kn-plugin-func (#423)
Co-authored-by: Lance Ball <lball@redhat.com>
2021-07-15 11:33:32 -07:00
Luke Kingland b1d840ad60
ci: move to inbuilt cluster config (#419)
Restructures repository cluster setup and configuration scripts
to be used both for local testing as well as in CI.  Adds a
CI-specific ci.sh script for the differences.  Additionally:
- Upgrades to knative v0.23.0
- Upgrades eventing from v1beta1 API to v1
- Adds binary installation script (linux)
- Serializes Build, Int Test, e2e test steps
- Installs Broker and Channel to support Knative Quickstart tutorial.
- Runs a test echo server during installation
- Adds event-based waits in place of most blind time-based waits
- Adds explicit Kubernetes version for KinD
- Replaces a NodePort patched Koourier with an explicit ingress
- Adds retries while activator webhook becomes available
- Merges allocate and configure
2021-07-15 07:45:32 -07:00
Matej Vasek 88ea081cc0
fix: use credsStore
use credsStore when searching for credentials

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-06-21 15:51:56 +02:00
Zbynek Roubalik 7a24a103ef
src: refactor prompt to use `AlecAivazis/survey` (#397)
* src: refactor prompt to use `AlecAivazis/survey`

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-06-21 08:38:26 +02:00
Zbynek Roubalik 4ba95b69a8
feat: `func config volumes` - interactive prompt (#391)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-06-17 09:21:07 +02:00
Matej Vasek 6e8517c023
fix: disable selinux labeling
disable selinux labeling

prevents permission denied on docker socket mount

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-06-16 23:54:28 +02:00
Zbynek Roubalik 4f0641f586
chore: bump Knative deps to 0.22.0 (#368)
* chore: bump Knative deps to 0.22.0

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-06-01 16:29:41 +02:00
Lance Ball 72584ced0d
fix: Revert "chore: bump Knative deps to 0.22.0 (#358)" (#366)
This reverts commit 27f62066ee.
2021-05-27 16:18:33 -04:00
Zbynek Roubalik eb47dc7ab2
chore: bump to Go 1.15 (#359)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-05-25 15:05:17 +02:00
Zbynek Roubalik 27f62066ee
chore: bump Knative deps to 0.22.0 (#358)
* chore: bump Knative deps to 0.22.0

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>

* update to Knative 0.22.0

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-05-25 15:05:05 +02:00
Lance Ball 49594d9766
feat: add 'kn func emit' command (#332)
This commit adds an Emitter to be used by the CLI commands
for sending CloudEvents to functions, either locally, on
the cluster, or at a specified endpoint.

Signed-off-by: Lance Ball <lball@redhat.com>
2021-05-13 12:44:11 -04:00
Lance Ball 2b025df199
src!: revert bump to go 1.16 and template changes (#340)
* Revert "src: rename boson import 'fn'"

This reverts commit c0a6f561c0.

* Revert "src: all test dirs set to 0700"

This reverts commit 99f01220c2.

* Revert "src: better error when custom template not found"

This reverts commit 6673395834.

* Revert "src: better errors when custom runtime not found"

This reverts commit a31a6f67a1.

* Revert "build: create separate target for templates.tgz"

This reverts commit 11164bf8d9.

* Revert "src: use consistent separators for fs.FS instances"

This reverts commit 4db07b412f.

* Revert "src: update go event template dependencies"

This reverts commit 3bfc13380f.

* Revert "src: tarfs assumes forward slashes internally"

This reverts commit 6cc0e67b1c.

* Revert "feat: support windows paths in embedded templates FS"

This reverts commit c2b216857b.

* Revert "feat: positive error when runtimme or template unrecognized"

This reverts commit acc56b0900.

* Revert "fix: lint issues"

This reverts commit 895872aee7.

* Revert "ci: go 1.16 compatiblity updates"

This reverts commit 1e3959c045.

* Revert "feat: preserve file modes using in-memory tar FS"

This reverts commit 7dc772ec62.

* Revert "feat: create templates archive on go generate"

This reverts commit 63b7f11471.

* Revert "ci: remove pkger from ci"

This reverts commit 876b0dd0f7.

* Revert "src: remove pkger dependency and tidy"

This reverts commit f006ab1e32.

* Revert "src: remove packaging artifact"

This reverts commit 4d9d0a7b4e.

* Revert "src: remove pkger from make targets"

This reverts commit e44c1ad74c.

* Revert "src: replace pkger with embed.FS"

This reverts commit 38874a4afd.

* Revert "src: update references to deprecated ioutil"

This reverts commit 4025460f73.

* Revert "src: require go 1.16"

This reverts commit 512d4c2580.

* chore: update pkged.go

Signed-off-by: Lance Ball <lball@redhat.com>
2021-05-12 14:37:21 -04:00
Luke Kingland f006ab1e32
src: remove pkger dependency and tidy 2021-05-07 14:04:39 +09:00
Luke Kingland 512d4c2580
src: require go 1.16 2021-05-07 14:00:46 +09:00
Matej Vasek 18cb0f4652
src: update knative deps to 0.21.0
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-05-05 17:20:32 +02:00
Matej Vasek e1a7af50d2
Update pack dependency
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-29 16:47:16 +02:00
Matej Vasek dc2fbee67f
fix: `func deploy` uses Docker API, not binary
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-22 15:18:03 +01:00
Matej Vasek db0945ed3e
fix: `func run` now uses Docker API, not binary
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-15 18:24:57 +01:00
David Simansky 8daa725779
chore: Update Knative dependencies to 0.20 (#273) 2021-03-10 15:10:03 +01:00
Matej Vasek 6d2d8c63b0
feat: using custom docker daemon (e.g podman)
The `func` binary is now aware of DOCKER_HOST environment variable.

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-02 04:04:01 +01:00
Zbynek Roubalik a9daa6a1ff
src: remove logrus dependency (#258)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-02-02 15:20:31 +01:00
Matej Vasek c3c21657b2
fix: update pack dependency
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-02-01 17:03:33 +01:00
David Simansky 6584b0ab9b
chore: Update Knative Client dependencies to 0.19 release (#254) 2021-01-21 17:40:52 +01:00
Zbynek Roubalik a5cbe3061b
src: rename from faas to func (#253)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-01-21 17:10:39 +01:00
David Simansky 7e47377ce4
chore: Update Knative dependencies to 0.18 (#235) 2020-12-07 11:46:31 +01:00
Zbynek Roubalik 29ca07768c
feat: list command - improved output (#205)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2020-11-04 13:15:06 +01:00
Navid Shaikh 89b9b73d2f
Point knative/client at v0.17.2 (#168)
- This reverts commit cc5435a84b.
 - Points knative/client at v0.17.2
2020-10-12 12:58:22 +02:00
Navid Shaikh cc5435a84b
Carry WithLabel listConfig feat (#165)
from a fork of knative.dev/client
2020-10-12 09:41:34 +02:00
Lance Ball 6d301257f5
chore(templates): bump faas-js-runtime to 0.3.0 and update the name (#150)
* chore(templates): bump faas-js-runtime to 0.3.0 and update the name

The module name lost its @redhat prefix, and bumped a version. This
pulls in that latest dependency.

Running pkger for the first time on a new system also resulted in a
minor version bump for that dependency.


Signed-off-by: Lance Ball <lball@redhat.com>
2020-10-07 17:48:30 -04:00
Matej Vasek d82230353d
feat: fish completion 2020-10-06 15:39:07 +02:00
Roland Huß 5fe70526e5
fix: update to Knative 0.17 (#145)
Also adjusted some dependencies and overwrite version to align
transitive dependencies.

Not sure why buildpack uses such an older docker dependency but that
clases with the docker dependency that is introduced by knative-dev/test-infra
(which is a dependency of the knative direct dependencies)

If there is a way to exclude a transitive dependency like that on test-infra,
this could be the better way to achieve the same result.

The build now works on macOs natively which was not the case before.
2020-10-05 10:28:37 -04:00
Lance Ball 05efee8c83
src: add Long command descriptions for each of the CLI commands (#133)
Uses the Cobra "Long" configuration for each command to provide more
descriptive text.

Example:

```console
faas help create                                                                                                      1.3m  Mon 21 Sep 2020 09:55:40 PM EDT
Create a new Function, including initialization of local files and deployment

Creates a new Function project at 'path'. If 'path' does not exist, it is
created. The function name is the name of the leaf directory at path. After
creating the project, a container image is created and is deployed. This
command wraps 'init', 'build' and 'deploy' all up into one command.

The runtime, trigger, image name, image repository, and namespace may all be
specified as flags on the command line, and will subsequently be the default
values when an image is built or a Function is deployed. If the image name and
image repository are both unspecified, the user will be prompted for a
repository name, and the image name can be inferred from that plus the function
name. The function name, namespace, image name and repository name are all
persisted in the project configuration file .faas.yaml.

Usage:
  faas create <path> [options] [flags]

Flags:
  -c, --confirm             Prompt to confirm all configuration options - $FAAS_CONFIRM
  -h, --help                help for create
  -i, --image string        Optional full image name, in form [registry]/[namespace]/[name]:[tag] for example quay.io/myrepo/project.name:latest (overrides --repository) - $FAAS_IMAGE
  -n, --namespace string    Override namespace into which the Function is deployed (on supported platforms).  Default is to use currently active underlying platform setting - $FAAS_NAMESPACE
  -r, --repository string   Repository for built images, ex 'docker.io/myuser' or just 'myuser'.  Optional if --image provided. - $FAAS_REPOSITORY
  -l, --runtime string      Function runtime language/framework. - $FAAS_RUNTIME (default "go")
      --templates string    Extensible templates path. - $FAAS_TEMPLATES (default "/home/lanceball/.config/faas/templates")
  -t, --trigger string      Function trigger (ex: 'http','events') - $FAAS_TRIGGER (default "http")

Global Flags:
      --config string   config file path (default "~/.faas/config")
  -v, --verbose         print verbose logs
```
2020-09-24 10:23:55 -04:00
Zbynek Roubalik 7e298fd7d7
use go 1.14 (#134)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2020-09-22 12:43:45 -04:00
Matej Vasek 7a648d2d23
chore: update `pack` dep version 2020-09-16 17:27:11 +02:00
Luke K 4918cc7eef
feat: cli usability enhancements and API simplification 2020-08-29 01:54:13 +09:00
Lance Ball ea7fe15376
src(templates/node): update Node.js templates (#68)
This commit updates the Node.js templates to use the latest faas-js-runtime
framework, and fixes a couple of dependency issues and broken tests. I have
also added a build time test for these templates so that if/when they change
again, we can be sure to catch any problems.
2020-08-13 17:05:25 -04:00
Lance Ball 5b4d97a443
feat: add init/build/deploy commands and customizable namespace (#65)
* feat: add init/build/deploy commands and customizable namespace

This commit comprises some fairly large changes in the codebase.
The 'create' command has been extracted into 'init', 'bulid' and
'deploy' commands. The 'create' command remains, but now delegates
most of its work to these other three. This also has resulted in
some rework of the various flags. 

In addition, it is now possible to specify the cluster namespace to
which the function will be deployed.
2020-08-12 10:52:50 -04:00
Luke K 811d09ae01
v0.5.0 2020-07-31 13:48:08 +00:00
Lance Ball 0810d9ace4
actions: add CHANGELOG.md and a release target to Makefile (#45)
This commit adds a `release` target to the Makefile, simplifying the generation
of the CHANGELOG.md (oh, this commit also adds a CHANGELOG.md). Invoke the
make target like so.

```sh
make release VTAG=v0.4.1
```

This will update the CHANGELOG with the commits included since the last
release, commit that change, and create the version tag. Then you just need
to push to github in order to publish the binary.
2020-07-28 09:14:45 -04:00
Luke K 7b0e59248d
Merge remote-tracking branch 'matej/imprv-deploy' into develop 2020-07-08 01:59:46 +00:00
Luke K 7b2f623de0
Merge remote-tracking branch 'matej/imrv-remove' into develop 2020-07-08 01:57:16 +00:00
Luke K 95db3bd133
Merge remote-tracking branch 'lkingland/templates' into develop 2020-07-08 01:52:57 +00:00
Matej Vasek 8610218159 fix: remove dependency on `kubectl` binary 2020-07-01 18:21:19 +02:00
Matej Vasek d503a73680 fix: remove dependency on `kn` binary 2020-07-01 17:02:19 +02:00
Matej Vasek 22c60c7379 feat: remove dependency on `kn` binary 2020-06-16 21:13:39 +02:00
Luke K 1603a33046
add homedir module dependency for cross-compilation with Darwin 2020-06-11 12:25:36 +00:00
Luke K 9d30d9c72a
staticly embedded templates 2020-06-11 12:24:35 +00:00
Matej Vasek 5e8dc8b5f7
feat: buildpacks
Implemented builder using buildpack.
2020-06-08 18:38:55 +02:00
Luke K a0e9fcb11c
remove debug and cleanup 2020-05-25 08:56:46 +00:00
Luke K a6c10fdaa8
separate function from client to enable contextless methods such as List 2020-05-11 00:12:19 +00:00
Matej Vasek 380cc2f3ef feat: 'describe' sub-command for faas cli 2020-05-05 01:13:48 +02:00
Matej Vasek 09cb2d5425 Rename packages
Needed since the project has been moved.
2020-04-27 16:45:46 +02:00
lkingland 3224123222
Pull list into client library
* pull list into client library

* fix list formatting
2020-04-27 16:03:29 +02:00
Matej Vasek 08c986011a feat: list sub-command for faas cli 2020-04-23 16:29:33 +02:00
Luke K c0f0d34786
Support user-defined service name, persisted via config. 2020-04-23 10:31:21 +00:00
Luke K 132ce75dda
service removal impl with directory state prereq checks on create 2020-04-12 17:59:08 +00:00
Luke K 3b0531cf70
dependencies update 2020-04-11 19:45:29 +00:00
Luke K 0cc1788254
initial local create implementation using appsody delegate 2020-03-22 13:30:25 +00:00
Luke K 86cdedec91
Initial Commit 2020-03-04 14:36:41 +00:00