880 Commits

Author SHA1 Message Date
Chun-Hung Tseng
35edbf91ad dependency: bump github.com/golangci/golangci-lint from 1.60.3 to 1.61.0 and google.golang.org/genproto/googleapis/rpc from v0.0.0-20240822170219-fc7c04adadcd to v0.0.0-20240903143218-8af14fe29dc1
Also fix the inconsistent version issue.

Reference:
- https://github.com/etcd-io/etcd/pull/18596

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-22 17:50:56 +02:00
Chun-Hung Tseng
1199fa89a0 dependency: bump golang.org/x/net from 0.28.0 to 0.29.0
Reference:
- https://github.com/etcd-io/etcd/pull/18597

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-22 17:50:12 +02:00
Marek Siarkowicz
1820d3b7d5
Merge pull request #18510 from redwrasse/redwrasse/errors-is
Use errors.Is for error equality checks
2024-09-20 09:02:40 +02:00
Chun-Hung Tseng
14d54893e0 dependency: bump golang.org/x/crypto from 0.26.0 to 0.27.0
golang.org/x/sys and golang.org/x/text version inconsistency are also
addressed:
- bump golang.org/x/sys from 0.24.0 to 0.25.0
- bump golang.org/x/text from 0.17.0 to 0.18.0

Reference:
- https://github.com/etcd-io/etcd/pull/18563
- https://github.com/etcd-io/etcd/pull/18558
- https://github.com/etcd-io/etcd/pull/18566
- https://github.com/etcd-io/etcd/pull/18565

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-14 22:29:31 +02:00
Chun-Hung Tseng
29f3bc2222
Bump go toolchain to 1.22.7
Reference:
- https://github.com/etcd-io/etcd/issues/18443
- https://github.com/etcd-io/etcd/issues/18548#issuecomment-2343061825

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-11 15:32:52 +02:00
redwrasse
d4df7a902e Replaces a number of error equality checks with errors.Is
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-03 16:02:24 -07:00
Chun-Hung Tseng
2cd46694b9 dependency: bump google.golang.org/grpc from 1.65.0 to 1.66.0
Reference:
- https://github.com/etcd-io/etcd/pull/18530
- https://github.com/etcd-io/etcd/pull/18524

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-03 16:27:55 +02:00
Chun-Hung Tseng
06a6da0ea1 dependency: bump google.golang.org/genproto/googleapis/rpc from v0.0.0-20240814211410-ddb44dafa142 to v0.0.0-20240822170219-fc7c04adadcd
Due to bumping go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.27.0 to 1.29.0

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-30 23:03:32 +02:00
Chun-Hung Tseng
8a9670d046 dependency: bump google.golang.org/genproto/googleapis/rpc from v0.0.0-20240723171418-e6d459c13d2a to v0.0.0-20240814211410-ddb44dafa142
Due to the dependency bump of github.com/grpc-ecosystem/grpc-gateway/v2,
we would also need to bump google.golang.org/genproto/googleapis/rpc.

Before:
./etcdutl/go.mod:       google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./go.mod:       google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./tools/testgrid-analysis/go.mod:       google.golang.org/genproto/googleapis/rpc v0.0.0-20240723171418-e6d459c13d2a // indirect
./tools/mod/go.mod:     google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./etcdctl/go.mod:       google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./tests/go.mod: google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./server/go.mod:        google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./api/go.mod:   google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./client/v3/go.mod:     google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./pkg/go.mod:   google.golang.org/genproto/googleapis/rpc v0.0.0-20240723171418-e6d459c13d2a // indirect

