-
Notifications
You must be signed in to change notification settings - Fork 3
Hermetic Builds 🔒 #40
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
Conversation
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.
Pull Request Overview
This PR implements hermetic builds to ensure reproducible and dependency-isolated builds. The changes establish a vendor-only build system that prevents network access during builds and ensures all dependencies are sourced locally.
- Introduces hermetic build environment with vendor-only dependency resolution
- Adds comprehensive build scripts for consistent development workflow
- Updates version handling to properly support both ldflags and VCS fallback mechanisms
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| script/env | New shared environment setup with hermetic Go proxy settings |
| script/bootstrap | New hermetic dependency verification script |
| script/build | New build script with version embedding via ldflags |
| script/update | New dependency update script with hermetic environment controls |
| script/test | Updated to use vendor mode and shared environment |
| script/lint | Updated to use vendor mode and shared environment |
| script/release | Updated bash shebang and error handling |
| internal/version/version.go | Refactored to support ldflags precedence over VCS info |
| internal/version/version_test.go | Updated tests for new version handling logic |
| .github/workflows/*.yml | Added bootstrap step to all CI workflows |
No description provided.