Verify that backwards-compatibility versions are in sync across branches in CI
#2,533 opened on 2022年3月21日
Repository metrics
- Stars
- (8,123 stars)
- PR merge metrics
- (平均マージ 5d 9h) (30d で 266 merged PRs)
説明
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