integrationservertest: BC testing
Current tests do not involve build-candidates. The main issue is that we have no automated way of knowing when a BC version is available.
Investigate automating BC version retrieval and add BC tests. The BC test should be similar to what we are already doing with SNAPSHOTs, and test upgrade from previous minor.
After talking to robots team, it seems we can poll this API to get the available BCs:
curl -s https://artifacts.elastic.co/releases/<some_string>/future-releases/stack.json |
jq '.releases[] |
select(.active_release == true) | del(.snapshots) | del(.responsible) | select((.build_candidates | length) > 0)'
@raultorrecilla this task should be scheduled and implemented before removing the BC tests from the current bash script setup.
Will do some more probing on this task for now, since I don't have too much on the plate currently. It would be good to have this up ASAP so we don't miss out on BC testing.