-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add CI validation of shell scripts using shellcheck #4826
Add CI validation of shell scripts using shellcheck #4826
Conversation
Signed-off-by: Harshvir Potpose <[email protected]>
Signed-off-by: Harshvir Potpose <[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.
I reviewed the first few files, the same mistake is repeated over and over. When a variable is meant to represent multiple arguments like x="a b c"
, using it in quotes "${x}"
means all those values will be given to the command as a single argument, the same as passing a\ b\ c
. This breaks the semantic of most of the scripts.
Signed-off-by: Harshvir Potpose <[email protected]>
@yurishkuro Thank you for taking the time to review my code and providing valuable feedback. I was so fixated on resolving those shellcheck warnings, that I forgot it was breaking the sole purpose of the code. I revisited all of it again and made some changes , can you review it again |
Signed-off-by: Harshvir Potpose <[email protected]>
Signed-off-by: Harshvir Potpose <[email protected]>
can you please add the Hacktoberfest label |
@yurishkuro , i have made some changes, can you please review it. |
Codecov ReportAll modified lines are covered by tests ✅ 📢 Thoughts on this report? Let us know!. |
Signed-off-by: Harshvir Potpose <[email protected]>
Signed-off-by: Harshvir Potpose <[email protected]>
Signed-off-by: Harshvir Potpose <[email protected]>
Signed-off-by: Harshvir Potpose <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[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.
looking good! 🎉
Thanks! |
Which problem is this PR solving?
Resolves #4822
Description of the changes
How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:yarn lint
andyarn test