-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Agent] Fix installers (#17077) #18299
Conversation
[Agent] Fix installers for snapshots (elastic#17077)
Pinging @elastic/ingest-management (Team:Ingest Management) |
💔 Build FailedExpand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
💚 Build SucceededExpand to view the summary
Build stats
Test stats 🧪
|
What does this PR do?
This PR changes installers in two ways
SNAPSHOT handling
for now turned on by default, if we want to enable it only for snapshot agent we need to modify build to set flag at build time and then enable snapshot installer afterwards
windows refactor
install step on windows was not working properly, while we were unzipping we were creating one additional directory layer, this is now removed.
Small config change
Default configs are not using 9300 endpoint for ES from now on
Why is it important?
To simplify use case when running from snapshot and entire windows flow
Checklist
How to test this PR locally
Scenario 1
run
SNAPSHOT=true mage package
to build snapshot packageunpack it somewhere locally and try if it runs with no changes to config
Scenario 2
Same as 1 but on windows, windows was broken even for non SNAPSHOT packages.