-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(pacakges): update the downloading url for etcd binary #252
Conversation
The pull request updates the downloading URL for the etcd binary in the Potential Problems: It is unclear why the URL for version 3.4.21 is being updated instead of the URL for version 3.5.5, which is the version that supports Darwin arm64 building. Additionally, the comment in the code suggests that the URL for version 3.4.21 should be replaced with the URL for version 3.5.x when upgrading. However, the code does not include the URL for version 3.5.x. Fixing Suggestions:
|
It supports darwin arm64 buiding from v3.5.5 by etcd-io office source. Ref: etcd-io/etcd#14001 Signed-off-by: wuhuizuo <[email protected]>
327cf82
to
4d66fc9
Compare
Review for PR: fix(pacakges): update the downloading url for etcd binarySummaryThis pull request updates the downloading URL for the etcd binary in the packages.yaml.tmpl file. It adds support for darwin arm64 building from v3.5.5 by etcd-io office source. Potential problems
Fixing suggestions
# ${FILE_SERVER_URL}/download/pingcap/etcd-${ETCDCTL_VERSION}-${os}-${arch}.tar.gz
# Notice: it only support darwin arm64 platform from [v3.5.5](https://github.com/etcd-io/etcd/releases/tag/v3.5.5) in office artifacts.
# When we upgrade to 3.5.x, we should replace it with the following url:
# "https://github.com/etcd-io/etcd/releases/download/v3.4.21/etcd-v3.4.21-{{ .Release.os }}-{{ .Release.arch }}.zip"
# Also we need support extract from zip archive.
- url: "http://fileserver.pingcap.net/download/pingcap/etcd-v3.4.21-{{ .Release.os }}-{{ .Release.arch }}.tar.gz"
+ url: "https://github.com/etcd-io/etcd/releases/download/v3.5.5/etcd-v3.5.5-{{ .Release.os }}-{{ .Release.arch }}.tar.gz" |
ReviewThis pull request updates the downloading URL for etcd binary in the Potential ProblemsThere seem to be no potential issues with this pull request. However, it would be helpful to add some testing instructions to ensure that the changes work as expected. Fix SuggestionsSince the changes are minimal, the pull request seems fine as it is. However, the author could add testing instructions and also update the pull request title to be more descriptive. For example, something like "feat(packages): Add support for darwin arm64 building from etcd-io office source" would be more informative. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wuhuizuo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
It supports darwin arm64 buiding from v3.5.5 by etcd-io office source.
Ref: etcd-io/etcd#14001
Signed-off-by: wuhuizuo [email protected]