Commit Graph

908 Commits

Author SHA1 Message Date
b1fb361eca Bump go toolchain to 1.23.3
Signed-off-by: Ivan Valdes <ivan@vald.es>
2024-11-06 17:13:26 -08:00
f43c6815b1 dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.22.0 to 2.23.0
This commit will bump dependency github.com/grpc-ecosystem/grpc-gateway/v2 from 2.22.0 to 2.23.0

fixes genproto error as per: https://github.com/etcd-io/etcd/blob/main/Documentation/contributor-guide/dependency_management.md#troubleshooting

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2024-11-06 15:23:08 +05:30
df15a7fe4c dependency: bump github.com/prometheus/common from 0.60.0 to 0.60.1
Reference:
- https://github.com/etcd-io/etcd/pull/18796

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-31 22:43:48 +08:00
ff632e45f8 fix: enable errorlint in etcdctl and etcdutl directories
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-31 08:00:36 +01:00
5cce245df5 dependency: bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5
Reference:
- https://github.com/etcd-io/etcd/pull/18758

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-27 12:43:19 +09:00
8c538cd81c dependency: bump bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.30.0 to 1.31.0, github.com/rogpeppe/go-internal from v1.12.0 to v1.13.1, and google.golang.org/genproto/googleapis/api from v0.0.0-20240924160255-9d4c2d233b61 to v0.0.0-20241007155032-5fefd90f89a9
Also addressed inconsistent versions for dependency: github.com/rogpeppe/go-internal and google.golang.org/genproto/googleapis/api

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

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-20 13:37:57 +08:00
940777e201 dependency: bump google.golang.org/protobuf from 1.34.2 to 1.35.1 and google.golang.org/genproto/googleapis/rpc from v0.0.0-20240924160255-9d4c2d233b61 to v0.0.0-20241007155032-5fefd90f89a9
Also addressed inconsistent versions for dependency: google.golang.org/genproto/googleapis/rpc

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

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-20 13:37:57 +08:00
894b618a8d dependency: bump google.golang.org/protobuf from 1.34.2 to 1.35.1
Reference:
- https://github.com/etcd-io/etcd/pull/18729

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-20 13:37:57 +08:00
522edd56b7 dependency: bump golang.org/x/net from 0.29.0 to 0.30.0
Reference:
- https://github.com/etcd-io/etcd/pull/18730

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-20 13:37:57 +08:00
d275172c4c dependency: bump golang.org/x/time from 0.6.0 to 0.7.0
Reference:
- https://github.com/etcd-io/etcd/pull/18738

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-20 13:37:57 +08:00
ed9f61df28 feat(etcdctl): add --max-send-bytes and --max-recv-bytes options
Signed-off-by: Direktor799 <priceclaptrap@hotmail.com>
2024-10-16 19:54:41 +08:00
b757772ebc Update endpointsFromCluster to reuse clientConfigFromCmd
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-10-15 14:06:16 +01:00
4957e5670e update epHealthCommandFunc to reuse clientConfigFromCmd
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-10-15 09:48:12 +01:00
33d7f2d53e fix: enable gofmt and whitespace linters
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-11 07:03:18 +02:00
36f0f659a2 dependency: bump golang.org/x/crypto from 0.27.0 to 0.28.0 and bump golang.org/x/text from 0.18.0 to 0.19.0
golang.org/x/text is bumped automatically alongside golang.org/x/crypto
as its dependency

Reference:
- https://github.com/etcd-io/etcd/pull/18692
- https://github.com/etcd-io/etcd/pull/18690

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-08 19:55:05 +02:00
3520d32235 dependency: bump github.com/prometheus/common from 0.59.1 to 0.60.0
Reference:
- https://github.com/etcd-io/etcd/pull/18691

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-08 19:55:05 +02:00
c256db1065 dependency: bump golang.org/x/sys from 0.25.0 to 0.26.0
Reference:
- https://github.com/etcd-io/etcd/pull/18693
- https://github.com/etcd-io/etcd/pull/18698

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-08 19:55:05 +02:00
f0d5967877 dependency: bump google.golang.org/grpc from 1.67.0 to 1.67.1
Reference:
- https://github.com/etcd-io/etcd/pull/18694

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-10-08 19:55:05 +02:00
8650df2868 Bump go version to 1.23.2
Signed-off-by: Agni <bhattacharyya.agni@gmail.com>
2024-10-02 03:34:11 +05:30
dcdfead770 Bump go toolchain to 1.23.1
Reference:
- https://github.com/etcd-io/etcd/issues/18543
- https://github.com/kubernetes/release/issues/3650

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-26 22:38:57 +02:00
79f31c7a5d dependency: bump go.opentelemetry.io/otel from 1.29.0 to 1.30.0
In summary, the bump is performed for the following dependencies:
- go.opentelemetry.io/otel/exporters/otlp/otlptrace from v1.29.0 to v1.30.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from v1.29.0 to v1.30.0
- go.opentelemetry.io/otel/metric from v1.29.0 to v1.30.0
- go.opentelemetry.io/otel/sdk from v1.29.0 to v1.30.0
- go.opentelemetry.io/otel/trace from v1.29.0 to v1.30.0

This commit also addressed the following issues
FAIL: inconsistent versions for dependency: google.golang.org/genproto/googleapis/api
  - google.golang.org/genproto/googleapis/api@v0.0.0-20240822170219-fc7c04adadcd (indirect) from: go.etcd.io/etcd/client/v3
  - google.golang.org/genproto/googleapis/api@v0.0.0-20240822170219-fc7c04adadcd (indirect) from: go.etcd.io/etcd/etcdctl/v3
  - google.golang.org/genproto/googleapis/api@v0.0.0-20240822170219-fc7c04adadcd from: go.etcd.io/etcd/api/v3
  - google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/etcdutl/v3
  - google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tests/v3
  - google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tools/v3
  - google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/v3
  - google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 from: go.etcd.io/etcd/server/v3
  - google.golang.org/genproto/googleapis/api@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tools/v3
FAIL: inconsistent versions for dependency: google.golang.org/genproto/googleapis/rpc
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/api/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/client/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/etcdctl/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/pkg/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240903143218-8af14fe29dc1 (indirect) from: go.etcd.io/etcd/tools/testgrid-analysis/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/etcdutl/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/server/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tests/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tools/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/v3
  - google.golang.org/genproto/googleapis/rpc@v0.0.0-20240924160255-9d4c2d233b61 (indirect) from: go.etcd.io/etcd/tools/v3
FAIL: inconsistent dependencies

Reference:
- https://github.com/etcd-io/etcd/pull/18629
- https://github.com/etcd-io/etcd/pull/18630
- https://github.com/etcd-io/etcd/pull/18626
- https://github.com/etcd-io/etcd/pull/18627

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-26 00:40:27 +02:00
4d4008164e dependency: bump google.golang.org/grpc from 1.66.0 to 1.67.0
Reference:
- https://github.com/etcd-io/etcd/pull/18628

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-25 22:43:51 +02:00
d77c9ac5c2 dependency: bump github.com/prometheus/client_golang from 1.20.3 to 1.20.4
Reference:
- https://github.com/etcd-io/etcd/pull/18631

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-25 22:43:51 +02:00
59cfd7a61d Merge pull request #18612 from Kamandlou/km-dev
update: `cobra.ExactValidArgs` method is deprecated
2024-09-24 10:05:29 +01:00
6767e1ff64 command: Use errors.Is for error equality check in ep_command.go
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-23 10:12:40 -07:00
063627e42f update: cobra.ExactValidArgs method is deprecated
Signed-off-by: Kamandlou <ahkamandlou@gmail.com>
2024-09-23 17:22:05 +03:30
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
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
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
a976ba136d dependency: bump github.com/prometheus/client_golang from 1.20.2 to 1.20.3
Reference:
- https://github.com/etcd-io/etcd/pull/18564
- https://github.com/etcd-io/etcd/pull/18559

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-14 22:10:04 +02:00
636f191368 dependency: bump github.com/prometheus/common from 0.57.0 to 0.59.1
Reference:
- https://github.com/etcd-io/etcd/pull/18562
- https://github.com/etcd-io/etcd/pull/18567

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-14 21:48:11 +02:00
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
bd246ea174 dependency: bump github.com/prometheus/common from 0.55.0 to 0.57.0
Reference:
- https://github.com/etcd-io/etcd/pull/18529
- https://github.com/etcd-io/etcd/pull/18523

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-09-03 16:30:25 +02:00
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
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
d6b5693f91 dependency: bump google.golang.org/genproto/googleapis/api 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:01:23 +02:00
077817058f dependency: bump github.com/prometheus/client_golang from 1.20.0 to 1.20.2
Reference:
- https://github.com/etcd-io/etcd/pull/18492

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-29 22:12:13 +02:00
e794407f3f dependency: bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0
Reference:
- https://github.com/etcd-io/etcd/pull/18469
- https://github.com/etcd-io/etcd/pull/18466

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-24 03:10:29 +02:00
d23c2c7a16 dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.21.0 to 2.22.0
Reference:
- https://github.com/etcd-io/etcd/pull/18470
- https://github.com/etcd-io/etcd/pull/18467

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-24 03:10:29 +02:00
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
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
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
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
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
cfe806aab7 dependency: bump golang.org/x/time from 0.5.0 to 0.6.0
Reference:
- https://github.com/etcd-io/etcd/pull/18401

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
2024-08-08 21:24:07 +02:00
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
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
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
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
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