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

Handle new archive structure in Upgrade handler #1386

Closed
michalpristas opened this issue Sep 30, 2022 · 1 comment
Closed

Handle new archive structure in Upgrade handler #1386

michalpristas opened this issue Sep 30, 2022 · 1 comment
Labels
bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.6.0

Comments

@michalpristas
Copy link
Contributor

PR #714 introduced a new archive structure which prevents performing upgrades with the current upgrade code

Upgrade handler needs to be able to detect type of the target where /Library/Elastic/Agent/elastic-agent links to

It's either a binary and linking is fine as it is
or it's *.app and we need to link binary buried inside this directory at elastic-agent.app/Contents/MacOS/{{.BeatName}}{{.BinaryExt}}

This change needs to be backported to 8.5 so it can handle updated packages from 8.6

@michalpristas
Copy link
Contributor Author

closing in favor of #1389

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team v8.6.0
Projects
None yet
Development

No branches or pull requests

1 participant