Open ruflin opened 3 years ago
@cachedout I am not sure if we should move this issue to other repo
@kuisathaverat Which repo were you thinking of?
@cachedout I am not sure, the issue is related to the e2e framework, we have deprecated it so if we plan to do something about upgrades testing we should move it to the robots repo or oblt clusters. An upgrade test is pretty straightforward, the only part to implement is the verifications we want to put in place.
Fleet has many movable parts and it is tricky to test all upgrade scenarios manually. The most common upgrade scenario likely looks as following:
But it could well be, that the packages are upgraded before fleet-server or Elastic Agent is upgrade. It would be nice to have multiple upgrade scenarios where the exact versions before and after the migration of the different components can be passed in to see if it works e2e. I'll use the system package as the example below as it is the one I think we should test first.
Scenario
Every version above could be replaced through a variable. It would be nice if the setup would allow to pass in the variables to run. This would make it very easy to reproduce a certain scenario where a bug has been reported.
There are also variations to the above scenario