-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Make sure shellcheck exist #14872
Make sure shellcheck exist #14872
Conversation
I don't think |
Thanks @Bhargav-InfraCloud for pointing this out. I mis-read the |
Based on the guide https://github.com/koalaman/shellcheck#installing, it seems that we should install the tool using command |
like this,check first,is that ok? @ahrtr |
We need to install a specific version of
|
Please squash the commits into one commit. |
If you don't mind, I'd like to share my 2 cents here: As what I can image is like this:
It's better to return corresponding error code of shellcheck to the caller then the caller will take care if there error happens. |
I agree that we shouldn't change anything of system-wide or user-wide settings. The proposal #14872 (comment) seems like a valid solution to me. If the command
|
Please also add an item |
Signed-off-by: guiyong.ou <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you @HeavenTonight
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable. Personally I would prefer we simplify dev scripting enough to migrate most commands to Makefile.
Include conditional logic to install shellcheck with correct architecture. This is based on commit 4f23883 and pull request etcd-io#14872. Signed-off-by: D Tripp <[email protected]>
Include conditional logic to install shellcheck with correct architecture. This is based on commit 4f23883 and pull request etcd-io#14872. Signed-off-by: D Tripp <[email protected]>
Include conditional logic to install shellcheck with correct architecture. This is based on commit 4f23883 and pull request etcd-io#14872. Signed-off-by: D Tripp <[email protected]>
Include conditional logic to install shellcheck with correct architecture. This is based on commit 4f23883 and pull request etcd-io#14872. Signed-off-by: D Tripp <[email protected]>
This is based on commit 4f23883 and pull request etcd-io#14872. Signed-off-by: D Tripp <[email protected]>
This is based on commit 4f23883 and pull request etcd-io#14872. Signed-off-by: D Tripp <[email protected]>
Include conditional logic to install shellcheck with correct architecture. This is based on commit 4f23883 and pull request etcd-io#14872. Signed-off-by: D Tripp <[email protected]>
Signed-off-by: guiyong.ou [email protected]
Fixed #14869
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.