Current upgrade paths are defined manually in the YAML. We can instead automate it by querying active versions API, and selecting previous versions (with some strategy?) for upgrade paths. This will work similarly to the BC testing: https://github.com/elastic/apm-server/blob/main/.github/workflows/integration-server-test.yml#L77.