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

update(dummy_c): create a custom CI workflow for dummy_c #382

Merged
merged 4 commits into from
Dec 11, 2023

Conversation

Andreagit97
Copy link
Member

What type of PR is this?

/kind cleanup

/kind design

Any specific area of the project related to this PR?

/area plugins

What this PR does / why we need it:

This change is because we cannot use codeQL autobulid mode for complex cpp plugins (see #378). So the idea is to create a custom workflow for each cpp plugin (in this case dummy_c) with a build job (that runs codeQL) and a formatting job.
In the same way, the k8smeta plugin will have a dedicated workflow with a build-and-test job (that runs codeQL) and a formatting job.

Which issue(s) this PR fixes:

Special notes for your reviewer:

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Copy link
Member Author

Choose a reason for hiding this comment

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

this file will be used also by the k8smeta plugin

Copy link
Member Author

Choose a reason for hiding this comment

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

we cannot rely on the codeQL autobuild mode for complex cpp projects, dummy_c was a sort of exception because it is straightforward and doesn't have dependencies, but in order to follow a clear approach, we will have a general codeQL job for golang plugins and a dedicated codeQL job for each cpp plugin

Copy link
Member Author

Choose a reason for hiding this comment

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

dedicated CI for the dummy_c plugin

Copy link
Member Author

Choose a reason for hiding this comment

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

just applied clang-format on this file

Copy link

Rules files suggestions

@poiana
Copy link
Contributor

poiana commented Dec 11, 2023

LGTM label has been added.

Git tree hash: 477cfbecbf070d252dffd185877478e75d8084b9

@poiana
Copy link
Contributor

poiana commented Dec 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, leogr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit f1e9c79 into falcosecurity:master Dec 11, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants