-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Fleet] allow +build agent upgrade versions #192171
Conversation
/ci |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
@@ -109,11 +108,10 @@ export const getAvailableVersions = async ({ | |||
// fetch from the live API more than `TIME_BETWEEN_FETCHES` milliseconds. | |||
const apiVersions = await fetchAgentVersionsFromApi(); | |||
|
|||
// Coerce each version to a semver object and compare to our `MINIMUM_SUPPORTED_VERSION` - we | |||
// Take each version and compare to our `MINIMUM_SUPPORTED_VERSION` - we | |||
// only want support versions in the final result. We'll also sort by newest version first. | |||
availableVersions = uniq( | |||
[...availableVersions, ...apiVersions] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the version from the API it seems there are also some RC and beta versions I do not know if we want them included too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably best to keep the behaviour unchanged for that now that 9.0 is approaching. Added back the coerce logic and allowing only +build
versions.
Pinging @elastic/fleet (Team:Fleet) |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
To update your PR or re-run it, just comment with: |
Starting backport for target branches: 8.15, 8.16, 8.x |
Starting backport for target branches: 8.15, 8.16, 8.x |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
1 similar comment
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
This change is already on the 8.16, 8.x branches, no need to backport. |
Summary
Closes #191099
Show
+build
versions when upgrade agentsTo verify:
+build
versions are availableAfter 10m monitoring passed, the agent can be upgraded again to newer versions:
Checklist