Skip to content

Commit

Permalink
Disable BWC checks. (#130)
Browse files Browse the repository at this point in the history
As part of this PR, we are disabling the BWC checks. Once we have finalized the versions for the fork, we can re-enable it with right configurations.

Relates #105

Signed-off-by: Rabi Panda <[email protected]>
  • Loading branch information
Rabi Panda authored Feb 24, 2021
1 parent 5515b07 commit fba2d4c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,8 @@ tasks.register("verifyVersions") {
*/

boolean bwc_tests_enabled = false
String bwc_tests_disabled_issue = "" /* place a PR link here when committing bwc changes */
if (project.findProperty("bwc_tests_enabled") != null) {
bwc_tests_enabled = Boolean.parseBoolean(project.findProperty("bwc_tests_enabled"))
bwc_tests_disabled_issue = "Backward compatibility tests disabled via commandline"
}

/* place a PR link here when committing bwc changes */
final String bwc_tests_disabled_issue = "https://github.com/opendistro-for-elasticsearch/search/issues/105"
if (bwc_tests_enabled == false) {
if (bwc_tests_disabled_issue.isEmpty()) {
throw new GradleException("bwc_tests_disabled_issue must be set when bwc_tests_enabled == false")
Expand Down

0 comments on commit fba2d4c

Please sign in to comment.