-
Notifications
You must be signed in to change notification settings - Fork 4
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
Rework the codecov support: deprecate codecov-token add hash checks for uploader #32
Conversation
Signed-off-by: Jose Luis Rivero <[email protected]>
I see this error on the
I'm not sure I understand. If there's no token to protect the upload of new reports, anyone would be able to upload reports and mess up with them. It's like on GitHub, being public doesn't mean the whole world has write access, just read access. |
On some providers Codecov has some provider level authenticity mechanism. Here is the relevant section of the codecov doc regarding the bash uploader
It could be that there are further caveats there that are not fully elaborated. If we continue to have trouble it makes sense to contact Codecov's support so that we can either manage the token safely if required or properly invoke codecov without it. If we can avoid use of the token as a secret it will be easier for community contributions to receive coverage data because pull requests from forks do not have access to secrets. |
I've removed the |
That's from the PR that you linked on the description, see the |
I'd also expect |
I noticed that the latest run of gazebosim/gz-math#206 didn't upload to codecov because the token is empty. We should get this in to re-enable codecov on repositories that had their tokens removed. We should try this branch on a real Ignition repository just to make sure it works, in case the issue above is because it's using @j-rivero 's fork |
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.
It works!
By the way, this should be propagated to the |
"You of little faith, why are you so afraid?" Matthew 8:26
I go for it. |
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]>
* Port codecov to new configuration See gazebo-tooling/action-gz-ci#32 Signed-off-by: Jose Luis Rivero <[email protected]> * no codecov support in this repo
The PR deprecates the use of
codecov-token
input since I think that we have wrongly used the token for public repositories when there was no need for that. The code using it should keep working the same.Added a couple of new inputs:
codecov-enabled
to enable the codecov runs andcodecov-token-private-repos
to make explicit the exact use of the token.I've also added the hash check for codecov bash uploader. I've tested this branch here:
j-rivero/ign-math#1