Jefferson Ramos
b3b038bcdb
test: enforce branch on test remote repository ( #2540 )
2024-10-12 19:42:09 +00:00
Jefferson Ramos
59aa11c4dd
test: remove dependecy for boson-project git repository on e2e tests ( #2537 )
2024-10-10 05:22:03 +00:00
Jefferson Ramos
47ccd6c4f3
test: making e2e config tests builder agnostic ( #2533 )
2024-10-07 17:50:00 +00:00
Jefferson Ramos
3c1490b351
test: adding GO s2i to e2e test suite ( #2401 )
2024-07-25 06:53:19 +00:00
Matej Vašek
a2a97dbd85
Fix linter issues ( #2420 )
...
* chore: fixed typos
Signed-off-by: Matej Vašek <mvasek@redhat.com>
* chore: removed trailing whitespaces
Signed-off-by: Matej Vašek <mvasek@redhat.com>
* chore: added EoLs at EoFs
Signed-off-by: Matej Vašek <mvasek@redhat.com>
---------
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2024-07-09 13:48:22 +00:00
Matej Vašek
f72b666bd6
test: revert error suppresion ( #2363 )
...
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2024-06-14 06:53:24 +00:00
Luke Kingland
e6fa020f78
fix: test and namespace isolation ( #2187 )
...
* fix: namespace logic cleanup and test isolation
- Pulls logic for defaulting to active namespace (K8S) moved UP to CLI during
flag default calculation.
- Pushes logic of deciding between f.Namespace vs f.Deploy.Namespace down into
implementations.
- Updates some tests which needed to have their environment cleared.
- Refactors Pipelines tests to use client API.
- Removes namespaces as a state variable all structures, instead passing as
an argument.
- Moves FromTempDirectory to testing package for use outside cmd.
* fix spelling errors
* fix: pipelines remover always returned (empty) error
* update tekton namespace handling
* fix: remove deprecated GitLab config: max_concurrency
2024-05-17 08:25:46 +00:00
Matej Vašek
7c87e0c4b8
chore: update node to v20 ( #2217 )
...
* chore: update node to v20
Signed-off-by: Matej Vašek <mvasek@redhat.com>
* fixup: temporarily ingore deletion errors for Node
Signed-off-by: Matej Vašek <mvasek@redhat.com>
* fixup
Signed-off-by: Matej Vašek <mvasek@redhat.com>
---------
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2024-04-30 14:53:54 +00:00
Jefferson Ramos
a0b9d358ab
chore: prepare/update oncluster e2e test for presubmit ( #2270 )
2024-04-12 12:57:22 +00:00
Luke Kingland
e4010db028
src: cleanup setup scripts ( #2247 )
...
The current binaries and allocation scrips are very CI-centric, this PR
takes a few steps to make them more friendly to running in a dev
environment; mainly centered around not polluting global scope (keeping
filesystem mutations in a relative local directory).
- binaries (and kind kubeconfig) are installed in ./hack/bin
- adds /hack/bin to .gitignore
- binary paths can be overridden via env vars FUNC_TEST_{name}
- binary fallback is system-installed (when binaries.sh not run)
- Cleanup of the UX, including colors and some shared helpers via
library.sh
- Removes `yq` as the hack that required it appears to no longer be necessary.
- Adds some notes for Nix users
- Better error messaging when !linux
- Refactors the installers to pipe directly to tar rather than touch
disk.
- begin to standardize on hyphens in filenames
2024-04-02 08:29:03 +00:00
Jefferson Ramos
508539e119
test: update gitserver test image ( #2216 )
2024-03-13 04:39:53 +00:00
Knative Automation
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
> 374e363
workqueue unit tests to assert collapsing behaviors
> d0ea06d cache/reflector: check the value of the initial-events-end annotation
> b5b9332 Merge pull request # 120694 from aojea/ws_healthchec
> 08f8929 Merge pull request # 119526 from sttts/sttts-idiomatic-cached
> ea6e035 add loging and bump timers to avoid races
> 278669d hack/update-vendor.sh
> 908cc0a Merge pull request # 120513 from devincd/fix-typo
> 44a68ee Merge pull request # 120508 from aojea/aojea_owner
> f242a56 fix typo in client-go package
> a73949f Merge pull request # 120008 from skitt/drop-intstr-ptr-wrappers
> 5ac9cf8 add aojea as client-go approver
> a52e8a1 Merge pull request # 120499 from tukwila/gorilla/websocket_v1.5.0
> f0c65af Use ptr.To to retrieve intstr addresses
> 951672f bump: upgrade gorilla/websocket from v1.4.2 to v1.5.0
> 53c02af Merge pull request # 119334 from kmala/serverapply
> f5a7a42 Merge pull request # 119157 from seans3/websocket-executor
> 77918e1 update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
> fd1e22b WebSocket Client and V5 RemoteCommand Subprotocol
> 4783d28 Merge pull request # 119410 from Jefftree/kubectl-cleanup
> 5e052e4 Merge pull request # 119870 from Jefftree/agg-discovery-406
> f02c594 Cleanup kubectl legacy server fallback
> f28f485 Merge pull request # 120259 from SataQiu/clean-apf-20230830
> c4ed5da Fallback to legacy discovery on a wider range of conditions in aggregator
> 5e5ba6b Merge pull request # 120327 from liggitt/json-patch
> def2075 apf: remove v1alpha1 API
> fb2e668 Merge pull request # 120218 from rakshitgondwal/feat/protobuf-version-update
> f6f4d3c Revert to json-patch 4.12.0
> 5af0bb9 feat: update google.golang.org/protobuf to v1.31.0
> 4dd144a Merge pull request # 119962 from pohly/dra-api-list-type
> e8815ff Merge pull request # 118653 from pohly/volume-resource-requirements
> cb120b6 api: change list type for node lists in PodSchedulingContext
> 3fe9aa4 Merge pull request # 119790 from seantywork/added-comment
> 86ae84a generated files
> c1466ac Merge pull request # 119883 from ls-2018/json
> ff3618f kubernetes mutual (2-way) x509 comment
> 9c6b659 Merge pull request # 119937 from RyanAoh/kep-1860-dev
> a8fc969 Fix: null jsonpath serialization
> d124e52 Merge pull request # 119806 from enj/enj/i/delete_psp_api
> 4a487f6 Generated code for IP mode field
> edce1de Merge pull request # 119728 from pohly/ssa-forbid-extract-calls
> 1e11b3a Delete PSP API types and generated clients
> 9a5370b Merge pull request # 119907 from Hii-Arpit/Hii-Arpit-Fixing-Broken-Link
> ed2b4f0 SSA: prevent usage of Extract calls via forbidigo
> 54237a5 Merge pull request # 119796 from sttts/sttts-caches-populated
> f4a635a Update README.md
> b97d8af Merge pull request # 119554 from davidmccormick/prevent-race-client-go-workqueue-shutdown
> 00f8b3a client-go: log proper 'caches populated' message, with type and source and only once
> 856e847 Merge pull request # 118455 from linxiulei/managedFields
> e9b0103 Fix a race where a call to Shutdown was happening after ShutDownWithDrain() had performed the check q.isProcessing() && q.shouldDrain() and before waitForProcessing() has reached its Wait(). This is because waitForProcessing() is only checking the length part of the condition instead of both the length and whether we still need to drain.
> 08b51e9 Merge pull request # 118399 from skitt/ioutil-sig-api-machinery
> 411a118 Run hack/update-codegen.sh informers subprojects
> 41d4a16 Merge pull request # 117992 from liggitt/gc-discovery-flutter
> caded3c api-machinery: stop using deprecated io/ioutil
> da4a4e2 Add 'WithTransform' SharedInformerOption
> b8a03ab Merge pull request # 119876 from marosset/revert-118895
> daed746 Add GroupDiscoveryFailedErrorGroups helper method
> 04dcae2 Merge pull request # 119835 from liggitt/mitigate-aggregated-discovery-npe
> 32bbd73 Revert "Merge pull request # 118895 from RyanAoh/kep-1860"
> bf44ac9 Avoid returning nil responseKind in v1beta1 aggregated discovery
> 49410bf Merge pull request # 119725 from MadhavJivrajani/bump-net-dep
bumping k8s.io/apimachinery 46a872e...dc7e034:
> dc7e034 Merge pull request # 122429 from MadhavJivrajani/tools-bump-129
> 7d94fef .*: bump golang.org/x/tools to v0.16.1
> 3c8c1f2 update go.mod
> 12dc3f8 Merge pull request # 113374 from ahmedtd/kep-3257-projected-types
> 03a1b4b LRUExpireCache: Allow removing multiple keys under lock
> bc0a03b Merge pull request # 119762 from AxeZhan/PollUntilContextCancel
> 16d50e6 Merge pull request # 121552 from pohly/klog-update
> 5916a9f add new test cases
> 6b13b03 dependencies: klog v2.110.1
> 41ffa42 remove dead code in test
> 96ae302 Merge pull request # 121575 from apelisse/update-smd
> abbf317 fix wait.PollUntilContextCancel immediately executes condition once
> 458fd90 Merge pull request # 120707 from Jefftree/csa-openapiv3
> 8dbf841 managedfields: Allow duplicates for built-in updates associative lists
> 850727f Merge pull request # 120592 from AxeZhan/validation_sets
> 5a8e3a4 use OpenAPIV3 for kubectl diff
> 96a678f Update sigs.k8s.io/structured-merge-diff to v4.4.1
> 92fa50e Merge pull request # 121524 from carlory/gomega
> 092c2b3 generic set
> 97be40b Use OpenAPI V3 for client side SMP
> aa1cb92 bump gomega to 1.29.0
> 0785eb2 Merge pull request # 121338 from dims/working-otel-bump
> bf719fd working-config-otel
> c18d2bf Merge pull request # 119186 from seans3/stream-translator-proxy
> 1e138bd Merge pull request # 120397 from ty-dc/StaticCheck
> 20301d1 StreamTranslator and FallbackExecutor for WebSockets
> c047e32 Merge pull request # 120757 from alexzielenski/apiserver/openapi/invalid-default
> b50b428 cleanup: omit comparison with bool constants
> 32607c7 pin openapi
> a1b8da8 Merge pull request # 121010 from Jefftree/decouple-openapi-v2v3-config
> e0ab1cf Merge pull request # 117411 from tenzen-y/add-multiply-method
> 315a5b1 bump kube-openapi
> 51716cc Add a 0 × 0 case
> 71b21d9 Verify more carefully the results in the TestInt64AmountMul
> f9de319 Add test cases for mostPositive and mostNegative
> 9cda16f Add more unit tests
> 56ec8d7 Multiply by a scalar
> 0773351 quantity: Add multiplication methods
> be91880 Merge pull request # 121120 from enj/enj/i/h2_dos
> e04f17b Merge pull request # 120735 from Jefftree/request-body
> a0fd4b0 Prevent rapid reset http2 DOS on API server
> dba4e33 bump kube-openapi
> 1ca6c69 Merge pull request # 121111 from dashpole/update_otel_deps
> 624de72 dependencies: update otel-go dependencies
> 3bbde9f Merge pull request # 121117 from MadhavJivrajani/bump-x-net
> 0e0e381 .: bump golang.org/x/net to v0.17.0
> 67d44f9 Merge pull request # 121082 from pohly/ginkgo-gomega-update
> 63f41b3 dependencies: ginkgo v2.13.0, gomega v1.28.0
> 839ad94 Merge pull request # 120542 from alvaroaleman/condition-change
> a017454 Merge pull request # 118761 from TommyStarK/gh_113831
> 316b59e Apimeta Set/RemoveStatusCondition: Indicate change
> 64708d3 Merge pull request # 119526 from sttts/sttts-idiomatic-cached
> 9e33432 move common logic of highestSupportedVersion to util package
> d60b6e4 hack/update-vendor.sh
> fd8daa8 Merge pull request # 120008 from skitt/drop-intstr-ptr-wrappers
> ee8dcbc Merge pull request # 119619 from skitt/intstr-parse-parseint
> 84bc68b Use ptr.To to retrieve intstr addresses
> 82362bc Merge pull request # 119334 from kmala/serverapply
> 79c2b87 Limit intstr.Parse() to 32-bit integer parsing
> 3514784 Merge pull request # 119157 from seans3/websocket-executor
> 3a170ca update the dependency sigs.k8s.io/structured-merge-diff/v4 to latest tag
> 73d12d0 WebSocket Client and V5 RemoteCommand Subprotocol
> 0d057e5 Merge pull request # 120327 from liggitt/json-patch
> de716d7 Merge pull request # 119801 from wojtek-t/refactor_watch_encoders
> 3235353 Revert to json-patch 4.12.0
> 1629459 Merge pull request # 120218 from rakshitgondwal/feat/protobuf-version-update
> 00225c4 Refactor WatchServer to prepare for using encoders
> 9725a00 feat: update google.golang.org/protobuf to v1.31.0
> 3e2600d cleanup: Update deprecated FromInt to FromInt32 (# 119858)
> 5f41d7c Merge pull request # 119844 from enj/enj/i/upgrade_regex
> 4c378f8 Merge pull request # 118989 from crenshaw-dev/better-error-message
> a1adee5 wsstream: use a single approach to detect connection upgrade
> 14436eb Merge pull request # 118399 from skitt/ioutil-sig-api-machinery
> e1b5587 chore: improve error message for unstructured helper method
> 8071e5f Merge pull request # 119725 from MadhavJivrajani/bump-net-dep
> 9cc9191 api-machinery: stop using deprecated io/ioutil
Signed-off-by: Knative Automation <automation@knative.team>
* Bump cli-runtime to match rest of k8s.io modules
* Fix renamed volumes field
* Fix one more occurence
---------
Signed-off-by: Knative Automation <automation@knative.team>
Co-authored-by: David Simansky <dsimansk@redhat.com>
2024-02-28 15:15:18 +00:00
Jefferson Ramos
d57c454453
test: adding e2e test for func subscribe command ( #2110 )
2024-01-10 13:47:11 +00:00
Jefferson Ramos
6f0b90d8aa
test: adding e2e test for config volumes EmptyDir and PersistentVolumeClaim ( #2078 )
2023-11-20 01:38:11 +00:00
Matej Vasek
b1b329e639
test: do test embedded template ( #2050 )
...
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-10-26 16:59:09 +00:00
Jefferson Ramos
3641bfe5d0
test improvements remove deprecates avoid nils, bump go version 1.20.x ( #2032 )
...
* test: improvements on e2e extended test: remove deprecates, avoid nils and improve match conditions
* update go version on ci to 1.20.x
2023-10-18 17:28:26 +00:00
Matej Vasek
f83c0ee3f5
fix s2i on cluster RT tests ( #2015 )
...
* chore: use smaller s2i nodejs builder
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* test: skip python s2i on cluster build test on GH
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fixup: do check at correct place
Signed-off-by: Matej Vasek <mvasek@redhat.com>
---------
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-10-12 12:24:35 +00:00
Jefferson Ramos
a7c15586ca
test: increase timeout to wait func to get ready on no-container test ( #2002 )
2023-10-04 15:16:06 +00:00
Chris Suszynski
b6fb8800d6
Removing the vendor dir ( #1966 )
2023-09-25 22:51:32 +00:00
Jefferson Ramos
cdcbd0af0f
test: adding test for run without container ( #1977 )
2023-09-20 12:47:13 +00:00
Jefferson Ramos
4968665e01
test: Split of GH oncluster tests by builder. Added FUNC_BUILDER env var for e2e oncluter tests ( #1963 )
2023-09-19 11:46:18 +00:00
Matej Vasek
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>
2023-08-29 18:32:31 +00:00
Matej Vasek
549aee4648
fix: err check at correct place ( #1945 )
...
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-08-28 19:57:29 +00:00
Matej Vasek
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>
2023-08-10 03:25:35 +00:00
Jefferson Ramos
399ab7dd17
test: update github ref used on e2e oncluster tests ( #1917 )
2023-08-09 21:55:35 +00:00
Matej Vasek
89cf6b7a06
chore: refer correct tkn yaml in prow test ( #1918 )
...
Without this change prow test will refer tkn yamls from the main branch
not from the PR head branch.
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-08-09 20:56:35 +00:00
Matej Vasek
a270f9e722
Fix pod security context ( #1889 )
...
* Revert "src: Use jobs not plain pods for auxiliary tasks (#1857 )"
This reverts commit cb6f33d924
.
* refactor: move code from openshift
This is needed to avoid circular package dependencies.
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fix: set pod SC only on non-OpenShift
Signed-off-by: Matej Vasek <mvasek@redhat.com>
---------
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-07-26 20:03:41 +00:00
Lance Ball
803e7e6d07
chore: add presubmit-unit-tests Makefile target ( #1833 )
...
This commit adds a Makefile target that will simulate the Prow presubmit
tests that are run for pull requests on GitHub. It makes use of the same
image used by Prow, and runs the ./test/presubmit-tests.sh script so
that developers can run the same suite of tests that are run in CI/CD.
Signed-off-by: Lance Ball <lball@redhat.com>
2023-06-28 08:32:53 +00:00
Lance Ball
2bf1065266
chore: use a custom presubmit_tests.sh script ( #1808 )
...
The Knative test infrastructure runs presubmit tests which are defined
in vendor/knative.dev/hack/presubmit-tests.sh. This has been running in
test and release infrastructure. It is possible to customize the
behavior of this script by defining a handful of functions. The function
definitions provided here ensure that we are running tasks that are
already being run with the default (e.g. verify-codgen.sh) but make use
of our existing build and test targets.
(There also seems to be a stray version of this that I committed a
couple of years ago. That has been removed as it is in the wrong
location for test-infra and was never used anyway.)
Relates to: https://github.com/knative/func/issues/1333
Signed-off-by: Lance Ball <lball@redhat.com>
2023-06-27 14:09:52 +00:00
Jefferson Ramos
5034bd31d2
chore: test build tags and removal of iteractive tests on Windows ( #1794 )
2023-06-07 19:17:57 +00:00
Lance Ball
dd7c8bdc4e
deps: update tekton to latest versions ( #1753 )
...
* deps: update tekton to latest versions
Fixes: https://github.com/knative/func/issues/1716
Signed-off-by: Lance Ball <lball@redhat.com>
* fixup: rebase
Signed-off-by: Lance Ball <lball@redhat.com>
* fixup: replace kube-openapi with older version and add shell scripts
Signed-off-by: Lance Ball <lball@redhat.com>
* fixup: handle deprecations
Signed-off-by: Lance Ball <lball@redhat.com>
* fixup: revert make check timeout value
Signed-off-by: Lance Ball <lball@redhat.com>
---------
Signed-off-by: Lance Ball <lball@redhat.com>
2023-05-26 20:04:26 +00:00
Luke Kingland
92d20b07d5
feat: func run support all build options ( #1693 )
...
* feat: func run build options and host runs
- Refactors the run command to include all options from build, in the same
manner as deploy.
- Adds the --container flag (currently defaults to true) which will, when
disabled, invoke the localhost-based runner which, in this commit, is not
yet active.
- Updates help text to match the other command format, and lays the verbal
groundwork for the difference between containerized (currently default)
and non-containerized runs.
* fix e2e
* Update cmd/deploy.go
Co-authored-by: Lance Ball <lball@redhat.com>
* Update pkg/functions/client.go
Co-authored-by: Lance Ball <lball@redhat.com>
* Update cmd/run.go
Co-authored-by: Lance Ball <lball@redhat.com>
---------
Co-authored-by: Lance Ball <lball@redhat.com>
2023-05-02 12:11:55 +00:00
Jefferson Ramos
b85a26eb46
test: cleanup on e2e github test ( #1662 )
2023-03-31 13:44:01 +00:00
Jefferson Ramos
2a273c98ee
test: adding e2e github oncluster test scenario ( #1649 )
2023-03-30 22:25:00 +00:00
Jefferson Ramos
9d00af158b
e2e tests restructuring / refactoring ( #1615 )
2023-03-16 20:52:59 +00:00
Matej Vasek
9a9da1ff3f
chore: coverage for e2e tests ( #1603 )
...
* chore: coverage for e2e tests
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fixup: disable thread sanitiser
Signed-off-by: Matej Vasek <mvasek@redhat.com>
---------
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-03-08 17:53:20 +00:00
Matej Vasek
1cff3a4d35
chore: clean up e2e project update logic ( #1593 )
...
* chore: clean up e2e project update logic
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fixup: linter unused param
Signed-off-by: Matej Vasek <mvasek@redhat.com>
---------
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-03-02 19:14:31 +00:00
Matej Vasek
6d4565158b
feat: enabled s2i for python ( #1562 )
...
* feat: enable s2i for python
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fixup: update zz_filesystem_generated.go
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fixup: test
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fixup: test
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fixup: test
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* fixup: script
Signed-off-by: Matej Vasek <mvasek@redhat.com>
---------
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-02-20 16:45:26 +00:00
Zbynek Roubalik
5a4803bf95
chore: refactor repository layout ( #1554 )
...
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2023-02-15 08:46:52 +00:00
Jefferson Ramos
e6618c0c2b
test: e2e on cluster test in verbose mode ( #1537 )
2023-02-14 17:14:51 +00:00
my-git9
705cbcd8ac
Cleanup: remove ioutil for new go version ( #1532 )
2023-02-06 09:43:35 +00:00
Luke Kingland
0f5b93fa96
e2e tests log stdout and stderr ( #1524 )
...
* fix: e2e tests logs on error
Commands now print stdout buffer on failure. In particular, they now
print the stdout buffer, the stderr buffer, and the final returned error text.
* use combined output throughout oncluster tests
* e2e set TestInvoke verbosity on
2023-01-27 10:11:41 +00:00
Luke Kingland
554e74a309
chore: remove underscore prefix from test packages ( #1503 )
...
* remove underscore prefix from test packages
* springboot patch attempt
2023-01-20 09:01:02 +00:00
Jefferson Ramos
3ebed33fda
test: cleanup e2e on cluster tests and make default test registry dynamic ( #1474 )
2022-12-16 21:11:51 +00:00
knative-automation
5d67de768b
Format go code ( #1407 )
...
Signed-off-by: Knative Automation <automation@knative.team>
Signed-off-by: Knative Automation <automation@knative.team>
2022-11-04 11:11:04 +00:00
Jefferson Ramos
f5470c009c
test: adding oncluster builds e2e tests for s2i supported runtimes ( #1235 )
...
* test: adding oncluster builds e2e tests for s2i supported runtimes
* fix: s2i tekton task with empty build envs
2022-10-20 08:29:12 +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
Jefferson Ramos
c740b11095
fix: use proper tmp dir for oncluster e2e tests ( #1346 )
2022-10-17 11:51:57 +00:00
Matej Vasek
ee49339bc4
fix: use proper temp dir for funs in e2e tests ( #1345 )
...
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-10-17 10:51:57 +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