-
Notifications
You must be signed in to change notification settings - Fork 7
Add CI/CD pipeline for core build checks #136
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
Merged
LorenzoTettamanti
merged 12 commits into
CortexFlow:PreReleaseMain
from
AndreaBozzo:CICD/core-build-checks
Sep 2, 2025
Merged
Add CI/CD pipeline for core build checks #136
LorenzoTettamanti
merged 12 commits into
CortexFlow:PreReleaseMain
from
AndreaBozzo:CICD/core-build-checks
Sep 2, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Implements GitHub Actions workflow for building core components - Triggers on PR and main/PreReleaseMain branch pushes - Builds CortexFlow Agent, Identity, and Metrics components - Runs existing build scripts without interactive prompts - Includes basic test execution and Docker image verification - Addresses issue CortexFlow#134: automated build verification 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
- Add nightly Rust toolchain required by eBPF builds - Install bindgen-cli for BTF processing - Add bpftool via linux-tools packages with symlink setup - Ensure all build script dependencies are met
- Replace deprecated actions-rs/toolchain with dtolnay/rust-toolchain - Fix target parameter syntax for eBPF target installation - Should resolve rustup exit code 1 error
- Use nightly-2024-02-15 toolchain which supports bpfel-unknown-none - Resolves 'rust-std unavailable for bpfel-unknown-none' error - This version is known to have stable eBPF target support
- Remove problematic bpfel-unknown-none target from pre-installation - Add rust-src component needed for -Z build-std - Let build scripts handle eBPF compilation with build-std=core - Should resolve target availability issues
- Add detailed error handling for each build step - Replace failing grep with conditional checks for Docker images - Add build status messages for better debugging - Should provide clearer failure information
- Add protobuf-compiler to fix protoc not found error - Required for building the API component with Protocol Buffers - Should resolve build script failure
- Install bpf-linker required by conntracker build script - Resolves CannotFindBinaryPath error in build.rs:16 - Required for linking eBPF programs
- Remove stable Rust toolchain (conflicts with eBPF no_std) - Use only nightly with rust-src for build-std approach - Remove cargo test step that causes panic_impl conflicts - Focus pipeline on Docker image builds verification - Addresses eBPF compilation issues with duplicate lang items
- Add strict checks for cortexflow-agent and identity images - Mark metrics as expected failure with warning (eBPF build issue) - CI will fail if critical images are missing - Better error messages for debugging
- Fix sk_wmem_queued_offset -> sk_write_memory_queued_offset - Fix sk_rcvbuf_offset -> sk_receive_buffer_size_offset - Variable names now match their definitions - Should resolve metrics_tracer compilation errors - Update CI to expect metrics image to be built successfully
- File accidentally committed during previous changes - Keep project clean
Contributor
Author
|
Setting the PR to Open after 4 successful runs Always open for feedbacks. Andrea |
LorenzoTettamanti
approved these changes
Sep 2, 2025
Member
LorenzoTettamanti
left a comment
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.
@AndreaBozzo merging the changes. Thanks Andrea!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Verification
🤖 Generated with Claude Code