Verify that backwards-compatibility versions are in sync across branches in CI
#2.533 aberto em 21 de mar. de 2022
Métricas do repositório
- Stars
- (8.123 stars)
- Métricas de merge de PR
- (Mesclagem média 5d 9h) (266 fundiu PRs em 30d)
Description
Is your feature request related to a problem? Please describe.
When incrementing a version for OpenSearch we have to update multiple files across multiple branches.
- https://github.com/opensearch-project/OpenSearch/blob/main/.ci/bwcVersions
- https://github.com/opensearch-project/OpenSearch/blob/main/buildSrc/version.properties
- https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/Version.java
These enable backwards-compatibility testing across multiple versions.
The process has been automated (https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/version.yml), however it's brittle. It's also easy to make a mistake when making an unrelated change. As an example,. https://github.com/opensearch-project/OpenSearch/pull/2430 has fixed one of those mistakes.
Describe the solution you'd like Check version, constants and bcw versions in CI.
Additional context Discussed in https://github.com/opensearch-project/OpenSearch/pull/2532#issuecomment-1074251240