After:
./etcdutl/go.mod:       google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./go.mod:       google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./tools/testgrid-analysis/go.mod:       google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./tools/mod/go.mod:     google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./etcdctl/go.mod:       google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./tests/go.mod: google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./server/go.mod:        google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./api/go.mod:   google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./client/v3/go.mod:     google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
./pkg/go.mod:   google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-24 03:10:29 +02:00
Chun-Hung Tseng
6208673ebf
dependency: bump golang.org/x/sys from 0.23.0 to 0.24.0
Reference:
- https://github.com/etcd-io/etcd/pull/18426
- https://github.com/etcd-io/etcd/pull/18425

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-09 10:17:01 +02:00
Benjamin Wang
9c187ef337
Merge pull request #18420 from henrybear327/go/1.22.6
go version bump from 1.22.5 to 1.22.6
2024-08-08 22:02:17 +01:00
Chun-Hung Tseng
8eb943d2af
dependency: bump golang.org/x/net from 0.27.0 to 0.28.0
Due to bumping github.com/alexfalkowski/gocovmerge

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:43:41 +02:00
Chun-Hung Tseng
794d1b64f7
go version bump from 1.22.5 to 1.22.6
Reference: https://github.com/etcd-io/etcd/issues/18419
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:30:09 +02:00
Chun-Hung Tseng
f071fde896
dependency: bump golang.org/x/sys from 0.22.0 to 0.23.0
Reference:
- https://github.com/etcd-io/etcd/pull/18406

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:24:07 +02:00
Siyuan Zhang
bd228cf6d1 migrate experimental-stop-grpc-service-on-defrag flag to feature gate.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-08-05 13:46:51 -07:00
ah8ad3
16fb3f6527 Create util for etcdctl, move helper of cobra from main package to
etcdctl util, create normalizer of examples in util, add some more
examples, change indent of etcdctl from "\t" to "  "

Signed-off-by: ah8ad3 <ah8ad3@gmail.com>
2024-08-04 13:37:22 +03:30
ArkaSaha30
984100b3a6
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.20.0 to 2.21.0
This commit will bump dependency bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.20.0 to 2.21.0 raised by dependabot.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-31 14:16:18 +05:30
redwrasse
7a826062d4 update wait_test indices
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-07-29 13:33:28 +00:00
redwrasse
5f782c350f fix wait_time docs, tests for trigger deadline greater than or equal to wait deadline
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-07-27 21:41:40 +00:00
Marek Siarkowicz
3b4e2f4668
Merge pull request #18279 from siyuanfoundation/fg-1
Add "server-feature-gates" flag.
2024-07-23 15:27:35 +02:00
Siyuan Zhang
7b355141d9 Add "server-feature-gates" flag.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2024-07-18 13:20:30 -07:00
ArkaSaha30
1dac90c226
dependency: bump golang.org/x/net from 0.26.0 to 0.27.0
This commit will bump dependency golang.org/x/net from 0.26.0 to 0.27.0 raised by dependabot.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-18 20:39:39 +05:30
ArkaSaha30
3dda3b849b
dependency: bump golang.org/x/sys from 0.21.0 to 0.22.0
This commit will bump dependency golang.org/x/sys from 0.21.0 to 0.22.0 raised by dependabot.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-10 23:46:20 +05:30
ArkaSaha30
3b269c59fc
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.52.0 to 0.53.0
This commit will bump dependency go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.52.0 to 0.53.0 raised by dependabot.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-10 23:46:20 +05:30
ArkaSaha30
8cd82fd375
dependency: bump google.golang.org/grpc from 1.64.0 to 1.64.1
This commit will bump dependency google.golang.org/grpc from 1.64.0 to 1.64.1 raised by dependabot.

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-10 19:36:05 +05:30
Benjamin Wang
0f24953852
Merge pull request #18266 from ArkaSaha30/deps_mgmt_1_7_24
[2024-07-03] Manual Dependency Bump
2024-07-03 07:33:30 +01:00
D Tripp
8f974669c5 Bump Go version to 1.22.5: GO-2024-2963 fix.
Signed-off-by: D Tripp <38776199+thedtripp@users.noreply.github.com>
2024-07-03 05:07:03 +00:00
ArkaSaha30
fc33323a5d
dependency: bump github.com/prometheus/common from 0.54.0 to 0.55.0
This commit will bump the dependency github.com/prometheus/common from 0.54.0 to 0.55.0

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-07-03 00:58:28 +05:30
Ivan Valdes
a016567398
dependency: bump google.golang.org/genproto/googleapis/api to v0.0.0-20240520151616-dc85e6b867a5
Set the same version for google.golang.org/genproto/googleapis/api
across the submodules.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-06-19 09:02:17 -07:00
Benjamin Wang
a043da50fe
Merge pull request #18062 from stackbaek/main
featuregate: adds EtcdServer.FeatureEnabled interface.
2024-06-19 09:35:54 +01:00
Chun-Hung Tseng
166d26b4e4 dependency: bump github.com/spf13/cobra from 1.8.0 to 1.8.1
Reference:
- https://github.com/etcd-io/etcd/pull/18190

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-17 22:09:15 +02:00
Chun-Hung Tseng
fa835658e3 dependency: bump google.golang.org/protobuf from 1.34.1 to 1.34.2
Reference:
- https://github.com/etcd-io/etcd/pull/18196

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-17 21:49:52 +02:00
Baek
14e15bcaca Removes dependency on other k8s packages in featuregate pkg.
The removed packages are:

 * k8s.io/apimachinery/pkg/util/naming
 * k8s.io/klog/v2

