Add the full version number to the installation directory name #2579
Closed
Description
Dependencies
- Blocked by When upgrading, the elastic-agent watch command should be invoked using the new agent binary #2873
- Blocked by Report the version from the elastic agent package instead of agent binary #2582
- Blocked by ttps://github.com/The division of responsibility between agent versions during an upgrade is incorrect #3639
Issue
We need the full version number of agent to be present in the directory we install into. This is necessary for changing how we release agent.
Suggested solution
Add the full version number to the installation directory name.
Example:
data/
└── elastic-agent-7ac68h-8.8.1
└── elastic-agent-7ac68h-8.8.1.er1
Definition of done
- Installation directory now includes the full version number.
- Add a new integration test here to validate that installation directory is the correct one.