20560 Commits

Author SHA1 Message Date
Benjamin Wang
a4426b4d74
Merge pull request #16982 from etcd-io/dependabot/github_actions/actions/github-script-7.0.1
build(deps): bump actions/github-script from 6.4.1 to 7.0.1
2023-11-21 15:09:17 +00:00
Benjamin Wang
bccd56ae48
Merge pull request #16985 from jmhbnz/update-dependencies
[2023-11-21] Bump dependencies identified by dependabot
2023-11-21 15:06:57 +00:00
Benjamin Wang
7c0a09b81e
Merge pull request #16986 from jmhbnz/prevent-member-add-ssrf
Disable following redirects when checking peer urls
2023-11-21 10:07:48 +00:00
James Blair
3a9a7483b7
depdendency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.46.0 to 0.46.1.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-11-21 20:03:48 +13:00
James Blair
3b37afec7b
Don't follow redirects when checking peer urls.
It's possible that etcd server may run into SSRF situation when adding a new member. If users provide a malicious peer URL, the existing etcd members may be redirected to other unexpected internal URL when getting the new member's version.

Signed-off-by: James Blair <mail@jamesblair.net>
2023-11-21 10:25:20 +13:00
James Blair
08aabfea02
depdendency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.20.0 to 1.21.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-11-21 10:06:15 +13:00
James Blair
5449f0fb99
depdendency: bump go.opentelemetry.io/otel/sdk from 1.20.0 to 1.21.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-11-21 10:04:28 +13:00
dependabot[bot]
c041272d26
build(deps): bump actions/github-script from 6.4.1 to 7.0.1
Bumps [actions/github-script](https://github.com/actions/github-script) from 6.4.1 to 7.0.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](d7906e4ad0...60a0d83039)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 18:01:19 +00:00
Marek Siarkowicz
a9cf27b169
Merge pull request #16968 from sharathsivakumar/shsi/fix-slack-links
readme: fix slack link for sig-etcd
2023-11-19 22:09:19 +01:00
Sharath Sivakumar
958a2b8e3c
readme: fix slack link for sig-etcd
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-11-19 20:08:00 +01:00
Marek Siarkowicz
94b9993184
Merge pull request #16965 from ivanvc/enable-github-workflow-approval-via-ok-to-test-label
github workflow: enable workflow approval
2023-11-19 10:30:46 +01:00
Ivan Valdes
2a463b5812
github workflow: enable workflow approval
Allow to run GitHub workflows for Pull Requests that have the ok-to-test
label.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-11-17 15:17:19 -08:00
Benjamin Wang
1bade2c347
Merge pull request #16943 from arjunmalhotra1/main
Update 3.4 & 3.5 changelog.
2023-11-16 15:44:47 +00:00
arjunmalhotra1
88e2043923 Update 3.4 & 3.5 changelog.
Signed-off-by: arjunmalhotra1 <am2cj@virginia.edu>
2023-11-16 09:07:47 -06:00
Benjamin Wang
e541a6d672
Merge pull request #16954 from ahrtr/golangci_version_20231116
Get golangci-lint't version from `tools/mod` for `golangci/golangci-lint-action`
2023-11-16 14:49:38 +00:00
Benjamin Wang
033c3f3d94 get golangci-lint's version from tools/mod for the Makefile target install-golangci-lint
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-11-16 14:12:58 +00:00
Benjamin Wang
c30d5c3f44 get golangci-lint't version from tools/mod for golangci/golangci-lint-action
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-11-16 13:45:31 +00:00
Benjamin Wang
c1d079b05e define golangci-lint's version in tools/mod
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-11-16 13:45:31 +00:00
Benjamin Wang
5ec2598d30
Merge pull request #16949 from etsrpl/fix-golangci-lint-missing
tests: fix failed prow test by adding golangci-lint to Makefile
2023-11-16 13:44:56 +00:00
Marek Siarkowicz
8a09853268
Merge pull request #16953 from sharathsivakumar/main
changelog: Update fix for CVE-2023-47108
2023-11-16 14:13:49 +01:00
Marek Siarkowicz
f415c886c4
Merge pull request #16952 from sharathsivakumar/shsi/deps_9
Manually bump dependencies raised by dependabot
2023-11-16 13:18:08 +01:00
Sharath Sivakumar
9ee086c682
changelog: Update fix for CVE-2023-47108
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>

Co-authored-by: Benjamin Wang <wachao@vmware.com>
2023-11-16 12:38:16 +01:00
Sharath Sivakumar
232b25e313
dependency: bump github.com/alexfalkowski/gocovmerge from 1.2.2 to 1.2.3
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-11-16 11:11:36 +01:00
Sharath Sivakumar
33b526f58d
dependency: bump golang.org/x/net from 0.17.0 to 0.18.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-11-16 11:03:00 +01:00
Sharath Sivakumar
4907fedbc3
dependency: bump golang.org/x/crypto from 0.14.0 to 0.15.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-11-16 10:50:17 +01:00
Sharath Sivakumar
7586098f78
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.18.0 to 2.18.1
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-11-16 10:44:50 +01:00
Marek Siarkowicz
0c76f50dbc
Merge pull request #16944 from serathius/refactor-mock-rand
Refactor mocking rand
2023-11-16 09:28:34 +01:00
Etienne Simard
4ec3cf8cfa tests: fix failed prow test by adding golangci-lint to Makefile
Missing binary, fixes golangci-lint command not found on prow jobs

Signed-off-by: Etienne Simard <esimard@ripple.com>
2023-11-15 14:22:58 -06:00
Benjamin Wang
d0114cf4c0
Merge pull request #16797 from siyuanfoundation/metrics
etcdserver: add metric counters for livez/readyz health checks.
2023-11-15 10:52:17 +00:00
Marek Siarkowicz
b71686d1e6 Refactor mocking rand
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-15 10:26:39 +01:00
Marek Siarkowicz
6df2a0cd97
Merge pull request #16914 from siyuanfoundation/rand2
robustness test: add with functions of randomizable config params in robustness test
2023-11-15 10:24:34 +01:00
Siyuan Zhang
834fac9fb2 robustness test: add with functions of randomizable config params in robustness test
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-11-15 02:08:07 +00:00
Siyuan Zhang
3897103b77 etcdserver: add metric counters for livez/readyz health checks.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2023-11-14 09:26:00 -08:00
Benjamin Wang
b343231b12
Merge pull request #16930 from sharathsivakumar/shsi/bump_deps_8
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.g…
2023-11-13 12:00:32 +00:00
Sharath Sivakumar
acd5724689
dependency: bump go get go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.19.0 to 1.20.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-11-13 12:18:48 +01:00
Marek Siarkowicz
30ed399835
Merge pull request #16929 from ZhouJianMS/fix-sleep-failpoint
Exclude sleep failpoint from 1 node scenario
2023-11-13 12:18:47 +01:00
Sharath Sivakumar
8066e8116b
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.45.0 to 0.46.0
Signed-off-by: Sharath Sivakumar <mailssr9@gmail.com>
2023-11-13 11:53:02 +01:00
ZhouJianMS
55516234d3 exclude sleep failpoint from 1 node scenario
Signed-off-by: ZhouJianMS <zhoujian@microsoft.com>
2023-11-13 16:19:44 +08:00
Benjamin Wang
4d8eefb7e9
Merge pull request #16913 from ivanvc/run-arm64-test-for-every-push-and-pr
github workflow: run arm64 tests on every push
2023-11-11 15:14:35 +00:00
Marek Siarkowicz
1e81543546
Merge pull request #16918 from serathius/robustness-timeout
Increase client timeout for failpoint injection
2023-11-11 12:15:32 +01:00
Marek Siarkowicz
13d7bf5ab7 Increase client timeout for failpoint injection
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-11-11 11:53:41 +01:00
Ivan Valdes
c3641d34b8
github workflow: run arm64 tests on every push
Use a template to consolidate arm64 and amd64 test workflows. Enable
running armd64 tests on every push and pull request.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2023-11-10 16:06:16 -08:00
Benjamin Wang
e300c6f0e3
Merge pull request #16907 from ahrtr/typo_20231110
Fix typo in concurrent examples
2023-11-10 20:16:43 +00:00
Benjamin Wang
1a65313a73 fix typo in concurrent examples
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-11-10 14:41:21 +00:00
Benjamin Wang
c0bb57a3d4
Merge pull request #16903 from moficodes/main
github workflow: update golangci-lint to 1.55.2
2023-11-10 10:27:42 +00:00
Benjamin Wang
3f17ba474a
Merge pull request #16906 from moficodes/docs
doc fix: add instruction to installling protoc and yamllint in contributing.md
2023-11-10 09:38:48 +00:00
Mofi Rahman
569cf2d2b9
doc fix: add instruction for installing protoc and yamllint in contributing.md
Signed-off-by: Mofi Rahman <mofi@google.com>
2023-11-10 05:54:33 +00:00
Mofizur Rahman
97e45364a0
Merge branch 'etcd-io:main' into main 2023-11-09 16:21:20 -06:00
Benjamin Wang
11ede03b3f
Merge pull request #16896 from vivekpatani/main
*: bump dependabot dependency
2023-11-09 18:11:13 +00:00
vivekpatani
8da89177a9 etcdctl,etcdutl,pkg,server,tests,tools: bump github.com/spf13/cobra from 1.7.0 to 1.8.0
- https://github.com/etcd-io/etcd/pull/16878/

Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
2023-11-09 11:02:36 -06:00