Drop the rti_license.dat requirement from the release scope build

The release validation scope (TetraIF, Z/src, Lts/Common +
TrainingAreaBase) never consumes an RTI license: no CMake file or
build step reads RTI_LICENSE_FILE, and the only RTI Connext DDS
consumers are all behind BUILD_RTI (OFF for this branch, stubs
compiled instead). The license was pure plumbing:

- new_docker_build.sh: remove the require_file validation, the
  bind mount and the in-container RTI_LICENSE_FILE export
- jenkins-ci-rme: remove the RTI_LICENSE_FILE export and the
  Jenkinsfile workspace-layout comment
- README: document that no license file is needed

Verified with a full pipeline rebuild (scope-rebuild12) run while
rti_license.dat was absent: 0 warnings, ctest baseline unchanged,
all 5 DEBs produced, none of them containing the license.
This commit is contained in:
berrux-dev committed 2026-10-14 16:28:03 +02:00
1 parent 59f0c025e5
commit 11501ff7bb
4 files changed
+9 -29

No files matched your search

+8 -9
View File
@@ -29,17 +29,19 @@ Toolchain inside the image: **Ubuntu 26.04, GCC 15.2.0, Qt 6.10.2**
## Prerequisites
1. **Docker** available on the host.
2. **License file** `rti_license.dat` at the *pipeline root* — the
directory **three levels above** this tree
(`<pipeline-root>/rti_license.dat`). `new_docker_build.sh` derives the
pipeline root from its own location (override with the exported
`MIGRATE_PIPELINE_ROOT` or the `.envrc` in this directory).
3. The tree must be reachable inside the container at
2. The tree must be reachable inside the container at
`/workspace/qt-migration-legatus/qt6-after/qt6-migrated-legatus`, i.e.
mount the pipeline root on `/workspace` — this is how
`new_docker_build.sh` invokes Docker, so running the driver as-is
satisfies this.
No license file is required: this branch builds the release scope only
(TetraIF, Z/src, Lts/Common) with `BUILD_RTI=OFF`, so the RTI Connext
DDS modules (the only consumers of an RTI license) are not compiled.
`new_docker_build.sh` resolves the pipeline root from its own location
(override with the exported `MIGRATE_PIPELINE_ROOT` or the `.envrc` in
this directory).
All commands below are run **from this directory** (`qt6-migrated-legatus/`).
## Step 1 — Build the prebuilt Docker image (once)
@@ -233,9 +235,6 @@ Environment overrides: `DOCKER_IMAGE`, `RUN_JENKINS_BUILDER`,
binary by hand → `export QT_QPA_PLATFORM=offscreen`.
- **ctest fails with `nglcomp_test (Not Run)`** → expected baseline
(pre-existing Qt6 compression issue); the pipeline continues.
- **License error at startup** → `rti_license.dat` must exist at
`<pipeline-root>/rti_license.dat` and be visible in the container at
`/workspace/rti_license.dat`.
- **Stale build tree** → the driver always recreates `build4/`; for
manual builds delete `build4/` and rerun Step 2 if CMake behaves oddly.
- **DEBs not on the host** → the output dir must be a path that exists