opensearch-project/OpenSearch

Verify that backwards-compatibility versions are in sync across branches in CI

Open

#2,533 opened on Mar 21, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (1,505 forks)batch import
Build Libraries & Interfacesenhancementgood first issuehacktoberfest

Repository metrics

Stars
 (8,123 stars)
PR merge metrics
 (Avg merge 5d 9h) (266 merged PRs in 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.

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

Contributor guide