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

Use fossa-contrib/fossa-action instead #2571

Merged
merged 3 commits into from
Nov 17, 2020

Conversation

smorimoto
Copy link
Contributor

Which problem is this PR solving?

  • None

Short description of the changes

  • By using dedicated Action, you can keep your workflow simple and gain some benefits.

@smorimoto smorimoto requested a review from a team as a code owner October 15, 2020 20:51
@mergify mergify bot requested a review from jpkrohling October 15, 2020 20:51
@smorimoto smorimoto force-pushed the fossa-action branch 4 times, most recently from d34e3f2 to 79c0996 Compare October 15, 2020 21:29
@codecov
Copy link

codecov bot commented Oct 15, 2020

Codecov Report

Merging #2571 (3c241fe) into master (72b9a06) will increase coverage by 0.24%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2571      +/-   ##
==========================================
+ Coverage   95.06%   95.31%   +0.24%     
==========================================
  Files         210      208       -2     
  Lines        9410     9281     -129     
==========================================
- Hits         8946     8846     -100     
+ Misses        387      357      -30     
- Partials       77       78       +1     
Impacted Files Coverage Δ
cmd/collector/app/collector.go 69.44% <0.00%> (-4.85%) ⬇️
...lugin/sampling/strategystore/adaptive/processor.go 99.07% <0.00%> (-0.93%) ⬇️
plugin/storage/integration/integration.go 77.34% <0.00%> (-0.56%) ⬇️
pkg/config/tlscfg/cert_watcher.go 94.44% <0.00%> (-0.37%) ⬇️
pkg/testutils/logger.go 100.00% <0.00%> (ø)
cmd/collector/app/zipkin/jsonv2.go 100.00% <0.00%> (ø)
cmd/ingester/app/consumer/consumer.go 100.00% <0.00%> (ø)
cmd/ingester/app/consumer/deadlock_detector.go 100.00% <0.00%> (ø)
cmd/anonymizer/app/anonymizer/anonymizer.go
cmd/anonymizer/app/flags.go
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72b9a06...cd90c16. Read the comment docs.

@smorimoto smorimoto force-pushed the fossa-action branch 2 times, most recently from 1cbc70a to bdc6eef Compare October 15, 2020 21:44
Signed-off-by: Sora Morimoto <[email protected]>
run: echo "GOPATH=$(go env GOPATH)" >>"$GITHUB_ENV"

- name: Add GOPATH to GITHUB_PATH
run: echo "$GOPATH/bin" >>"$GITHUB_PATH"
Copy link
Member

Choose a reason for hiding this comment

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

?

Do these GITHUB_ENV/GITHUB_PATH vars contain file names?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

It's also not clear to me why this is needed. Perhaps leave a comment in the code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, all it does is expose the GOPATH environment variable and add GOPATH to the PATH. Of course, we can do it more typically. Or are you asking why these are necessary? If so, it's necessary because fossa-cli needs them when it analyzes.

run: echo "$GOPATH/bin" >>"$GITHUB_PATH"

- name: Run FOSSA scan and upload build data
uses: fossa-contrib/fossa-action@v1
Copy link
Member

Choose a reason for hiding this comment

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

Why isn't this an official action under github.com/fossas ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because this isn't an official action yet.

@jpkrohling
Copy link
Contributor

@Mergifyio rebase

@mergify
Copy link

mergify bot commented Oct 27, 2020

Command rebase: action_required

Pull request must be rebased manually.
GitHub App like Mergify are not allowed to rebase pull request where .github/workflows is changed.

Copy link
Contributor

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

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

The check seems to work, but just need a clarification on the "Add GOPATH" steps.

run: echo "GOPATH=$(go env GOPATH)" >>"$GITHUB_ENV"

- name: Add GOPATH to GITHUB_PATH
run: echo "$GOPATH/bin" >>"$GITHUB_PATH"
Copy link
Contributor

Choose a reason for hiding this comment

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

It's also not clear to me why this is needed. Perhaps leave a comment in the code?

@jpkrohling
Copy link
Contributor

@smorimoto, are you still interested in this one?

@smorimoto
Copy link
Contributor Author

