You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature/add agent version to installation directory name (#4193)
* Use package manifest for install (#4173)
* use version in path for rpm and deb
* install elastic-agent remapping paths
* Use package manifests for upgrade (#4174)
* map paths when upgrading using .tar.gz packages
* use structured output from unpack to identify old and new agents directories
* copy state directories and rotate symlink correctly
* Support version in watcher cleanup rollback (#4176)
* extract directory paths to allow unit testing (instead of nested paths.* calls)
* introduce tests for watcher cleanup and rollback
* close data directory after cleanup
* Reintroduce upgrade version check (#4177)
* Fix shutdownCallback() directories
* reintroduce version check in upgrade
* Use watcher that supports paths in update marker (#4178)
* Invoke agent watcher capable of handling new paths
* Adapt TestShutdownCallback to run multiple testcases
* Fix shutdownCallback to work with version in path
* Fix MacOS relink step
* Add commit hash to manifest
* document manifest-aware upgrade
---------
Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
* small fixes based on PR feedback
* Add wait for watcher (#4229)
* Fix rollbackInstall order of execution and handle errors
* Add wait for watcher up and running
---------
Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
assert.Equal(t, v1.VERSION, m.Version, "manifest specifies wrong api version")
221
221
222
+
assert.NotEmpty(t, m.Package.Version, "manifest version must not be empty")
223
+
assert.NotEmpty(t, m.Package.Hash, "manifest hash must not be empty")
224
+
222
225
ifassert.NotEmpty(t, m.Package.PathMappings, "path mappings in manifest are empty") {
223
226
versionedHome:=m.Package.VersionedHome
224
227
assert.DirExistsf(t, filepath.Join(extractedPackageDir, versionedHome), "versionedHome directory %q not found in %q", versionedHome, extractedPackageDir)
0 commit comments