Skip to content
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

Shellcheck: ci/ (2) #13169

Merged
merged 15 commits into from
Sep 22, 2020
Merged

Conversation

phlax
Copy link
Member

@phlax phlax commented Sep 18, 2020

Commit Message: Shellcheck: ci/
Additional Description:
2nd attempt at linting ci directory

address problem with clang_tidy compiler

Risk Level: low
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue] Partial fix for #7793
[Optional Deprecated:]

Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax marked this pull request as draft September 18, 2020 07:02
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax force-pushed the ci-run-shellchecks--ci branch from bee0424 to 3d34c20 Compare September 18, 2020 11:35
@phlax phlax marked this pull request as ready for review September 18, 2020 11:35
@phlax phlax changed the title [WIP] Shellcheck: ci/ (2) Shellcheck: ci/ (2) Sep 18, 2020
@phlax
Copy link
Member Author

phlax commented Sep 18, 2020

i have reproduced the error with the clang_tidy compilation, and fixed the problem.

Im wondering if there are any other changes i should make to test everything is working - i could not see anywhere else in do_ci.sh with the same issue

Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax force-pushed the ci-run-shellchecks--ci branch from 3d34c20 to 95c8a17 Compare September 18, 2020 13:32
@asraa
Copy link
Contributor

asraa commented Sep 18, 2020

Im wondering if there are any other changes i should make to test everything is working

Matt brought up that testing with an empty code change will trigger clang_tidy to run (where before it thinks there is an empty diff) to test in CI. Otherwise I think the tests should be running without caching (bazel.release, asan, tsan, etc).

And thank you!!

@phlax
Copy link
Member Author

phlax commented Sep 18, 2020

Matt brought up that testing with an empty code change will trigger clang_tidy to run (where before it thinks there is an empty diff) to test in CI.

i think i did that - if you check the commits - and the clang_tidy script failed - i reverted it after. Unless im misunderstanding

@phlax phlax changed the title Shellcheck: ci/ (2) [WIP] Shellcheck: ci/ (2) Sep 18, 2020
@phlax phlax marked this pull request as draft September 18, 2020 19:22
@phlax
Copy link
Member Author

phlax commented Sep 18, 2020

there seems to be a problem with coverage - trying to figure it out...

@phlax phlax force-pushed the ci-run-shellchecks--ci branch from 5b753af to d3ac5c0 Compare September 19, 2020 08:05
Signed-off-by: Ryan Northey <ryan@synca.io>
@phlax phlax force-pushed the ci-run-shellchecks--ci branch from d3ac5c0 to a961551 Compare September 19, 2020 08:13
@phlax
Copy link
Member Author

phlax commented Sep 19, 2020

there seems to be a problem with coverage

this seem to have been a flakey test - adding another commit or amending the failing one fixed the problem

@phlax phlax changed the title [WIP] Shellcheck: ci/ (2) Shellcheck: ci/ (2) Sep 19, 2020
@phlax phlax marked this pull request as ready for review September 19, 2020 11:03
ci/build_setup.sh Outdated Show resolved Hide resolved
Signed-off-by: Ryan Northey <ryan@synca.io>
Copy link
Member

@zuercher zuercher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I think I found one more, but otherwise lgtm.

ci/filter_example_setup.sh Outdated Show resolved Hide resolved
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey <ryan@synca.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants