-
Notifications
You must be signed in to change notification settings - Fork 128
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
sast: initial task for Coverity Buildless #1411
base: main
Are you sure you want to change the base?
Conversation
task/sast-coverity-buildless-check/0.1/sast-coverity-buildless-check.yaml
Outdated
Show resolved
Hide resolved
48b9d8c
to
06b8305
Compare
Results are parsed and shown in the UI: Here we have an example pipeline: https://konflux.apps.stone-prod-p02.hjvn.p1.openshiftapps.com/application-pipeline/workspaces/jperezde/applications/test-coverity/pipelineruns/ec-cli-on-pull-request-292mf |
7d6c4fb
to
e833b16
Compare
task/sast-coverity-buildless-check/0.1/sast-coverity-buildless-check.yaml
Outdated
Show resolved
Hide resolved
task/sast-coverity-buildless-check/0.1/sast-coverity-buildless-check.yaml
Outdated
Show resolved
Hide resolved
task/sast-coverity-buildless-check/0.1/sast-coverity-buildless-check.yaml
Outdated
Show resolved
Hide resolved
task/sast-coverity-buildless-check/0.1/sast-coverity-buildless-check.yaml
Outdated
Show resolved
Hide resolved
e833b16
to
beaaf79
Compare
Thanks for the thorough review @kdudka ! |
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.
@jperezdealgaba Please close the review threads that have been resolved. I do not have sufficient permission to do it myself.
task/sast-coverity-buildless-check/0.1/sast-coverity-buildless-check.yaml
Outdated
Show resolved
Hide resolved
task/sast-coverity-buildless-check/0.1/sast-coverity-buildless-check.yaml
Outdated
Show resolved
Hide resolved
97be5ae
to
e52f763
Compare
Solved all comments and added new changes. I will also apply the changes (the record excluded and update the |
f65c313
to
ffff308
Compare
ffff308
to
dc50185
Compare
72ee032
to
5973915
Compare
Hey! @kdudka I just did a new MR with all the discussed changes:
The relationship between the two tasks are defined in the following file: pipelines/template-build/template-build.yaml |
4ff058b
to
67b248e
Compare
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.
LGTM
/ok-to-test |
@hongweiliu17 @14rcole Could you please check what failed at https://github.com/konflux-ci/build-definitions/pull/1411/checks?check_run_id=32513757072? I do not have permissions to access the logs myself. |
I can see error message on https://console.redhat.com/application-pipeline/ns/konflux-ci/pipelinerun/build-definitions-pull-request-hvsz9/logs/ec-task-checks, it looks I need permission too.
But I can see error from plr log from cluster and paste them to https://privatebin.corp.redhat.com/?19308e48ca84a494#7wxyCvDRWnqSiuU9BUdhiqCmsie4KKCb6vT3Dzhzc74o |
/ok-to-test |
ae4595a
to
be137b6
Compare
@kdudka I just rebased the branch. Would you mind retesting? |
/ok-to-test |
It seems that ec-task-checks failed again with:
I am not able to access the task log myself: https://console.redhat.com/application-pipeline/ns/konflux-ci/pipelinerun/build-definitions-pull-request-6xts4/logs/ec-task-checks |
@tnevrlka Thanks for the resteting. This PR should be failing by something out of our control as we are not allow to see those tasks/logs. Would you mind adding some guidance so we can fix this? |
7017796
to
0a521f1
Compare
/ok-to-test |
73fc566
to
50ebc74
Compare
Solves: https://issues.redhat.com/browse/OSH-740 Initial version of the Coverity Buildless task. In introduces two different tasks: A task checking the availability of Coverity license and authentication token, and a task for scanning the code. The code will be scanned using coverity buildless mode, then the results are processing using csgrep and the results are later filtered using csfilter-kfp.
50ebc74
to
499a725
Compare
@14rcole @ralphbean The MR has been updated and it already contains needed changes. With the two tasks
Apart from that, no other work from our side is needed cc/ @kdudka |
Initial version of the Coverity Buildless task. The code will be scanned using coverity buildless mode, then the results are processuing using csgrep and the results are later filtered using csfilter-kfp.
This is a draft request and this can not be merged in this repository. It will be merged in a newly created repository.
Things pending to do:
csdiff
package once the container image is updatedApart from that, the MR can be reviewed as the funcionality will remain the same