Tags: saviobatista/sbs-logger
Tags
## 🎯 Overview Adds optional FlightAware network integration to enable data sharing with the global aircraft tracking network via Beast protocol. ## ✨ Features Added - **FlightAware Integration**: Optional data sharing with FlightAware network - **Beast Protocol Support**: Efficient binary protocol for data transmission - **Configurable Endpoints**: Customizable host and port settings - **Conditional Enablement**: Only activates when FlightAware feeder ID is provided ## 🔧 Changes Made ### Configuration - Added FlightAware feeder settings to `.env.sample`: - `FA_FEEDER_ID`: FlightAware feeder identifier (optional) - `FA_BEASTHOST`: Beast protocol host (default: 127.0.0.1) - `FA_BEASTPORT`: Beast protocol port (default: 30005) ### Docker Compose - Updated `ultrafeeder` service with FlightAware feed configuration - Conditional enablement based on `FA_FEEDER_ID` environment variable - Standardized default data sources to localhost ### Documentation - Added FlightAware integration to feature list - Documented new configuration variables - Added dedicated section explaining FlightAware integration functionality ### CI/CD Improvements - Simplified GitHub Actions workflows by removing complex version validation logic - Streamlined release process for better maintainability ## 🧪 Testing - FlightAware integration is opt-in and only enabled when configured - Maintains backward compatibility with existing deployments - No impact on core functionality when FlightAware feeder is not configured ## 📋 Usage To enable FlightAware data sharing: 1. Set `FA_FEEDER_ID` in your `.env` file with your FlightAware feeder ID 2. Optionally configure `FA_BEASTHOST` and `FA_BEASTPORT` if using custom endpoints 3. Restart the services with `docker-compose up -d` When `FA_FEEDER_ID` is not set, the system operates normally without FlightAware integration.
## Summary
This PR improves the CI/CD pipeline by enhancing Codecov integration and streamlining the release process for better reliability and maintainability.
## Changes Made
### Codecov Integration Improvements
- **Upgraded Codecov Action**: Updated from `codecov/codecov-action@v4` to `v5` for better performance and features
- **Enhanced Configuration**: Added explicit `token` parameter using `${{ secrets.CODECOV_TOKEN }}` for improved security
- **Better File Handling**: Updated `file` parameter to `files` for consistency with newer action versions
- **Improved Naming**: Updated step name from "Upload coverage to Codecov" to "Upload coverage reports to Codecov" for clarity
### Release Process Enhancements
- **Consolidated Release Steps**: Combined release creation and asset upload into a single, more efficient step
- **Conditional Release Creation**: Added logic to check if a release already exists before creating it, preventing duplicate release errors
- **Improved Error Handling**: Better handling of release creation vs. update scenarios
- **Streamlined Workflow**: Removed redundant steps and improved the overall release process flow
## Benefits
- **More Reliable CI**: Better error handling and conditional logic reduces CI failures
- **Enhanced Security**: Explicit token usage for Codecov integration
- **Improved Maintainability**: Cleaner, more organized workflow structure
- **Better User Experience**: More descriptive step names and improved release process
## Testing
- [x] CI workflow changes have been tested locally using `act`
- [x] Release process improvements maintain backward compatibility
- [x] Codecov integration continues to work as expected
## Related Issues
Fixes issues with CI reliability and release process efficiency.
## Summary This PR introduces significant improvements to the CI/CD pipeline optimization and repository configuration updates to enhance development workflow and maintainability. ## Changes Made ### 🔧 CI/CD Pipeline Optimization - **Enhanced CI workflow** with conditional build logic to optimize resource usage - **PR-specific build checks** that focus on compilation verification for the `ingestor` binary - **Main branch optimization** with full build and test execution - **Improved workflow clarity** with better job organization and conditional execution ### 📚 Documentation Updates - **Repository name consistency** - Updated all references from 'savio' to 'saviobatista' - **Docker image references** - Corrected all Docker pull commands to use the new repository name - **Badge link updates** - Ensured all status badges point to the correct repository - **README cleanup** - Removed outdated badge setup instructions ### 📦 Dependency Management - **Go module updates** - Updated dependencies and improved indirect dependency management - **Version bumping process** - Enhanced release process with better version management ## Technical Details - **Files Modified**: 4 files with 117 additions and 61 deletions - **Key Files**: `.github/workflows/ci.yml`, `README.md`, `go.mod`, `go.sum` - **Build Impact**: Reduced CI execution time for PRs while maintaining full validation for main branch ## Testing - ✅ CI pipeline successfully optimized for different event types - ✅ Repository references updated consistently across all documentation - ✅ Dependencies updated and verified ## Benefits - **Faster PR feedback** - Quick compilation checks for pull requests - **Resource efficiency** - Optimized CI execution based on branch context - **Maintainability** - Consistent repository naming and updated documentation - **Developer experience** - Clearer workflow with better job organization ## Breaking Changes None - This is a backward-compatible improvement. ## Related Issues - Addresses repository name consistency issues - Improves CI/CD pipeline efficiency - Updates documentation accuracy
chore: Update CI workflow to enhance Codecov integration and release … …process (#13) - Upgrade Codecov action from v4 to v5 and include token for secure uploads - Refactor release job to create or update release with proper notes and upload assets - Improve clarity in job names and comments for better understanding of the CI process
PreviousNext