-
Notifications
You must be signed in to change notification settings - Fork 131
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: enable daily coverity scan #849
base: main
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,46 @@ | |||
|
|||
name: Coverity |
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.
Thanks for the contribution. Please add LICENSE header and comments?
You can refer to the file:
https://github.com/apache/cloudberry/blob/main/.github/workflows/build-cloudberry.yml
@chipitsine Thank you for your PR that adds Coverity scanning to the project's CI pipeline. I appreciate your effort to enhance our code quality checks. I am currently checking with the Apache Infrastructure team about policies regarding the use of Coverity Scan services for Apache projects. Additionally, I noticed a few technical items in the workflow that would need adjustment:
I'll keep you updated once I have more information about Apache's policies regarding Coverity usage. We can then address the workflow specifics based on what I learn. Thanks again for contributing to the project! |
@edespino do you have an ETA for your investigations ? |
@chipitsine I have just sent the following to the ASF Infrastructure team.
|
I've approved your request, you should see findings now. Let me know if not. as for Coverity, CodeQL, and Sonar - I'd start with Coverity (for c/c++ projects). well, those options are not mutually exclusive. if you have enough appetite, you can enable all of them |
regarding those
yep, it's minor error. actually, I copied from other workflow, so it even works )) but I'll fix, nevermind
notification email is mandatory. if you have some preference, Ill change it. or we can use secrets (if you want to keep it secret)
yep. someone has to add that token from coverity admin area to secrets
do you have an example ? |
The infra team mentioned that the Apache Software Foundation (ASF) has a SonarQube Cloud sponsorship. I am going to investigate setting it up and we can compare the functionality and usefulness of both tools. https://sonarcloud.io/organizations/apache/projects @chipitsine do you have any experience with SonarQube? |
Could you please help me understand the motivation behind this task? |
@chipitsine I am simply trying to determine if SonarQube would give us a similar static analysis as Coverity. It is possible Coverity is the way to go. But I would like to spend a few days reviewing both tools. |
What does this PR do?
introduce workflow mentioned in #842
Type of Change
Additional Context
next steps:
P.S. I forgot to mention reeasoning for daily scheduling. Coverity has limits