-
Notifications
You must be signed in to change notification settings - Fork 462
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
[CI] Fix script that retrieves oldest supported version #11126
Merged
Merged
Conversation
This file contains 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
🚀 Benchmarks reportTo see the full report comment with |
Major and minor numbers from versions were compared as strings, but they should be compared as integers.
jlind23
approved these changes
Sep 13, 2024
💛 Build succeeded, but was flaky
Failed CI StepsHistory
cc @mrodm |
|
jsoriano
approved these changes
Sep 16, 2024
mrodm
added a commit
to mrodm/integrations
that referenced
this pull request
Sep 17, 2024
Fix find oldest supported version script. Major and minor numbers from versions were compared as strings, but they should be compared as integers.
2 tasks
This was referenced Sep 18, 2024
harnish-elastic
pushed a commit
to harnish-elastic/integrations
that referenced
this pull request
Feb 4, 2025
Fix find oldest supported version script. Major and minor numbers from versions were compared as strings, but they should be compared as integers.
harnish-elastic
pushed a commit
to harnish-elastic/integrations
that referenced
this pull request
Feb 5, 2025
Fix find oldest supported version script. Major and minor numbers from versions were compared as strings, but they should be compared as integers.
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.
Proposed commit message
Fix script in charge of retrieving the oldest supported version of the stack to use for
elastic-package stack up -v -d --version <version>
command.Without the fix there were packages that the stack version assigned was
8.x-SNAPSHOT
, but the script should return the version in the manifest since it is older than the ones available in the artifacts-api response:Example:
Example of artifacts-api response:
Additional changes:
Update context parameter used in
buildkite-agent annotate
command. It must be--context
.Example build failing:
https://buildkite.com/elastic/integrations/builds/15884