You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add automatic protoc installation to Makefile
Implements automatic protoc download and installation similar to the
main stackrox repo, eliminating the need for manual protoc installation.
Changes:
- Add protoc auto-download logic to Makefile with OS/arch detection
- Downloads protoc 32.1 from GitHub releases to .proto/ directory
- Update proto-generate target to depend on local protoc installation
- Update generate-proto-descriptors.sh to use PROTOC_BIN env var
- Add .proto/ to .gitignore
- Add .proto/ cleanup to clean target
- Remove manual protoc installation from wiremock-test.yml workflow
Benefits:
- Developers no longer need to manually install protoc
- Consistent protoc version across all developers and CI
- Works offline after first download
- Simplified CI workflows
Usage:
make proto-install # Install protoc (automatic on proto-generate)
make proto-generate # Generate descriptors (auto-installs protoc)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
0 commit comments