Uh oh!
There was an error while loading. Please reload this page.
GH-37941: [R][CI][Release] Add checksum verification for pre-compiled binaries - #38115
Conversation
@github-actions crossbow submit r-binary-packages |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@github-actions crossbow submit r-binary-packages |
This comment was marked as outdated.
This comment was marked as outdated.
Revision: 4dae43c Submitted crossbow builds: ursacomputing/crossbow @ actions-88d6d2b34e |
paleolimbot
left a comment
There was a problem hiding this comment.
Two small comments...thank you for taking this on!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
paleolimbot
commented
Oct 10, 2023
Also, it is probably worth rebasing to clear up the CI. |
assignUser
commented
Oct 11, 2023
I merged to keep the crossbow job shas valid. I will run another round of validation but then this should be merge ready imo. |
@github-actions crossbow submit -g r |
Revision: dd292b6 Submitted crossbow builds: ursacomputing/crossbow @ actions-d4c5399398 |
paleolimbot
left a comment
There was a problem hiding this comment.
Pending green CI, naturally. Thank you!
Uh oh!
There was an error while loading. Please reload this page.
nealrichardson
left a comment
There was a problem hiding this comment.
A few notes, apologies for the late review here @assignUser
Uh oh!
There was an error while loading. Please reload this page.
| checksum_cmd <- "shasum" | ||
| checksum_args <- c("--status", "-a", "512", "-c", checksum_file) | ||
| # shasum is not available on all linux versions |
There was a problem hiding this comment.
Use sys.which() to see if it's present?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit b20e0ae. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…mpiled binaries (apache#38115) ### Rationale for this change This change is to restore parity with the previous solution on macOS (brew does cs validation) and improve security for windows and linux. This also align with CRAN policy. ### What changes are included in this PR? This PR adds a script that can be run after the arrow release (once all files have been pushed to the artifactory) before the CRAN submission to download the checksum files for the pre-compiled binaries which are already added through the usual release. *libs.R have been extended to use these checksum files to validate the downloaded binaries. ### Are these changes tested? The r-binary-packages nightlies generate checksums and use them when building binary packages, this way the code path is tested. They do not modify the actual src package though. ### Are there any user-facing changes? no (outside of log messages) * Closes: apache#37941 Authored-by: Jacob Wujciak-Jens <jacob@wujciak.de> Signed-off-by: Nic Crane <thisisnic@gmail.com>
…mpiled binaries (apache#38115) ### Rationale for this change This change is to restore parity with the previous solution on macOS (brew does cs validation) and improve security for windows and linux. This also align with CRAN policy. ### What changes are included in this PR? This PR adds a script that can be run after the arrow release (once all files have been pushed to the artifactory) before the CRAN submission to download the checksum files for the pre-compiled binaries which are already added through the usual release. *libs.R have been extended to use these checksum files to validate the downloaded binaries. ### Are these changes tested? The r-binary-packages nightlies generate checksums and use them when building binary packages, this way the code path is tested. They do not modify the actual src package though. ### Are there any user-facing changes? no (outside of log messages) * Closes: apache#37941 Authored-by: Jacob Wujciak-Jens <jacob@wujciak.de> Signed-off-by: Nic Crane <thisisnic@gmail.com>
Rationale for this change
This change is to restore parity with the previous solution on macOS (brew does cs validation) and improve security for windows and linux. This also align with CRAN policy.
What changes are included in this PR?
This PR adds a script that can be run after the arrow release (once all files have been pushed to the artifactory) before the CRAN submission to download the checksum files for the pre-compiled binaries which are already added through the usual release. *libs.R have been extended to use these checksum files to validate the downloaded binaries.
Are these changes tested?
The r-binary-packages nightlies generate checksums and use them when building binary packages, this way the code path is tested. They do not modify the actual src package though.
Are there any user-facing changes?
no (outside of log messages)