How truenas/build works
Main Components (Top Level)
• Build System Core (Central component)
• Profile Management
• Build Tools
• Testing Framework
• Jenkins Integration
• Package Management
• ISO Creation Pipeline
Component Relationships
a) Build System Core:
• To all other major components
• Make targets (checkout, update, release, clean)
• Connection to external Git repositories
b) Profile Management (build/profiles):
• To Build System Core
• FreeNAS profile structure:
• Kernel configurations
• Package definitions
• Release information
• Validation components
c) Build Tools Pipeline (build/tools):
• In sequential order:
1. Environment Setup (buildenv.py, check-host.py)
2. Source Management (checkout.py, apply-tag.py)
3. Build Process (build-os.py, build-packages.py)
4. Distribution Creation (create-iso.py, create-upgrade-distribution.py)
d) Testing Framework (tests/):
• Parallel tracks for:
• FreeNAS tests
• TrueOS tests
• Test configurations
• VM-based testing
e) Jenkins Integration:
• Connection to:
• Nightly builds
• Release builds
• Build artifacts
Elements
• Version information
• System requirements
• Key file paths
• Build target relationships