Do note that removing naming package necessitates adding feature gate
name argument to featuregate.New().

Signed-off-by: Baek <seungtackbaek@google.com>
2024-06-15 05:34:58 +00:00
Baek
60e3f45469 Adds all feature_gate from component-base.
We'll likely use most of the feature_gate package from component-base.
Also this commit moves the pkg from server/internal/pkg to pkg/.

Signed-off-by: Baek <seungtackbaek@google.com>
2024-06-15 05:34:58 +00:00
Chun-Hung Tseng
293d979759 dependency: bump golang.org/x/net from 0.25.0 to 0.26.0
Reference:
- https://github.com/etcd-io/etcd/pull/18150
- https://github.com/etcd-io/etcd/pull/18146

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-06-12 09:45:04 +02:00
Marek Siarkowicz
2c56e8edc1
Merge pull request #18107 from serathius/e2e-error-log
Improve e2e error reporting
2024-06-07 13:58:59 +02:00
Marek Siarkowicz
3c5684967f Improve e2e error reporting
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
Co-authored-by: James Blair <mail@jamesblair.net>
Co-authored-by: chao <chaochn@amazon.com>
2024-06-07 10:24:52 +02:00
ArkaSaha30
2089857ab8
Bump Go version to 1.22.4: CVE 2024-24790 fix
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-06-05 14:12:52 +05:30
Chun-Hung Tseng
9431e3a952 dependency: bump google.golang.org/grpc from 1.63.2 to 1.64.0
Reference:
- https://github.com/etcd-io/etcd/pull/18034

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-20 22:45:14 +02:00
Lavish pal
6038f391f1 Upgrade go to 1.22.3.
Signed-off-by: Lavish pal <lvishpal408@gmail.com>
2024-05-10 03:27:35 +05:30
Chun-Hung Tseng
69ca6e96fa dependency: bump golang.org/x/net from 0.24.0 to 0.25.0
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 11:48:14 +02:00
Chun-Hung Tseng
ee9af3c566 dependency: bump google.golang.org/protobuf from 1.33.0 to 1.34.1
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-05-09 11:48:14 +02:00
Benjamin Wang
570370f6e7
Merge pull request #17876 from MadhavJivrajani/go-directive-periodic
[RFC] Setup a way to consistently manage go versions across scripts and go.mods
2024-05-08 09:47:13 +01:00
Jes Cok
6b517bfb4b pkg/report: make use of builtin min/max function
This patch eliminates the minDuration and maxDuration functions,
simplifies the code.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-05-07 22:36:05 +08:00
Madhav Jivrajani
f6a35f8786 .*: sync go toolchain version and add ability to verify versions
This commit adds a script to sync the version present in .go-version
across all go.mod files as the toolchain directive. As part of that,
this commit also modifies go.mod files that did not have synced toolchain
directives.

Additionally, this also adds a script to verify all toolchain and go
directives against the version present in .go-version as follows:
(1) The go directive <= version in .go-version
(2) The toolchain directive == version in .go-version

This script runs as part of the `make verify` target, making it run
as a presbumit by default.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-05-07 17:52:56 +05:30
Jes Cok
e50fe39d94 pkg/netutil: avoid type conversion between uint8 and int for GetDefaultHost
Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2024-04-30 00:28:06 +08:00
Sharath Sivakumar
9e938abd91
dependency: bump golang.org/x/net from 0.23.0 to 0.24.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2024-04-21 23:14:29 +02:00
Chun-Hung Tseng
c8628919bb
dependency: bump google.golang.org/grpc from 1.63.0 to 1.63.2
Reference:
- https://github.com/etcd-io/etcd/pull/17766
- https://github.com/etcd-io/etcd/pull/17765

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-10 09:55:21 +02:00
Chun-Hung Tseng
519b2c06e1
dependency: bump google.golang.org/grpc from 1.62.1 to 1.63.0
References:
- https://github.com/etcd-io/etcd/pull/17748
- https://github.com/etcd-io/etcd/pull/17749
- https://github.com/etcd-io/etcd/pull/17750

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-04-09 12:24:57 +02:00
Ivan Valdes
41baca8a95
dependency: bump golang.org/x/net from 0.22.0 to 0.23.0
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-04-05 12:00:51 -07:00