bangumi / server

The next-generation api backend server for bgm.tv
https://bangumi.github.io/api/
GNU Affero General Public License v3.0
589 stars 61 forks source link

build(deps): update module go.etcd.io/etcd/client/v3 to v3.5.15 #607

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.etcd.io/etcd/client/v3 v3.5.14 -> v3.5.15 age adoption passing confidence

Release Notes

etcd-io/etcd (go.etcd.io/etcd/client/v3) ### [`v3.5.15`](https://togithub.com/etcd-io/etcd/releases/tag/v3.5.15) [Compare Source](https://togithub.com/etcd-io/etcd/compare/v3.5.14...v3.5.15) Please check out [CHANGELOG](https://togithub.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.5.md) for a full list of changes. And make sure to read [upgrade guide](https://togithub.com/etcd-io/website/blob/main/content/en/docs/v3.5/upgrades/upgrade\_3\_5.md) before upgrading etcd (there may be breaking changes). For installation guides, please check out [play.etcd.io](http://play.etcd.io) and [operating etcd](https://togithub.com/etcd-io/etcd/tree/master/Documentation#operating-etcd-clusters). Latest support status for common architectures and operating systems can be found at [supported platforms](https://togithub.com/etcd-io/website/blob/main/content/en/docs/v3.5/op-guide/supported-platform.md). ###### Linux ```bash ETCD_VER=v3.5.15 ##### choose either URL GOOGLE_URL=https://storage.googleapis.com/etcd GITHUB_URL=https://github.com/etcd-io/etcd/releases/download DOWNLOAD_URL=${GOOGLE_URL} rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz tar xzvf /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz -C /tmp/etcd-download-test --strip-components=1 rm -f /tmp/etcd-${ETCD_VER}-linux-amd64.tar.gz /tmp/etcd-download-test/etcd --version /tmp/etcd-download-test/etcdctl version /tmp/etcd-download-test/etcdutl version ``` ```bash ##### start a local etcd server /tmp/etcd-download-test/etcd ##### write,read to etcd /tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 put foo bar /tmp/etcd-download-test/etcdctl --endpoints=localhost:2379 get foo ``` ###### macOS (Darwin) ```bash ETCD_VER=v3.5.15 ##### choose either URL GOOGLE_URL=https://storage.googleapis.com/etcd GITHUB_URL=https://github.com/etcd-io/etcd/releases/download DOWNLOAD_URL=${GOOGLE_URL} rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip rm -rf /tmp/etcd-download-test && mkdir -p /tmp/etcd-download-test curl -L ${DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-darwin-amd64.zip -o /tmp/etcd-${ETCD_VER}-darwin-amd64.zip unzip /tmp/etcd-${ETCD_VER}-darwin-amd64.zip -d /tmp && rm -f /tmp/etcd-${ETCD_VER}-darwin-amd64.zip mv /tmp/etcd-${ETCD_VER}-darwin-amd64/* /tmp/etcd-download-test && rm -rf mv /tmp/etcd-${ETCD_VER}-darwin-amd64 /tmp/etcd-download-test/etcd --version /tmp/etcd-download-test/etcdctl version /tmp/etcd-download-test/etcdutl version ``` ###### Docker etcd uses [`gcr.io/etcd-development/etcd`](https://gcr.io/etcd-development/etcd) as a primary container registry, and [`quay.io/coreos/etcd`](https://quay.io/coreos/etcd) as secondary. ```bash rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \ docker rmi gcr.io/etcd-development/etcd:v3.5.15 || true && \ docker run \ -p 2379:2379 \ -p 2380:2380 \ --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \ --name etcd-gcr-v3.5.15 \ gcr.io/etcd-development/etcd:v3.5.15 \ /usr/local/bin/etcd \ --name s1 \ --data-dir /etcd-data \ --listen-client-urls http://0.0.0.0:2379 \ --advertise-client-urls http://0.0.0.0:2379 \ --listen-peer-urls http://0.0.0.0:2380 \ --initial-advertise-peer-urls http://0.0.0.0:2380 \ --initial-cluster s1=http://0.0.0.0:2380 \ --initial-cluster-token tkn \ --initial-cluster-state new \ --log-level info \ --logger zap \ --log-outputs stderr docker exec etcd-gcr-v3.5.15 /usr/local/bin/etcd --version docker exec etcd-gcr-v3.5.15 /usr/local/bin/etcdctl version docker exec etcd-gcr-v3.5.15 /usr/local/bin/etcdutl version docker exec etcd-gcr-v3.5.15 /usr/local/bin/etcdctl endpoint health docker exec etcd-gcr-v3.5.15 /usr/local/bin/etcdctl put foo bar docker exec etcd-gcr-v3.5.15 /usr/local/bin/etcdctl get foo ```

Configuration

📅 Schedule: Branch creation - "on the 1st day of the month" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 4 months ago

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

Details:

Package Change
go.etcd.io/etcd/api/v3 v3.5.14 -> v3.5.15
go.etcd.io/etcd/client/pkg/v3 v3.5.14 -> v3.5.15