Update: RPM Versioning & Strategy for CPLS
Hi Team,
Our LightSpeed support ticket confirmed that high-level user-defined variables are not currently passed into build technologies like Tekton. As a result, we are adopting a version.properties file (adjacent to build.gradle) as our primary, Rank #1 configuration method.
Note: While version.properties is our standard, it can be superseded by Tekton variables if an override is deemed necessary.
Example version.properties File:
# Primary build configuration (Rank #1)
pkgVersion=9.1.94
pkgRelease=6
Key Implementation Details:
- Resolution Priority:
- Properties File: (Primary/Standard)
-
CLI Parameters: (Optional overrides, e.g.,
-PpkgVersion) -
Defaults: (
0.0.0)
- Side-by-Side Installation: Artifacts are identified as
CPLS-<AppVersion>-<AppRelease>. This ensures builds are distinct packages and previous installs remain intact. - Status: Verified on branch
exper_leonid_comet_lse_mig_apr20. Please merge when ready.
Optional CLI Override Example:
./gradlew buildRpm -PpkgVersion="9.1.94" -PpkgRelease="6"
Top comments (0)