Oh, I'm sorry I missed it.

@yurishkuro yurishkuro merged commit f4d6968 into jaegertracing:master Nov 17, 2020
@yurishkuro
Copy link
Member

Thanks!

@smorimoto smorimoto deleted the fossa-action branch November 18, 2020 00:52
quinniup pushed a commit to k8battleship/jaeger that referenced this pull request Nov 23, 2020
* Use fossa-contrib/fossa-action instead

Signed-off-by: Sora Morimoto <[email protected]>

* Make step name clearer

Signed-off-by: Sora Morimoto <[email protected]>

Co-authored-by: Yuri Shkuro <[email protected]>
quinniup added a commit to k8battleship/jaeger that referenced this pull request Nov 23, 2020
* Bump opentelemetry-collector to v0.14.0 (jaegertracing#2617)

* bump opentelemetry-collector to v0.14.0

Signed-off-by: Pavel Kositsyn <[email protected]>

* initialize traceid and spanid explicitly

Signed-off-by: Pavel Kositsyn <[email protected]>

* fix comments and empty parent span check

Signed-off-by: Pavel Kositsyn <[email protected]>

* fasten convert traceID/spanID

Signed-off-by: Pavel Kositsyn <[email protected]>

* fix convertTraceID + fix tests

Signed-off-by: Pavel Kositsyn <[email protected]>

* Update CodeQL to latest best practices (jaegertracing#2615)

This will parallelize your analysis and speed things up a bunch.

Signed-off-by: jhutchings1 <[email protected]>

Co-authored-by: Juraci Paixão Kröhling <[email protected]>

* Fix flaky TestReload (jaegertracing#2624)

Signed-off-by: albertteoh <[email protected]>

* Update x/text to v0.3.4 (jaegertracing#2625)

Signed-off-by: Gary Brown <[email protected]>

* Bump to latest UI for snapshot builds (jaegertracing#2626)

Signed-off-by: Yuri Shkuro <[email protected]>

* Implement anonymizer's main program (jaegertracing#2621)

* Preparing release 1.21.0 (jaegertracing#2630)

* updated changelog

Signed-off-by: Joe Elliott <[email protected]>

* Added ui changelog

Signed-off-by: Joe Elliott <[email protected]>

* Fixed UI changelog to point to 1.12.0

Signed-off-by: Joe Elliott <[email protected]>

* Updated jaeger-ui to v1.12.0

Signed-off-by: Joe Elliott <[email protected]>

* Resolving concerns

Signed-off-by: Joe Elliott <[email protected]>

* [anonymizer] Save trace in UI format (jaegertracing#2629)

* Use fossa-contrib/fossa-action instead (jaegertracing#2571)

* Use fossa-contrib/fossa-action instead

Signed-off-by: Sora Morimoto <[email protected]>

* Make step name clearer

Signed-off-by: Sora Morimoto <[email protected]>

Co-authored-by: Yuri Shkuro <[email protected]>

* Update Makefile and Dockerfile for anonymizer (jaegertracing#2632)

Signed-off-by: Ashmita Bohara <[email protected]>

* Fix listen IP in unit test (jaegertracing#2636)

Signed-off-by: zouyu <[email protected]>

* Bump opentelemetry to v0.15.0 (jaegertracing#2634)

* Bump opentelemetry to v0.15.0

Signed-off-by: Pavel Kositsyn <[email protected]>

* add default value instead of nil value for jaegerreceiver config

Signed-off-by: Pavel Kositsyn <[email protected]>

* make lint

Signed-off-by: Pavel Kositsyn <[email protected]>

Co-authored-by: Kositsyn Pavel <[email protected]>
Co-authored-by: Justin Hutchings <[email protected]>
Co-authored-by: Juraci Paixão Kröhling <[email protected]>
Co-authored-by: Albert <[email protected]>
Co-authored-by: Gary Brown <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Co-authored-by: Ashmita <[email protected]>
Co-authored-by: Joe Elliott <[email protected]>
Co-authored-by: Sora Morimoto <[email protected]>
Co-authored-by: ZouYu <[email protected]>
Co-authored-by: Kositsyn Pavel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants