-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Show snapshot version in agent upgrade modal + allow custom values (but not in serverless) #165978
[Fleet] Show snapshot version in agent upgrade modal + allow custom values (but not in serverless) #165978
Conversation
Pinging @elastic/fleet (Team:Fleet) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
@criamico I added you as a reviewer as you seem to have written a lot of this code |
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.
Code LGTM 🚢
@@ -39,4 +41,19 @@ describe('getAvailableVersionsHandler', () => { | |||
items: ['300.0.0', '8.1.0', '8.0.0', '7.17.0'], | |||
}); | |||
}); | |||
|
|||
it('should not strip -SNAPSHOT from kibana version', async () => { |
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.
Could you just specify that this happens when not in serverless? it's going to be easier for future changes.
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.
Core changes LGTM
@hop-dev looking at the logs, I don't the tests errors are related though: @afharo do you know who can help us fix the credentials? |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @hop-dev |
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.
security changes LGTM
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…alues (but not in serverless) (elastic#165978) Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit 2384280) # Conflicts: # x-pack/plugins/fleet/cypress/tasks/integrations.ts
…ustom values (but not in serverless) (#165978) (#166255) # Backport This will backport the following commits from `main` to `8.10`: - [[Fleet] Show snapshot version in agent upgrade modal + allow custom values (but not in serverless) (#165978)](#165978) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Mark Hopkin","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-09-11T10:56:39Z","message":"[Fleet] Show snapshot version in agent upgrade modal + allow custom values (but not in serverless) (#165978)\n\nCo-authored-by: Kibana Machine <[email protected]>","sha":"238428076cd07994d843f798d51238fbdbc2cf53","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:prev-minor","v8.11.0"],"number":165978,"url":"https://github.com/elastic/kibana/pull/165978","mergeCommit":{"message":"[Fleet] Show snapshot version in agent upgrade modal + allow custom values (but not in serverless) (#165978)\n\nCo-authored-by: Kibana Machine <[email protected]>","sha":"238428076cd07994d843f798d51238fbdbc2cf53"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165978","number":165978,"mergeCommit":{"message":"[Fleet] Show snapshot version in agent upgrade modal + allow custom values (but not in serverless) (#165978)\n\nCo-authored-by: Kibana Machine <[email protected]>","sha":"238428076cd07994d843f798d51238fbdbc2cf53"}}]}] BACKPORT-->
Summary
Closes #139174
Snapshot kibana default version now includes snapshot
![Screenshot 2023-09-07 at 14 54 35](https://private-user-images.githubusercontent.com/3315046/266339739-da9dce0c-4939-4af7-9682-0d12907e495a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNDAzNDYsIm5iZiI6MTczOTE0MDA0NiwicGF0aCI6Ii8zMzE1MDQ2LzI2NjMzOTczOS1kYTlkY2UwYy00OTM5LTRhZjctOTY4Mi0wZDEyOTA3ZTQ5NWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMjIyNzI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWEyNDgxZjIzYWNlM2Y0MjQxOWRkZWI2ZWZlZGM4NmM5YTdkMDgyYzA3OGI3OGRiOTIzZWI3MmY5NzE3NTllZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.WeVK95xXNdFf9njTAm_Gh3zxWIoMGRz8zeL7n5Z5fFU)
Serverless (custom option not allowed)
![Screenshot 2023-09-07 at 14 43 14](https://private-user-images.githubusercontent.com/3315046/266339227-18ab3b1a-d3fc-41c8-8758-ec587738e3be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNDAzNDYsIm5iZiI6MTczOTE0MDA0NiwicGF0aCI6Ii8zMzE1MDQ2LzI2NjMzOTIyNy0xOGFiM2IxYS1kM2ZjLTQxYzgtODc1OC1lYzU4NzczOGUzYmUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMjIyNzI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGM2M2M5Y2Y5YTYzOWRhNGRkNzE4OTFhYThkMzE3OWExNGQxOGEwZWMwYmE1MDQzYjQwYzdkOTkyYWU5MzM5ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.H703Y-CnTmxJ6UVr4xEnn3U8aR3NhU5BJKfOpMwCbJI)
Non-serverless (custom option allowed)
![Screenshot 2023-09-07 at 14 40 32](https://private-user-images.githubusercontent.com/3315046/266339335-23e04213-3c32-451f-8e8f-ab7df7db4333.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNDAzNDYsIm5iZiI6MTczOTE0MDA0NiwicGF0aCI6Ii8zMzE1MDQ2LzI2NjMzOTMzNS0yM2UwNDIxMy0zYzMyLTQ1MWYtOGU4Zi1hYjdkZjdkYjQzMzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDlUMjIyNzI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTg3Y2M0NzYxM2RlNjA0YzdmZTNhNTkzNmI1NDBmZWRiYjNmNDg0MDNhZGI1MmYxMGQ3ZTdiZDg0YWE5MGU5ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.65yhY8FCktYwdo-L4X9oZ79oJBjxOhXbBDMGm3Frzlc)