Binary dependencies downloading script#5354
Binary dependencies downloading script#5354Neelabh94 merged 10 commits intoGoogleCloudPlatform:developfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces an automated system for managing and verifying the integrity of critical external binary dependencies, specifically Terraform and Packer. By adding a script that fetches and embeds official checksums into the codebase, it establishes a robust method to ensure that only trusted versions of these tools are utilized, thereby enhancing the overall security posture and reliability of the project. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a shell script to automatically download and update checksums for Terraform and Packer, storing them in a generated Go file. The implementation is functional, but the script contains duplicated code for handling each dependency. I've suggested refactoring it to use a function, which will improve maintainability and make it easier to add more dependencies in the future, in line with the repository's style guide.
d2eabf9 to
b0ef800
Compare
|
/gcbrun |
b0ef800 to
e5ae788
Compare
e5ae788 to
63addd9
Compare
63addd9 to
406c38a
Compare
|
/gcbrun |
|
@scaliby could you please look at the pre-commit failures and resolve them. |
|
@Neelabh94 should be good now |
re-running the tests |
|
/gcbrun |
26ccdcb to
4570b0e
Compare
|
@scaliby few tests were still failing due to Go version mismatch that was recently fixed in the develop branch. Have rebased with the develop branch and re-ran the tests. Should pass now. |
|
/gcbrun |
4570b0e to
afc04ec
Compare
afc04ec to
cc2f9dc
Compare
|
@Neelabh94 rebased on top of the latest |
|
@scaliby The integration test is failing due to insufficient Go test coverage in the hpc-toolkit/pkg/dependencies package (15.2% instead of the required 80%). |
|
@Neelabh94 I added more tests. Could you re-run it? |
|
/gcbrun |
|
@bytetwin could you please review once again. |
|
@bytetwin @Neelabh94 I don't have permissions for merging. Could you please merge? |
1cca13e
into
GoogleCloudPlatform:develop
Submission Checklist
Adds functionality of auto downloading binary dependencies on CTK launch.