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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃尡 Build/test fixes: Install protoc and protoc-gen-go #2038

Merged
merged 2 commits into from Jul 11, 2022

Conversation

raghavkaul
Copy link
Contributor

What kind of change does this PR introduce?

Build and test changes only. This PR updates the make target for building cron protobufs to require protoc-gen-go to be installed first.

What is the current behavior?

GH actions for recent Pulls (see: https://github.com/ossf/scorecard/runs/7198422780) are failing because protoc-gen-go is not installed. This is package is installed as part of tools/tools.go which is built by make install. Not all Make targets that require protoc-gen-go run make install first, but this likely worked intermittently due to step caching and parallelization.

Testing Plan

All checks succeeded in a fork PR action run: raghavkaul#4

Does this PR introduce a user-facing change?
NONE

The `validate-projects` Makefile target depends on compilation of all go
binaries, including the protobuf generated go binaries
* Add an explicit dependency to the build-proto steps
* Remove sleep
@raghavkaul raghavkaul temporarily deployed to integration-test July 11, 2022 19:44 Inactive
Copy link
Contributor

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

Thanks. I hope this solves the problem :)

Copy link
Member

@naveensrinivasan naveensrinivasan left a comment

Choose a reason for hiding this comment

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

Thank you!

@naveensrinivasan naveensrinivasan enabled auto-merge (squash) July 11, 2022 19:47
@codecov
Copy link

codecov bot commented Jul 11, 2022

Codecov Report

Merging #2038 (3c8c37f) into main (9fecf63) will increase coverage by 2.62%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2038      +/-   ##
==========================================
+ Coverage   50.56%   53.19%   +2.62%     
==========================================
  Files          87       87              
  Lines        7202     7202              
==========================================
+ Hits         3642     3831     +189     
+ Misses       3315     3119     -196     
- Partials      245      252       +7     

@github-actions
Copy link

Integration tests success for
[3c8c37f]
(https://github.com/ossf/scorecard/actions/runs/2652017609)

@naveensrinivasan naveensrinivasan merged commit 90ed090 into ossf:main Jul 11, 2022
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.

None yet

3 participants