-
Notifications
You must be signed in to change notification settings - Fork 949
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
feature: add shellcheck to validate shell script #1437
feature: add shellcheck to validate shell script #1437
Conversation
Signed-off-by: Allen Sun <[email protected]>
This PR fails to pass the shellcheck since there are so many incorrect format in shell script files. Could you help to finish this? @ZouRui89
|
Let me help pouch to pass the shellcheck. 😄 @allencloud @ZouRui89 |
That is so good for you to help. Maybe @ZouRui89 could help provide some guidance if there is more issues happen. |
You can do this to base on my commit, @zhuangqh :
|
I think this part has already been covered in #1447. So I am closing it. |
Signed-off-by: Allen Sun [email protected]
Ⅰ. Describe what this PR did
use ShellCheck (https://github.com/koalaman/shellcheck) to check the validateness of shell scripts in pouch repo
Ⅱ. Does this pull request fix one issue?
none, this pr enhances the validation of project files.
Ⅲ. Describe how you did it
use ShellCheck (https://github.com/koalaman/shellcheck) to check the validateness
I installed the shellcheck via
apt-get install shellcheck
.Also, we add a dockerfile for the image
pouchlint:v0.1
.Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews