-
Notifications
You must be signed in to change notification settings - Fork 61
Enable additional security and compliance checks #1749
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1749 +/- ##
==========================================
- Coverage 84.98% 84.91% -0.07%
==========================================
Files 178 178
Lines 12019 12019
==========================================
- Hits 10214 10206 -8
- Misses 1805 1813 +8
Continue to review full report at Codecov.
|
Note to self: this can be greatly optimized by explicitly stating job dependencies. Will try that in next PR. |
Can you give me a bit more information about what these are actually doing, or how to tell that they are doing meaningful reviews? In particular, the license scanner says "No active and installed package managers found for project." (https://main.gitlab.in.here.com/olp/edge/ota/connect/client/aktualizr/-/jobs/4695378) |
Sure, here's brief overview:
All those are far from perfect and give false positives or simply fail. They are still under active development. The only mandatory right now is SAST checker while others are expected to become part of recommended battery of tests as they mature. I've just thought it's easier to add them all in one go. The failing part of the license checker is an attempt to looks up dependencies licenses. The check for our own code license should still work. |
Okay, thanks for the info. I think this is probably fine, but if they do start yielding lots of unhelpful output, can we switch them to be optional? Or can we put them into a separate phase of the pipeline? I think at the moment it's a bit confusing to have them mixed in with the regular test suite. |
They all are already optional. I can also move them to separate stage or remove completely. |
Oh nice, great! Sorry, I didn't realize that.
I think I would prefer if they were bundled as a separate stage from the unit tests. |
Signed-off-by: Max <max.suraev@here.com>
Signed-off-by: Max <max.suraev@here.com>
I see multiple "dependencies" entries which looks like a misnomer caused by confusing gitlab language. Are those what humans think (this job depends on that job) or it's what gitlab thinks (take artifacts from those jobs only while depending on all the previously defined jobs)? If it's the former than I can greatly simplify and speedup the pipeline by using proper syntax. |
Oh, interesting! Yes, I agree, it's the former meaning. |
Shall I add commits to this PR or make another one? |
Let's merge this one since it looks good now and then you can make another. |
No description provided.