-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
FOSSA scanning enabled for the repo #2347
FOSSA scanning enabled for the repo #2347
Conversation
Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
Codecov Report
@@ Coverage Diff @@
## master #2347 +/- ##
==========================================
- Coverage 95.58% 95.57% -0.01%
==========================================
Files 208 208
Lines 10682 10682
==========================================
- Hits 10210 10209 -1
Misses 401 401
- Partials 71 72 +1
Continue to review full report at Codecov.
|
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.
Seems that it also timed out. When it says "still being analyzed on fossa.com", is the analysis done locally in CI or remotely via FOSSA?
# Runs a set of commands to initialize and analyze with FOSSA | ||
- name: run FOSSA analysis | ||
env: | ||
FOSSA_API_KEY: '304657e2357ba57b416b94e6b119131b' |
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.
What is the origin of this key? Please add a comment describing it.
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.
@yurishkuro it's a FOSSA's push-only API token - https://docs.fossa.com/docs/api-reference#push-only-api-token; which is safe to be exposed publicly.
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.
but where does it come from? Is this ID specific to Jaeger project?
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.
Yes, it was created for Jaeger only.
.github/workflows/fossa.yml
Outdated
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "^1.13.1" |
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.
will it take 1.14.x
?
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.
@yurishkuro let's try :)
Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
@yurishkuro remotely. |
@yurishkuro great, so it failed now due to the licensing issues found by FOSSA, not because of the wrong configuration. |
@idvoretskyi a couple questions:
|
|
Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
…into idvoretskyi-fossa-01
@yurishkuro I've updated the FOSSA configuration here, and PR won't be blocked by the code scanning issues - they will be handled separately and should not block the PRs. Regarding the report access - access is limited to the FOSSA UI users only, I'll go ahead and invite you (and other project maintainers) so you could have access to them. |
@yurishkuro anything else is missing to merge the PR? |
I am still getting Not Found when I go to the report link shown in the logs: https://app.fossa.com/projects/custom+162%2Fgithub.com%2Fjaegertracing%2Fjaeger/refs/branch/HEAD/80a27b16e68b355ee80308f8f36e6f3ff1391541 (even after I log in to Fossa). |
@yurishkuro I don't think you've joined the CNCF FOSSA org, this is an issue. I'll DM you with further details. |
@yurishkuro anything else is needed to get this merged? |
@idvoretskyi I am confused about how this GH action is supposed to work. Before I rebased this just now, the Fossa step was showing green while the report that it was pointing to was showing 2 license issues. Shouldn't the action be shown as failed in that case? |
@yurishkuro no, we want this action to just collect reports for now. There's no need to block PRs by FOSSA reports. |
Whether to block PR or not is a setting in our repo, we can make FOSSA checks non-mandatory. But for maintainers it would be good to see the actual outcome of the check when approving PR. Right now doing that is pretty involved - not only the check comes back green, but also the report itself is quite hard to get to, you have to fish out the link from one of the step logs in the GH action. As I mentioned previously, it would be much better if
Having said that, an always green check is not going to hurt anything, so I am not opposed to merging this. @objectiser @jpkrohling @pavolloffay any thoughts? |
+1 sounds ok to merge, but create an issue to make sure the actions you have suggested are investigated. |
Umbrella issue (for the record) - cncf/foundation#109 |
Can we set a target date for us to decide to keep or remove it? Having it always green even on license violations might mean that we just won't care about it at all in the future... Suggestion: by v1.21.0, we decide if we want to keep it. |
Technically, we've been in this situation for several years already - the scans were running somewhere in the background, and the badge in the README kind-of reflects them, but we didn't pay attention (because it was always so noisy). The ticket #2432 lists the additional improvements. |
Fixes #854
Signed-off-by: Ihor Dvoretskyi ihor@linux.com