feat(ci): RANCHER-2861 add per-entry constraint map and descriptor template support#104
Open
id-jenkins wants to merge 1 commit intomasterfrom
Open
feat(ci): RANCHER-2861 add per-entry constraint map and descriptor template support#104id-jenkins wants to merge 1 commit intomasterfrom
id-jenkins wants to merge 1 commit intomasterfrom
Conversation
…mplate support
- Add constraint-map input to update-applications and update-eureka-components actions
- Implement parse_constraint to handle ^/~ version prefix semantics
- Support exact-pin (skip query), minor, and patch scopes per component/app
- Add build-constraint-map and validate-descriptor-template composite actions
- Add detect/validate/extract steps for platform-descriptor-template.json in release-update-flow
- Pass resolved constraint maps to update steps; fall back to {} if template absent
- Fix release-scan to pin get-update-config call to master branch
58d3966 to
0dfdfc7
Compare
eldiiar-duishenaliev
approved these changes
Apr 8, 2026
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
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
constraint-mapinput toupdate-applicationsandupdate-eureka-componentsactions, allowing per-entry version scope overrides (minor|patch|exact)parse_constraintto strip and interpret^/~version prefix semantics from descriptor version stringsexactscope are pinned and skipped during version querybuild-constraint-mapandvalidate-descriptor-templaterelease-update-flow.ymlto detectplatform-descriptor-template.json, validate it, build constraint maps, and pass them to update stepsrelease-scan.ymlto pinget-update-configcall tomasterbranchJira
RANCHER-2861
Test plan
update-applicationsandupdate-eureka-componentsactions respectconstraint-mapinput^prefix maps tominor,~topatch, and bare version toexactexact-pinned entries are skipped (no version query)build-constraint-mapaction correctly producescomponent-constraint-mapandapp-constraint-mapoutputsvalidate-descriptor-templateaction fails on invalid templateplatform-descriptor-template.jsonis absent🤖 Generated with Codemie Code