- Exclude all svc* services from sources package - Align packaging with Release 2 scope (AP3, AP4, AP9 only) - Services not required for Release 2 functionality Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M7A1KYKYYWE1P633PY1X6EPH
4.1 KiB
4.1 KiB
Release 2 Validation Build Plan
Objective
Execute final validation build for Release 2 using the adapted new_docker_build_release2.sh script.
Release 2 Scope
AP3 - Shared Libraries
- LtsUtils
- Widgets (nglwidgets)
- Session (tcpserver)
- Krypto (wms_json_ds)
- PluginManager
AP4 - DDS Middleware
- ddscore
- svcCoreClient
- ddsftccore
- ddsfts
- ddsgen
- ddsQoS
- ddsconnector
AP9 - Tools and Translations
- DdsView
- LogViewer
- SqlBrowser
- DaoGenerator
- lupdate toolchain
Build Targets (35 total)
DDS Middleware (AP4) - 7 targets
- ddscore
- svcCoreClient
- ddsftccore
- ddsfts
- ddsgen
- ddsQoS
- ddsconnector
NGL Libraries (Shared Utilities) - 16 targets
- NGLLogger
- nglapplication
- nglcompression
- nglcoreapplication
- ngldb
- nglguiapplication
- nglsettings
- nglsingleapplication
- nglsinglecoreapplication
- ngltools
- ngltranslator
- nglwidgets
- qtsingleapplication
- qtsinglecoreapplication
- wms_json_ds
- tcpserver
Lts/Common Libraries (AP3) - 3 targets
- LtsCoordTrans
- LtsLicence
- LtsUtils
Test Executables - 2 targets
- lts_coord_trans_unit_test
- ngltools_qt_smoke
Tools (AP9) - 5 targets
- ddsView
- logViewer
- sqlBrowser
- DaoGenerator
- lupdate
Script Adaptations Completed
Changes Made to new_docker_build_release2.sh
- ✅ Replaced GROUP* arrays with single RELEASE_BUILD_TARGETS array
- ✅ Removed ALL svc* services (not in Release 2 scope)
- ✅ Included only Release 2 scope targets (35 total)
- ✅ Matched apt package list from reference script
- ✅ Used same Docker inline script approach
- ✅ Updated project name to "guez" (default)
- ✅ Updated Docker image name to "guez-qt6:1.0"
- ✅ Ensured all flags work:
- --build-prebuilt-image
- --delete-prebuilt-image
- --run-jenkins-builder
- --run-coverage (mutually exclusive with --run-jenkins-builder)
Script Validation
- ✅ Syntax check passed (bash -n)
- ✅ Line count: 612 lines (similar to reference script's 647 lines)
- ✅ Structure matches reference script from story/release-validation-scope
Build Execution Plan
Phase 1: Prebuilt Image Build
cd qt-migration-legatus/qt6-after/qt6-migrated-legatus
./new_docker_build_release2.sh --build-prebuilt-image
Expected duration: 10-15 minutes Expected outcome: Docker image guez-qt6:1.0 created
Phase 2: Release Build (Jenkins Builder)
./new_docker_build_release2.sh --run-jenkins-builder
Expected duration: 30-45 minutes Expected outcome: DEB packages created in packages-out/
Phase 3: Cleanup
sudo rm -rf build4_* deb_build_tmp_* deb_stage_* packages-out
Note: Requires sudo due to root-owned directories from Docker builds
Validation Criteria
Success Criteria
- All 35 targets build successfully
- DEB packages created in packages-out/
- No critical build errors
- Test executables compile (ctest can run)
- No missing dependencies
Known Exclusions (Out of Scope)
- All svc* services (except svcCoreClient which is part of DDS middleware)
- EvalApps
- Test directories
- LastTestAuswertung
- .envrc
Reporting
Build Report Sections
-
Build Summary
- Start/end times
- Total duration
- Success/failure status
-
Target Build Status
- List of all 35 targets
- Build status (SUCCESS/FAILED/SKIPPED)
- Build duration per target
-
Package Output
- List of generated DEB packages
- Package sizes
- Location
-
Issues Encountered
- Build errors
- Missing dependencies
- Resolution steps
-
Recommendations
- Next steps
- Known issues
- Follow-up tasks
Rollback Plan
If build fails:
- Check build logs in build4_*/ directory
- Identify failing target
- Verify target is in Release 2 scope
- If missing dependency, add to APT_PACKAGES array
- Re-run build with --delete-prebuilt-image first
Environment Requirements
- Docker installed and running
- Sufficient disk space (20GB+ recommended)
- rti_license.dat file available
- MIGRATE_PIPELINE_ROOT environment variable set
- Network access for apt package downloads
Created: 2026-11-13 Branch: story/create-release-two-delivery-25_11_2026