mirror of https://github.com/knative/func.git
21 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
|
5d9dafbffe
|
add case for DNS resolve fail (#2619)
Signed-off-by: David Fridrich <fridrich.david19@gmail.com> |
|
|
70f96bb8ac
|
Fix some linter errors in integration tests (#2608)
* Fix some linter errors Signed-off-by: Matej Vašek <mvasek@redhat.com> * fixup: set func registry Signed-off-by: Matej Vašek <mvasek@redhat.com> --------- Signed-off-by: Matej Vašek <mvasek@redhat.com> |
|
|
1937499775
|
Improve socat conn success detection (#2506)
It appears that Go's MatchReader() returns true only if some new lines are written to the writer after the searched word. It mostly all right because socat actually writes several more lines to stderr. However this new implementation is better it should signal immediately when searched patter is written to the writer. Signed-off-by: Matej Vašek <matejvasek@gmail.com> |
|
|
6b78b7f5c5
|
Improve utility image (#2246)
* The socat/tar image is now build in GH Actions. * We use new tiny deploy binary for deployment instead of whole func. Signed-off-by: Matej Vasek <mvasek@redhat.com> |
|
|
a4a4148379
|
[main] Upgrade to latest dependencies (#2188)
* upgrade to latest dependencies
bumping go.opentelemetry.io/otel/metric 279c549...e3eb3f7:
> e3eb3f7 Release v1.23.0/v0.45.1 (# 4885)
> eabcef4 Return merged Resource on schema conflict (# 4876)
> 2c7761d Bump benchmark-action/github-action-benchmark from 1.19.2 to 1.19.3 (# 4883)
> f4e1e04 Bump lycheeverse/lychee-action from 1.9.2 to 1.9.3 (# 4882)
> 569854e sdk/metric/metricdata: Add MarshalJSON for Extrema (# 4827)
> 242d23a Remove the Flush method from Exemplar (# 4873)
> fecb92e Add the experimental exemplar feature (# 4871)
> d9d9507 stdouttrace: Refine example (# 4872)
> bf1ae8c [chore] Fix changelog entry for # 4754 (# 4874)
> 8d3ae4c fix: Fix stdouttrace/example_test to make the trace_id same. (# 4855)
> e7de571 Add the Histogram Reservoir impl (# 4870)
> e6e4c95 Bump benchmark-action/github-action-benchmark from 1.18.0 to 1.19.2 (# 4865)
> dcfec0c Add the random fixed size exemplar reservoir (# 4852)
> ce3faf1 Bump lycheeverse/lychee-action from 1.9.1 to 1.9.2 (# 4864)
> 3da38d3 Bump peter-evans/create-issue-from-file from 4 to 5 (# 4867)
> 402998f dependabot updates Sun Jan 28 22:42:16 UTC 2024 (# 4869)
> 200b2cf Bump codecov/codecov-action from 3.1.4 to 3.1.5 (# 4866)
> 79371c1 Add the SampledFilter exemplar Reservoir impl (# 4851)
> 08beb8b Add the Drop exemplar Reservoir implementation (# 4850)
> 6f96e67 example/dice: Do not use semconv (# 4849)
> c573785 Add the `sdk/metric/internal/exemplar` package (# 4835)
> 1978044 Cache instruments so repeatedly creating identical instruments doesn't leak memory (# 4820)
> cef39a1 Fix changelog entry (# 4848)
> 71d13ff Fix ContainerID detector on systemd with colon in cgroup path (# 4449)
> 3f74d77 Bump go.opentelemetry.io/proto/otlp from 1.0.0 to 1.1.0 in /exporters/otlp/otlptrace (# 4841)
> edb9b2b Bump go.opentelemetry.io/proto/otlp from 1.0.0 to 1.1.0 in /exporters/otlp/otlptrace/otlptracegrpc (# 4842)
> 71d2b41 Bump go.opentelemetry.io/proto/otlp (# 4838)
> f0ea8b7 Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp (# 4844)
> c158b90 Bump go.opentelemetry.io/proto/otlp (# 4837)
> b20691d Bump actions/cache from 3 to 4 (# 4839)
> 33f5cf4 Add WithEndpointURL option to OTLP over HTTP exporters (# 4808)
> 8778c38 docs: minor update to docstring (# 4833)
> 1e2555f Release v1.23.0-rc.1 (# 4832)
> 8f2bdf8 Bump golang.org/x/tools from 0.16.1 to 0.17.0 in /internal/tools (# 4825)
> cf93d0d Add @dashpole (David Ashpole) as a maintainer (# 4830)
bumping k8s.io/apiextensions-apiserver 1dff568...e1d6769:
> e1d6769 Update dependencies to v0.29.2 tag
> f14ac67 Merge pull request # 122369 from cici37/automated-cherry-pick-of-# 122193-upstream-release-1.29
> eccd921 Merge pull request # 122429 from MadhavJivrajani/tools-bump-129
> 510e9f2 Keep presence cost to 0 to ensure backward compatibility.
> 06c0a98 Merge pull request # 122343 from jpbetz/automated-cherry-pick-of-# 122329-origin-release-1.29
> 4a82ea0 .*: bump golang.org/x/tools to v0.16.1
> 2d320bc Wire in field dropping for CRDs
> 249827f update go.mod
> 4bb4c02 Merge pull request # 121034 from alexzielenski/apiserver/apiextensions/ratcheting-oldself-create
> f68866b codegen
> 5321cf0 validate defaults across an update from nil to ensure create ratcheting rules work
> efc67b4 ratcheting-cel: use Optional[T] for oldSelf when optionalOldSelf is true
> 0889c57 ratcheting-cel: add optionalOldSelf field
> 2c1c704 refactor: rename TransitionRule to UsesOldSelf
> 915de7b Merge pull request # 121573 from tukwila/bump_etcd_v3.5.10
> d1c742e Merge pull request # 121552 from pohly/klog-update
> e1b4aee bump to newest etcd: v3.5.10
> 2a7741d dependencies: klog v2.110.1
> e964004 Merge pull request # 121575 from apelisse/update-smd
> 204aa5c Merge pull request # 121577 from cici37/celFixPick
> 74dc30a Update sigs.k8s.io/structured-merge-diff to v4.4.1
> e907c44 Merge pull request # 121373 from cici37/crdGA
> fed8e0b Add set ext library into Kubernetes and pick up the new option cel provides
> 2d6475f Merge pull request # 121307 from cici37/celUpdate
> 8286ec3 Remove the usage of feature gate
> cfee884 Bump cel-go to v0.17.7
> 7eec8bf Merge pull request # 121460 from jiahuif-forks/feature/crd-validation-expressions/existing-expressions-cost-exempt
> c16fc96 Add cel new validator into Kubernetes.
> 78065a7 Merge pull request # 121462 from alexzielenski/apiserver/apiextensions/ratcheting-metrics-actually
> 7d0a2a9 suppress per-expression cost limit for unmutated versions.
> d31f930 Merge pull request # 121405 from alexzielenski/apiserver/apiextensions/ratcheting-benchmarks
> e54efed metrics: publish metrics from ratcheting across a request
> 182175e Merge pull request # 121524 from carlory/gomega
> e3bcef4 ratcheting: add benchmark
> 99f827f bump gomega to 1.29.0
> db2e96c Merge pull request # 121255 from tukwila/OpenAPIV3-cleanup
> dcb65b7 Merge pull request # 121338 from dims/working-otel-bump
> 70a4e71 Remove GAed feature gates OpenAPIV3
> be4aa6a Merge pull request # 121343 from alexzielenski/apiserver/apiextensions/ratcheting-metrics
> 305c51a working-config-otel
> 7d6d9e2 Merge pull request # 121430 from bzsuni/cleanup/fsnotify
> 72514a2 replace CEL ValidateWithRatcheting with variadic options
> f0dcf82 Merge pull request # 121455 from cici37/test_cost
> 49314b9 Bumped the fsnotify from version v1.6.0 to v1.7.0
> 712c8c0 ratcheting: provide a shared correlated object
> a00f3f9 Merge pull request # 119186 from seans3/stream-translator-proxy
> 64f9a54 Add stability tests for CEL cost estimation.
> b482682 fetch a shared correlated object off the validation options if it exists
> d459639 Merge pull request # 120397 from ty-dc/StaticCheck
> 8c1ad11 StreamTranslator and FallbackExecutor for WebSockets
> d2839fd fix usage
> 56c7faf Merge pull request # 121016 from alexzielenski/apiserver/apiextensions/ratcheting-cel
> 37b3e30 cleanup: omit comparison with bool constants
> fedd88f add variadic options to ValidateUpdate
> fd7b6ea ratcheting: ratchet CEL expressions for no-op updates
> d704d8d Merge pull request # 121337 from alexzielenski/apiserver/apiextensions/cleanup-validator
> dae2c4e Merge pull request # 121364 from sxd/update_grpc
> 40b0c2a fix typo
> 10e8e5f Merge pull request # 120757 from alexzielenski/apiserver/openapi/invalid-default
> d11c518 bump golang.org/grpc to v1.56.3
> 2aaec3e cleanup: move unstructured check earlier in status update
> 2fd9bc9 update generated code and openapi
> 911047c cleanup: remove unused versions of cel validators and structural schemas from CRD strategy
> 068d4fa pin openapi
> e6376d9 cleanup: check unstructured for Validate(Update) before validating
> ca37838 Merge pull request # 121250 from carlory/fix-120882
> a80d851 Merge pull request # 121085 from jiahuif-forks/fix/crd-validation-expressions/enum-cost
> 3a34a15 update pretty param description
> 0c4ba28 Merge pull request # 121010 from Jefftree/decouple-openapi-v2v3-config
> ab724eb skip CEL validations for enum violation.
> b15c120 Merge pull request # 121118 from alexzielenski/apiserver/apiextensions/ratcheting-factor-correlation
> 24792c8 bump kube-openapi
> 4e531e7 set maxLength to longest enum.
> fb7d61d Merge pull request # 121096 from alexzielenski/common-schema
> c82832d ratcheting: disable correlation by index
> b41f9f4 Fix v3 spec
> 67b1443 Merge pull request # 120735 from Jefftree/request-body
> d2c63d3 add rest of accessors to common.Schema
> 0d199cf cleanup: add header and fix spelling
> 6bf411d bump kube-openapi
> c2faef7 refactor: move correlatedObject to its own file
> 10f014c Merge pull request # 121111 from dashpole/update_otel_deps
> e18ccb9 refactor: make CachedDeepEqual independent of validation
> efb81f7 dependencies: update otel-go dependencies
> c969379 refactor: use common.Schema in CorrelatedObject
> 16d9312 Merge pull request # 121117 from MadhavJivrajani/bump-x-net
> 65efe91 refactor: export correlated fields
> 926e59f .: bump golang.org/x/net to v0.17.0
> 572541a refactor: add methods for Key and Index on CorrelatedObject
> 4395afc Merge pull request # 121082 from pohly/ginkgo-gomega-update
> 2edf24b refactor: factor out object correlation
> c79aa2d dependencies: ginkgo v2.13.0, gomega v1.28.0
> 3d3926e refactor: directly implement ValueValidator
> 993ffb2 Merge pull request # 119865 from charles-chenzz/bump_deps
> a2f29d7 refactor: remove unnecessary lambda (noop)
> e82831d Merge pull request # 120836 from jkh52/knp-0.28.0
> c61c50c bump github.com/emicklei/go-restful/v3 to v3.11.0.
> 814b880 Bump Konnectivity to 0.28.0
> 768cdd0 Merge pull request # 119526 from sttts/sttts-idiomatic-cached
> 5447ad1 hack/update-vendor.sh
> 5fb788d Fixup kube-openapi/pkg/cached changes
> f606a30 Merge pull request # 120506 from alexzielenski/import-restrictions
> 1662f59 Merge pull request # 120575 from benluddy/precompute-cr-accepts
> edf0fab pin gengo
> 8a224a3 Reuse SupportedMediaTypes for CR content-type negotiation.
> f181a5b Merge pull request # 120008 from skitt/drop-intstr-ptr-wrappers
> bb94040 Merge pull request # 120499 from tukwila/gorilla/websocket_v1.5.0
> ac3c148 Use ptr.To to retrieve intstr addresses
> a74bd29 Merge pull request # 120517 from Xunzhuo/patch-2
> 2f12351 bump: upgrade gorilla/websocket from v1.4.2 to v1.5.0
> fd3561e fix: update thirdpartyresources refs
> 766529e Merge pull request # 119334 from kmala/serverapply
> c19991e Merge pull request # 120368 from Jefftree/openapi-remove-openapiv2-skip-filter
> b4e4965 update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
> 81659cd remove SkipFilterSchemaForKubectlOpenAPIV2Validation
> ab27435 Merge pull request # 120327 from liggitt/json-patch
> c1cd86f Merge pull request # 120218 from rakshitgondwal/feat/protobuf-version-update
> 9e3e06b Revert to json-patch 4.12.0
> 11f7fbc Merge pull request # 120177 from stevekuznetsov/skuznets/generate-crd-applyconfigurations
> a634982 feat: update google.golang.org/protobuf to v1.31.0
> 003b8d4 apiextensions-apiserver: generate applyconfigurations
> 3b8c9f2 Merge pull request # 119508 from nayihz/fix_finalizer_validation
> dc999a6 Merge pull request # 120060 from jpbetz/cel-features-1_29
> 6de9313 fix crd finalizer validation
> 166c3df Merge pull request # 120109 from Jefftree/fix-openapi-test-flakee
> c18aa20 Bump cel string lib to v2, add tests
> eec2ef6 Merge pull request # 120097 from jpbetz/fix-ppc64le
> c47325f Add wait for cache sync
> 62666cd Bump cel-go to v0.17.6
> 1c8c9c2 Fix CEL cost handling of zero length replacement strings
> 712e602 Merge pull request # 119800 from jpbetz/cost-fix
> 36d7f30 Merge pull request # 118455 from linxiulei/managedFields
> b1ccb14 Add test coverage of result size of string operations
> 1b4a228 Merge pull request # 119725 from MadhavJivrajani/bump-net-dep
> ccb7153 Run hack/update-codegen.sh informers subprojects
> ffb4444 Bump cel-go to v0.16.1
> 9bd0aa3 .*: bump golang.org/x/net to v0.13.0
> 1f93812 Merge pull request # 119653 from sttts/sttts-crd-stored-version-errors
> cfdb852 apiextensions: fix validation error for status.storedVersions
> 705af05 Use statusReason for reason under x-kubernetes-validations (# 119544)
bumping google.golang.org/api 87aa1d0...548436b:
> 548436b chore(main): release 0.167.0 (# 2428)
> 55a9e5a feat(all): auto-regenerate discovery clients (# 2429)
> f72b5af feat(all): auto-regenerate discovery clients (# 2427)
> 133e58b chore(main): release 0.166.0 (# 2418)
> 446a6bd feat(all): auto-regenerate discovery clients (# 2426)
> b7d596b chore(all): update all (# 2423)
> 124a535 feat(all): auto-regenerate discovery clients (# 2425)
> b3f9c38 feat(all): auto-regenerate discovery clients (# 2424)
> af6aa38 feat(all): auto-regenerate discovery clients (# 2421)
> 762eb61 feat(all): auto-regenerate discovery clients (# 2420)
> c969083 feat(all): auto-regenerate discovery clients (# 2419)
> 260fc1e feat(all): auto-regenerate discovery clients (# 2417)
> e451477 chore(main): release 0.165.0 (# 2415)
> deab77d feat(all): auto-regenerate discovery clients (# 2416)
> c702880 feat(all): auto-regenerate discovery clients (# 2414)
> 3ff4bc1 chore(main): release 0.164.0 (# 2407)
> edbe996 fix(transport): disable universe domain check if token source (# 2413)
> 05a0882 chore(all): update all (# 2410)
> 51d5068 feat(all): auto-regenerate discovery clients (# 2412)
> 246b19f feat(all): auto-regenerate discovery clients (# 2409)
> f1b37df feat(all): auto-regenerate discovery clients (# 2408)
> 1bd8304 feat(all): auto-regenerate discovery clients (# 2406)
bumping k8s.io/client-go 94205f8...62c5e9e:
> 62c5e9e Update dependencies to v0.29.2 tag
> baea19d Merge pull request # 122429 from MadhavJivrajani/tools-bump-129
> 3373afd .*: bump golang.org/x/tools to v0.16.1
> 288368e update go.mod
> 86d49e7 Merge pull request # 113374 from ahmedtd/kep-3257-projected-types
> 59c256a Regenerate for ClusterTrustBundlePEM projected volume API
> ac369c3 Define ClusterTrustBundlePEM projected volume
> 66e57f7 Merge pull request # 121552 from pohly/klog-update
> 8b96b9b dependencies: klog v2.110.1
> c13269d Merge pull request # 116516 from aojea/servicecidr
> 7523a34 Merge pull request # 121575 from apelisse/update-smd
> 60aa89a make update with the new API with arrays
> 965bc8d Merge pull request # 121104 from carlory/kep-3751-api-changes
> ce4f256 Update sigs.k8s.io/structured-merge-diff to v4.4.1
> 824910b make update
> 6278c99 generated changes
> 477cb78 Merge pull request # 121089 from tkashem/apf-v1
> 5a34ab5 apiserver: add generated files for flowcontrol api change
> 20fd67f apiserver: generate code for apf flowcontrol v1 API
> 30eba26 Merge pull request # 121524 from carlory/gomega
> 8ec95e1 bump gomega to 1.29.0
> 4028f5b Merge pull request # 121338 from dims/working-otel-bump
> 08f1ffe working-config-otel
> e2e59f3 Merge pull request # 119186 from seans3/stream-translator-proxy
> c925374 Merge pull request # 120397 from ty-dc/StaticCheck
> b7d73dd StreamTranslator and FallbackExecutor for WebSockets
> b003667 Merge pull request # 116065 from sanposhiho/match-label-key-alternative
> 0447e1f cleanup: omit comparison with bool constants
> 5f697ab Merge pull request # 121363 from p0lyn0mial/upstream-reflector-consistency-check
> a462882 feature(scheduler): implement matchLabelKeys in PodAffinity and PodAntiAffinity
> 33d1400 Merge pull request # 120757 from alexzielenski/apiserver/openapi/invalid-default
> 0f984dc client-go/reflector: introduce a data consistency mechanism for the watch-list feature.
> b592521 update generated code and openapi
> 30f741e pin openapi
> 435ce6f Merge pull request # 121010 from Jefftree/decouple-openapi-v2v3-config
> 9f0ec66 Merge pull request # 119802 from takirala/tga/update-ErrGroupDiscoveryFailed
> f68660d bump kube-openapi
> 17c66cc Merge pull request # 119026 from AxeZhan/sleepAction
> 5a38750 fix: add code comments
> 5cf6418 codegen
> f936552 client-go: chore: implement `Is` interface for `ErrGroupDiscoveryFailed`
> 52c50bf Merge pull request # 121229 from aojea/remove_cluster_cidr
> 46e82c5 Merge pull request # 120248 from pacoxu/grpc-container-probe
> 656ec39 remove ClusterCIDR
> bc7002f Merge pull request # 120735 from Jefftree/request-body
> 92c5c93 remove GAed FG GRPCContainerProbe
> d02858f Merge pull request # 121106 from aojea/ipaddress_uid
> c0416e6 bump kube-openapi
> 57d597c Add shortname ambiguity warning in shortcut expander (# 117668)
> 55f8f3f make update
> cf4002b Merge pull request # 121111 from dashpole/update_otel_deps
> 0b5d6df dependencies: update otel-go dependencies
> b4ee45c Merge pull request # 121117 from MadhavJivrajani/bump-x-net
> 9f19d0f .: bump golang.org/x/net to v0.17.0
> 9518c80 Merge pull request # 121082 from pohly/ginkgo-gomega-update
> 5b14e64 Merge pull request # 120975 from ardaguclu/close-heartbeat-explicitly
> fa053c2 dependencies: ginkgo v2.13.0, gomega v1.28.0
> 0a782d6 Merge pull request # 120729 from pohly/events-context
> 583e50d Use timeout function to detect transient errors
> ca71863 Merge pull request # 120984 from p0lyn0mial/upstream-reflector-always-fallback-to-listwatch
> cf07629 k8s.io/client-go/tools/events: pass context into EventSink methods
> 9a88950 revert back to IsUnexpectedCloseError check
> 1e0855a reflector: fallback to the previous mode on any error
> 3595e52 k8s.io/client-go/tools: support context for event recording
> e95d92d Close websocket heartbeat explicitly when unexpected closure received
> fbb1575 Merge pull request # 120980 from p0lyn0mial/upstream-client-go-close-watcher
> 2c9d749 reflector: close an established watcher when the StopCh was closed
> d6dc079 Merge pull request # 120716 from xrstf/fix-typos
> 6b97f71 Merge pull request # 119865 from charles-chenzz/bump_deps
> 0d1af04 fix typo dervied => derived
> 52cc500 Merge pull request # 120865 from aojea/remotecmd_flake
> bf89966 bump github.com/emicklei/go-restful/v3 to v3.11.0.
> 011db22 deflake TestWebSocketClient_HeartbeatSucceeds
> 34d1b64 Merge pull request # 120799 from aojea/workqueue_test
> 657ffa5 Merge pull request # 120752 from p0lyn0mial/upstream-client-go-initial-events-value
>
|
|
|
7e95ca2181
|
Cleanup orphaned func, new image-name calculation (#1962)
* forced namespace change, deletes old func, kind works Signed-off-by: gauron99 <fridrich.david19@gmail.com> * new .deploy.image field Signed-off-by: gauron99 <fridrich.david19@gmail.com> * building * building * add first iteration of complete functionality with f.Build.Image and f.Deploy.Image that STILL contains a workaround for image digest which is populated on Push instead of Build Signed-off-by: gauron99 <fridrich.david19@gmail.com> * base tests fixes for compile Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix base tests2 for now, integration test has a possible TODO Signed-off-by: gauron99 <fridrich.david19@gmail.com> * new generated schema Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix some tests using .Image and create new test Signed-off-by: gauron99 <fridrich.david19@gmail.com> * remove nested .func Signed-off-by: gauron99 <fridrich.david19@gmail.com> * get rid of test Signed-off-by: gauron99 <fridrich.david19@gmail.com> * remove my debug test * fix namespace change test Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix pipeline run to use .Deploy.Image Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix TestDeploy_ConfigApplied and change pipelines image being used Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix some tests Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix actions - return value, configApplied and registry on subsequent deploy different Signed-off-by: gauron99 <fridrich.david19@gmail.com> * update empty image in tests issue Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix client.Apply tests with passing image value to .Deploy after push Signed-off-by: gauron99 <fridrich.david19@gmail.com> * openshift override on namespace change forced, remove useless print Signed-off-by: gauron99 <fridrich.david19@gmail.com> * printing fixes, reviewdog, buildConfig return * fix pipelines test by feeding image name to .Deploy, comments Signed-off-by: gauron99 <fridrich.david19@gmail.com> * update more tests Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix Signed-off-by: gauron99 <fridrich.david19@gmail.com> * new test, comment Signed-off-by: gauron99 <fridrich.david19@gmail.com> * misspell Signed-off-by: gauron99 <fridrich.david19@gmail.com> * remove unnecessary comments * fix from review * namespace updated with 2 fields; new error definitions; deploy functionality cleanup * remove k8s service host var in test * error definition; fix client tests; cli delete fixup Signed-off-by: gauron99 <fridrich.david19@gmail.com> * new schema Signed-off-by: gauron99 <fridrich.david19@gmail.com> * namespace fixes; remover arguments fix Signed-off-by: gauron99 <fridrich.david19@gmail.com> * delete_test cmd Signed-off-by: gauron99 <fridrich.david19@gmail.com> * schema, new local remote flag instead of deploy Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix test to have now required namespace Signed-off-by: gauron99 <fridrich.david19@gmail.com> * add namespace check, test action Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix integration deploy test, comments Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix wrongly removed namespace Signed-off-by: gauron99 <fridrich.david19@gmail.com> * small changes to remover and ns added to its tests Signed-off-by: gauron99 <fridrich.david19@gmail.com> * test moving logic to client * fix deploy bug, remove verbose for better logs * pipelines, clean remover Signed-off-by: gauron99 <fridrich.david19@gmail.com> * newline Signed-off-by: gauron99 <fridrich.david19@gmail.com> * namespace required in remover, and fixed remote deployer - returns ns Signed-off-by: gauron99 <fridrich.david19@gmail.com> * fix integ test for pipelines.Run Signed-off-by: gauron99 <fridrich.david19@gmail.com> * cleanup Signed-off-by: gauron99 <fridrich.david19@gmail.com> * registry update change on deploy, some prints Signed-off-by: gauron99 <fridrich.david19@gmail.com> * new deploy tests and mock update Signed-off-by: gauron99 <fridrich.david19@gmail.com> * new tests, ns determination in mocks Signed-off-by: gauron99 <fridrich.david19@gmail.com> * deploy digested img doesnt populate build Signed-off-by: gauron99 <fridrich.david19@gmail.com> * comments Signed-off-by: gauron99 <fridrich.david19@gmail.com> * remove todo Signed-off-by: gauron99 <fridrich.david19@gmail.com> --------- Signed-off-by: gauron99 <fridrich.david19@gmail.com> |
|
|
452ff50418
|
chore: use local registry in test (#1976)
* test: use custom buildah image in tests Signed-off-by: Matej Vasek <mvasek@redhat.com> * refactor: rename Signed-off-by: Matej Vasek <mvasek@redhat.com> * test: use internal registry in on cluster tests Signed-off-by: Matej Vasek <mvasek@redhat.com> * chore: more verbose output Signed-off-by: Matej Vasek <mvasek@redhat.com> * fix: use fake ctx until fixing termination properly Signed-off-by: Matej Vasek <mvasek@redhat.com> --------- Signed-off-by: Matej Vasek <mvasek@redhat.com> |
|
|
97291a4422
|
fix: direct upload ppc64le, x390x (#1958)
Signed-off-by: Matej Vasek <mvasek@redhat.com> |
|
|
60e0c71843
|
chore: align dependencies with Knative (#1942)
* chore: clean up go.mod file Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: align deps with knative Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: use newer apis instead of deprecated ones Signed-off-by: Matej Vasek <mvasek@redhat.com> * chore: remove github.com/hinshun/vt10x replacement Signed-off-by: Matej Vasek <mvasek@redhat.com> --------- Signed-off-by: Matej Vasek <mvasek@redhat.com> |
|
|
efb04bef0f
|
Use custom jammy paketo builder (#1911)
* chore: use custom jammy paketo builder Use our own modified jammy builder with additional buildpacks for GoFunc and Rust. This enables on cluster build for Go and Rust functions. Where possible (Go, Java) we use "tiny" variant, other runtimes use "base" variant. The updated task is new file instead of modifying existing task this is done for sake of keeping compatiblility. Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: remove unnecessary code per review request Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: podman test refers correct tkn task yamls Signed-off-by: Matej Vasek <mvasek@redhat.com> --------- Signed-off-by: Matej Vasek <mvasek@redhat.com> |
|
|
a270f9e722
|
Fix pod security context (#1889)
* Revert "src: Use jobs not plain pods for auxiliary tasks (#1857)"
This reverts commit
|
|
|
cb6f33d924
|
src: Use jobs not plain pods for auxiliary tasks (#1857)
* src: Use jobs not plain pods for auxiliary tasks Job should have security context set properly automatically. Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: remove unused code Signed-off-by: Matej Vasek <mvasek@redhat.com> --------- Signed-off-by: Matej Vasek <mvasek@redhat.com> |
|
|
79c36eefdc
|
use Tekton Resolvers for a standard on cluster build (#1843)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com> |
|
|
504b40b8eb
|
Cluster integration tests cleanup (#1829)
* test: better cleanup Signed-off-by: Matej Vasek <mvasek@redhat.com> * test: k8s dialer test improvements * Use deployment, not pod directly. * Use gcr.io/knative-samples/helloworld-go instead of nginx. Signed-off-by: Matej Vasek <mvasek@redhat.com> * refactor: dialer ctor accepts k8s config as param This is in general better design since ctor does not relay on global state in form of environment variable. This also allows to run tests in parallel against various clusters. Signed-off-by: Matej Vasek <mvasek@redhat.com> * test: do run tests in a new namespace Not all cluster users can create a new namesapce. If we want to run test against non-admin users namespace must be ensured by test invoker. Signed-off-by: Matej Vasek <mvasek@redhat.com> * test: better deletion policy Signed-off-by: Matej Vasek <mvasek@redhat.com> * test: better random resource names Related resource have common random suffix. Signed-off-by: Matej Vasek <mvasek@redhat.com> --------- Signed-off-by: Matej Vasek <mvasek@redhat.com> |
|
|
f93b23290c
|
adding service account support (#1812)
* adding service account support Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com> * correcting formatting Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com> --------- Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com> Signed-off-by: Matej Vasek <mvasek@redhat.com> Co-authored-by: Matej Vasek <mvasek@redhat.com> |
|
|
3d1176680d
|
fix: bad connection handling for in cluster dialer (#1800)
* fix: bad connection handling for in cluster dialer Connections were closed from wrong end of io.Pipe which resulted in confusing error logs. Signed-off-by: Matej Vasek <mvasek@redhat.com> * feat: DialContext() better error handling Now DialContext() returns some errors immediately instead of deferring it Read/Write operation on the returned connection. Signed-off-by: Matej Vasek <mvasek@redhat.com> * feat: DialContext() more better error handling Now ContextDial() tries to parse socat's stderr and translate it to Go's net.OpError instead of just creating error with whole stderr embedded in it. Signed-off-by: Matej Vasek <mvasek@redhat.com> * Apply suggestions from code review Co-authored-by: Lance Ball <lball@redhat.com> --------- Signed-off-by: Matej Vasek <mvasek@redhat.com> Co-authored-by: Lance Ball <lball@redhat.com> |
|
|
6558f9652d
|
add pvc and emptyDir to function_volumes (#1666)
* add pvc and emptyDir to function_volumes Signed-off-by: Zuhair AlSader <zuhair@koor.tech> * add pvc and emptydir to deployer Signed-off-by: Zuhair AlSader <zuhair@koor.tech> * add config functions Signed-off-by: Zuhair AlSader <zuhair@koor.tech> * update tests Signed-off-by: Zuhair AlSader <zuhair@koor.tech> * use random string for emptydir Signed-off-by: Zuhair AlSader <zuhair@koor.tech> * include func yaml schema Signed-off-by: Zuhair AlSader <zuhair@koor.tech> * fix make schema-generate it needs to be regenrated every time. Signed-off-by: Zuhair AlSader <zuhair@koor.tech> * make function volumes dependency-free Signed-off-by: Zuhair AlSader <zuhair@koor.tech> * add prompt for extension flags Signed-off-by: Zuhair AlSader <zuhair@koor.tech> * add dependency in func_yaml-schema Signed-off-by: Zuhair AlSader <zuhair@koor.tech> --------- Signed-off-by: Zuhair AlSader <zuhair@koor.tech> |
|
|
e3b318adff
|
feat: Pipelines as Code - initial support (pack) (#1594)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com> |
|
|
9961c43b35
|
rm testData (#1576) | |
|
b26a1c29b3
|
chore: `testData` -> `testdata` (#1560)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com> |
|
|
5a4803bf95
|
chore: refactor repository layout (#1554)
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com> |