Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(trait): allow usage of semver for camel.runtime-version #5327

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

squakez
Copy link
Contributor

@squakez squakez commented Apr 5, 2024

With this PR we fix a minor problem that was impeding us to make use of the semantic version jolly. Once this is merged we'll be able to run:

kamel run test.yaml -t camel.runtime-version=2.x

which will resolve to the best match of the existing CamelCatalogs. For example, given:

NAME                   RUNTIME PROVIDER   RUNTIME VERSION   RUNTIME CAMEL VERSION   PHASE
camel-catalog-2.16.0   quarkus            2.16.0            3.20.1                  Ready
camel-catalog-3.8.1    quarkus            3.8.1             4.4.1                   Ready

It will pick up version 2.1.6.0

Closes #4739

Release Note

feat(trait): allow usage of semver for camel.runtime-version 

@squakez squakez added area/cli Kamel CLI kind/feature New feature or request and removed area/cli Kamel CLI labels Apr 5, 2024
@squakez squakez merged commit 025bf44 into apache:main Apr 5, 2024
20 checks passed
@squakez squakez deleted the feat/4739 branch April 8, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support kamel run ... -t camel.runtime-version=1.x notation
2 participants