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

ci: Use clang-tidy tools from toolshed #29848

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

phlax
Copy link
Member

@phlax phlax commented Sep 28, 2023

This sets up the clang_tidy ci target using the recently added/experimental aspect from toolshed

The upstream needs some work before we can fully enable this for CI - but this at least allows it to be run locally, and makes it easier to run ci testing in the interim

For some reason, using the bazel clang-tidy binary we have setup in the repo fails flakily so i also need to investigate that further. For now it uses the host clang-tidy

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax phlax marked this pull request as draft September 28, 2023 09:33
@repokitteh-read-only repokitteh-read-only bot added the deps Approval required for changes to Envoy's external dependencies label Sep 28, 2023
@repokitteh-read-only
Copy link

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).
envoyproxy/dependency-shepherds assignee is @moderation

🐱

Caused by: #29848 was opened by phlax.

see: more, trace.

@phlax phlax force-pushed the clang-tidy-toolshed branch 3 times, most recently from a8e8409 to 39f4899 Compare September 28, 2023 10:36
@phlax phlax changed the title [WIP] ci: Use clang-tidy tools from toolshed ci: Use clang-tidy tools from toolshed Sep 28, 2023
@phlax phlax marked this pull request as ready for review September 28, 2023 10:37
@phlax
Copy link
Member Author

phlax commented Sep 28, 2023

cc @wbpcode

@phlax phlax force-pushed the clang-tidy-toolshed branch 3 times, most recently from 6141f16 to 45b11ba Compare September 28, 2023 10:49
@phlax phlax force-pushed the clang-tidy-toolshed branch from 45b11ba to 3fd8652 Compare September 28, 2023 11:11
@moderation
Copy link
Contributor

/lgtm deps

@repokitteh-read-only repokitteh-read-only bot removed the deps Approval required for changes to Envoy's external dependencies label Sep 28, 2023
@phlax phlax merged commit f1425b7 into envoyproxy:main Sep 28, 2023
phlax pushed a commit that referenced this pull request Nov 22, 2024
`run_clang_tidy.sh` has been removed from the CI in
#29848
and not used anymore. Furthermore, it's broken on the main branch, so
it's better
to remove the file completely to avoid confusing new contributors.

Signed-off-by: Takeshi Yoneda <[email protected]>
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.

3 participants