Commit Graph

389 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
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
18eb5c6881 Merge pull request #18748 from mmorel-35/golangci-lint/gofumpt
fix: enable gofumpt instead of gofmt linter in client
2024-10-25 12:25:33 +01:00
4c8a41cd24 fix: enable float-compare rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-24 08:47:46 +02:00
867bd2689f Merge pull request #18746 from mmorel-35/golangci-lint/thelper
fix: enable thelper linter in client directory
2024-10-23 07:57:03 +01:00
a7dcfdb839 Merge pull request #18741 from ghouscht/testifylint-formatter
fix: enable formatter rule from testifylint
2024-10-22 06:15:27 +01:00
55de68d18c Merge pull request #18722 from mmorel-35/api/errorlint
fix: enable errorlint in api, client and pkg
2024-10-20 09:16:30 +01: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
906247c8f9 fix: enable gofumpt instead of gofmt linter in client
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-17 22:29:59 +02:00
ff4a8df3aa fix: enable formatter rule from testifylint
Signed-off-by: Thomas Gosteli <thomas.gosteli@protonmail.ch>
2024-10-17 14:10:35 +02:00
6165f60419 fix: enable expected-actual rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-17 09:17:59 +00:00
97c8869184 fix: enable thelper linter in client directory
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-17 00:06:06 +02: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
4957e5670e update epHealthCommandFunc to reuse clientConfigFromCmd
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-10-15 09:48:12 +01:00
b281a3c4fa fix: enable errorlint in api, client and pkg
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-13 19:43:20 +02: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
5e238a0c4f Merge pull request #18705 from mmorel-35/testifier/require-error
fix: use require.NoError instead of t.Fatal(err) in client package
2024-10-10 10:08:44 +01:00
3343dc894a fix: use require.NoError instead of t.Fatal(err) in client package
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-09 08:29:38 +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
b23947b604 fix: enable bool-compare rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-06 09:47:02 +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
1a08fb2809 Merge pull request #18614 from redwrasse/redwrasse/client/rest-of-errors-is
client: remaining errors.Is conversions
2024-09-26 04:09:31 +10:00
ecc2c5e471 client modules: remaining errors.Is conversions for error equality and inequality checks.
Signed-off-by: redwrasse <mail@redwrasse.io>
2024-09-22 17:43:01 -07:00
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
4bb9392289 Merge pull request #18515 from henrybear327/dependencies/08_29_24
[2024-08-29] Bump dependency updates identified by dependabot
2024-08-31 08:32:23 +01: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
2bcaed1e09 Fix passing default grpc call options in Kubernetes client
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2024-08-29 16:46:00 +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