-
-
Couldn't load subscription status.
- Fork 275
Correcting and/or exempting linter shellcheck code warnings #4254
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
Correcting and/or exempting linter shellcheck code warnings #4254
Conversation
Signed-off-by: Adam Farley <[email protected]>
...because we don't run builds on solaris as part of said checks, so it's a waste of time. Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[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.
Probably ok but will need testing so I'm not going to approve this yet.
Although I will say that this looks overly complex IMHO:
XVFB5=`ps -fu vagrant | grep 'Xvfb :5' | grep -v grep | wc -l`
XVFB5=`ps -fu vagrant | awk '/Xvfb :5/ && !/awk/ {c=c+1} END {print c+0}'`
|
Probably throwing in a comment explaining some of the more complex shell scripting will help. Copilot is your friend for this :-) |
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[email protected]>
|
Changes blocked. May be related to the webhook failures today. This task is paused until that is resolved and the checks can rerun on the latest commit. |
Merge conflict... |
resolve_linter_errors
Resolved. Good spot. :) Will monitor the linter run now. We should be good to merge if that passes. |
|
Note: The only "PR check" failures are the ones I skipped (windows/linux/mac builds). |
Signed-off-by: Adam Farley <[email protected]>
Signed-off-by: Adam Farley <[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.
Looks good.
|
Thank you @sxa and @steelhead31 😎 |
Also includes a change to the PR build pipeline workflow to exempt the solaris files as we don't test solaris in those builds.
Status
Linter check - passed.
Test run: Looks like this branch needs to be hard-coded in the job. Created a copy of the job and giving it a shot:
https://ci.adoptium.net/job/adam_farley_solaris_test_job_copy/